Differences between revisions 9 and 10
Revision 9 as of 2018-10-16 17:55:57
Size: 502
Comment:
Revision 10 as of 2018-10-17 13:00:50
Size: 2271
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
* test
Line 3: Line 2:
* test = 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`:

```shell
apt-get update
apt-get install openssh-server
systemctl start ssh
```

Install Apache (for web server):

```shell
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:

```xml
<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:

```shell
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:

```shell
python -m virtualenv ~/opt/summary-2.7 --system-site-packages
```

Activate the virtualenv to enter that environment:

```shell
source ~/opt/summary-2.7/bin/activate
```

And then install everything we need:

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

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:

`shell apt-get update apt-get install openssh-server systemctl start ssh `

Install Apache (for web server):

`shell 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:

`xml <IfModule mod_userdir.c> ...

</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:

`shell apt-get install \

  • git \ python-pip \ python-virtualenv \ python-nds2-client \ lal-python \ ldas-tools-framecpp-python \ python-gwpy

`

**The following is performed as the controls user**

Set up a virtualenv for the summary page code:

`shell python -m virtualenv ~/opt/summary-2.7 --system-site-packages `

Activate the virtualenv to enter that environment:

`shell source ~/opt/summary-2.7/bin/activate `

And then install everything we need:

`shell python -m pip install \

`

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)