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
`
**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
`
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