Size: 2271
Comment:
|
Size: 2265
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Line 6: | Line 5: |
**The following should be performed as the `root` user** | * The following should be performed as the `root` user |
Line 8: | Line 7: |
Add Debian repositories as [here](https://wiki.debian.org/SourcesList#A.2Fetc.2Fapt.2Fsources.list) | * Add Debian repositories as [here](https://wiki.debian.org/SourcesList#A.2Fetc.2Fapt.2Fsources.list) |
Line 10: | Line 9: |
Install `ssh-server`: | * Install `ssh-server`: |
Line 12: | Line 11: |
```shell | {{{ |
Line 16: | Line 15: |
``` | }}} |
Line 18: | Line 17: |
Install Apache (for web server): | * Install Apache (for web server): |
Line 20: | Line 19: |
```shell | {{{ |
Line 24: | Line 23: |
``` | }}} |
Line 26: | Line 25: |
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: | * 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: |
Line 28: | Line 27: |
```xml | {{{ |
Line 36: | Line 35: |
``` | }}} |
Line 38: | Line 37: |
Add LIGO Debian repositories as [here]( https://wiki.ligo.org/Computing/DASWG/DebianJessie?redirectedfrom=Computing/DASWG.SoftwareOnDebian#Configure_Repositories), and install keyring to trust: | * Add LIGO Debian repositories as [here]( https://wiki.ligo.org/Computing/DASWG/DebianJessie?redirectedfrom=Computing/DASWG.SoftwareOnDebian#Configure_Repositories), and install keyring to trust: |
Line 40: | Line 39: |
``` | {{{ |
Line 42: | Line 41: |
``` | }}} |
Line 44: | Line 43: |
Installed basic dependencies: | * Installed basic dependencies: |
Line 46: | Line 45: |
```shell | {{{ |
Line 55: | Line 54: |
``` | }}} |
Line 57: | Line 56: |
## Summary pages setup | == Summary pages setup == |
Line 59: | Line 58: |
**The following is performed as the `controls` user** | * The following is performed as the `controls` user |
Line 61: | Line 60: |
Set up a virtualenv for the summary page code: | * Set up a virtualenv for the summary page code: |
Line 63: | Line 62: |
```shell | {{{ |
Line 65: | Line 64: |
``` | }}} |
Line 67: | Line 66: |
Activate the virtualenv to enter that environment: | * Activate the virtualenv to enter that environment: |
Line 69: | Line 68: |
```shell | {{{ |
Line 71: | Line 70: |
``` | }}} |
Line 73: | Line 72: |
And then install everything we need: | * And then install everything we need: |
Line 75: | Line 74: |
```shell | {{{ |
Line 79: | Line 78: |
``` | }}} |
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