Size: 2312
Comment:
|
Size: 3173
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
* The following should be performed as the `root` user | '''The following should be performed as the `root` user''' |
Line 9: | Line 9: |
* Add Debian repositories as [here](https://wiki.debian.org/SourcesList#A.2Fetc.2Fapt.2Fsources.list) | * Add Debian repositories as [[https://wiki.debian.org/SourcesList#A.2Fetc.2Fapt.2Fsources.list|here]] |
Line 13: | Line 13: |
{{{ apt-get update apt-get install openssh-server systemctl start ssh }}} |
{{{#!highlight bash apt-get update apt-get install openssh-server systemctl start ssh }}} |
Line 21: | Line 21: |
{{{ apt-get install apache2 a2enmod userdir systemctl restart apache2 }}} |
{{{#!highlight bash apt-get install apache2 a2enmod userdir systemctl restart apache2 }}} |
Line 29: | Line 29: |
{{{ <IfModule mod_userdir.c> ... <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes AllowOverride ... </Directory> </IfModule> }}} |
{{{#!highlight xml <IfModule mod_userdir.c> ... <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes AllowOverride ... </Directory> </IfModule> }}} |
Line 39: | Line 39: |
* 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 [[https://wiki.ligo.org/Computing/DASWG/DebianJessie?redirectedfrom=Computing/DASWG.SoftwareOnDebian#Configure_Repositories|here]], and install keyring to trust: |
Line 41: | Line 41: |
{{{ apt-get install lscsoft-archive-keyring }}} |
{{{#!highlight bash apt-get install lscsoft-archive-keyring }}} |
Line 47: | Line 47: |
{{{ apt-get install \ git \ python-pip \ python-virtualenv \ python-nds2-client \ lal-python \ ldas-tools-framecpp-python \ python-gwpy }}} |
{{{#!highlight bash apt-get install \ git \ python-pip \ python-virtualenv \ python-nds2-client \ lal-python \ ldas-tools-framecpp-python \ python-gwpy \ lalapps }}} |
Line 64: | Line 65: |
{{{ python -m virtualenv ~/opt/summary-2.7 --system-site-packages }}} |
{{{#!highlight bash python -m virtualenv ~/opt/summary-2.7 --system-site-packages }}} |
Line 70: | Line 71: |
{{{ source ~/opt/summary-2.7/bin/activate }}} |
{{{#!highlight bash source ~/opt/summary-2.7/bin/activate }}} |
Line 76: | Line 77: |
{{{ python -m pip install \ "gwpy>=0.12.0" git+https://github.com/gwpy/gwsumm.git }}} |
{{{#!highlight bash python -m pip install \ "gwpy>=0.12.0" git+https://github.com/gwpy/gwsumm.git }}} == Automation setup == * Install `HTCondor`: {{{#!highlight bash apt-get install htcondor }}} === Automation notes === The automation is handled using HTCondor's timescheduling system. * If the Condor queue is empty, you need to restart the scheduled jobs: {{{#!highlight bash cd /home/controls/etc/summary/condor condor_submit gw_daily_summary_kagra.sub condor_submit gw_daily_summary_rerun_kagra.sub }}} these jobs will persist in the Condor queue. If the persistens jobs are held, '''you cannot `condor_release` them''', you must `condor_rm` and `condor_submit` again. For any other jobs (`gw_summary`), `condor_release` works fine |
Line 83: | Line 106: |
=== After Installation === |
== After Installation == |
Installation of KAGRA summary pages
- Writer : Duncan
ROOT set up
The following should be performed as the root user
Add Debian repositories as here
Install ssh-server:
- Install Apache (for web server):
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:
Add LIGO Debian repositories as here, and install keyring to trust:
1 apt-get install lscsoft-archive-keyring
- Installed basic dependencies:
Summary pages setup
The following is performed as the controls user
- Set up a virtualenv for the summary page code:
1 python -m virtualenv ~/opt/summary-2.7 --system-site-packages
- Activate the virtualenv to enter that environment:
1 source ~/opt/summary-2.7/bin/activate
- And then install everything we need:
Automation setup
Install HTCondor:
1 apt-get install htcondor
Automation notes
The automation is handled using HTCondor's timescheduling system.
- If the Condor queue is empty, you need to restart the scheduled jobs:
these jobs will persist in the Condor queue. If the persistens jobs are held, you cannot condor_release them, you must condor_rm and condor_submit again. For any other jobs (gw_summary), condor_release works fine
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