Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2018-10-15 10:30:13
Size: 59
Comment:
Revision 11 as of 2018-10-17 13:02:39
Size: 2265
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe KAGRA/Subgroups/PEM/SummaryPage/k1sum0 here.
aa
= Installation of KAGRA summary pages =

== ROOT set up ==

 * The following should be performed as the `root` user

 * Add Debian repositories as [here](https://wiki.debian.org/SourcesList#A.2Fetc.2Fapt.2Fsources.list)

 * Install `ssh-server`:

{{{
apt-get update
apt-get install openssh-server
systemctl start ssh
}}}

 * Install Apache (for web server):

{{{
apt-get install apache2
a2enmod userdir
systemctl restart apache2
}}}

 * To enable `.htaccess` files within the `userdir` configuration for Apache, the `all` option was added to the `<Directory /home/*/public_html>` `AllowOverride` directive as follows:

{{{
<IfModule mod_userdir.c>
...
    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit Indexes AllowOverride
            ...
    </Directory>
</IfModule>
}}}

 * Add LIGO Debian repositories as [here]( https://wiki.ligo.org/Computing/DASWG/DebianJessie?redirectedfrom=Computing/DASWG.SoftwareOnDebian#Configure_Repositories), and install keyring to trust:

{{{
apt-get install lscsoft-archive-keyring
}}}

 * Installed basic dependencies:

{{{
apt-get install \
    git \
    python-pip \
    python-virtualenv \
    python-nds2-client \
    lal-python \
    ldas-tools-framecpp-python \
    python-gwpy
}}}

== Summary pages setup ==

 * The following is performed as the `controls` user

 * Set up a virtualenv for the summary page code:

{{{
python -m virtualenv ~/opt/summary-2.7 --system-site-packages
}}}

 * Activate the virtualenv to enter that environment:

{{{
source ~/opt/summary-2.7/bin/activate
}}}

 * And then install everything we need:

{{{
python -m pip install \
    "gwpy>=0.12.0"
    git+https://github.com/gwpy/gwsumm.git
}}}



=== After Installation ===

After the installation of gwpy and the daily-summary tools, TYo installed emacs.
{{{
> su
> apt-get install emacs
}}}


After the installation of gwpy and the daily-summary tools, TY installed sudo and nfs-common.
nfs-common is required we use nfs as the mount type on /etc/fstab.
{{{
> su -
> apt-get install sudo nfs-common
> emacs -nw /etc/fstab
k1nfs0:/export/users /users nfs rw,bg,soft 0 0
> mount -a
}}}

Installation of KAGRA summary pages

ROOT set up

apt-get update
apt-get install openssh-server
systemctl start ssh
  • Install Apache (for web server):

apt-get install apache2
a2enmod userdir
systemctl restart apache2
  • To enable .htaccess files within the userdir configuration for Apache, the all option was added to the <Directory /home/*/public_html> AllowOverride directive as follows:

<IfModule mod_userdir.c>
...
    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit Indexes AllowOverride
            ...
    </Directory>
</IfModule>

apt-get install lscsoft-archive-keyring
  • Installed basic dependencies:

apt-get install \
    git \
    python-pip \
    python-virtualenv \
    python-nds2-client \
    lal-python \
    ldas-tools-framecpp-python \
    python-gwpy

Summary pages setup

  • The following is performed as the controls user

  • Set up a virtualenv for the summary page code:

python -m virtualenv ~/opt/summary-2.7 --system-site-packages
  • Activate the virtualenv to enter that environment:

source ~/opt/summary-2.7/bin/activate
  • And then install everything we need:

python -m pip install \
    "gwpy>=0.12.0"
    git+https://github.com/gwpy/gwsumm.git

After Installation

After the installation of gwpy and the daily-summary tools, TYo installed emacs.

> su 
> apt-get install emacs

After the installation of gwpy and the daily-summary tools, TY installed sudo and nfs-common. nfs-common is required we use nfs as the mount type on /etc/fstab.

> su -
> apt-get install sudo nfs-common
> emacs -nw /etc/fstab
k1nfs0:/export/users       /users       nfs            rw,bg,soft  0 0
> mount -a

KAGRA/Subgroups/PEM/SummaryPage/k1sum0 (last edited 2018-10-19 16:01:29 by duncan.macleod)