Differences between revisions 11 and 12
Revision 11 as of 2018-10-17 13:02:39
Size: 2265
Comment:
Revision 12 as of 2018-10-17 13:03:10
Size: 2312
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

 * Writer : Duncan
Line 84: Line 86:
 * Writer : TYamamoto

Installation of KAGRA summary pages

  • Writer : Duncan

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

  • Writer : TYamamoto

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)