Changes
Page history
Update Post Install Setup
authored
Nov 16, 2023
by
Erik von Reis
Show whitespace changes
Inline
Side-by-side
Post-Install-Setup.md
View page @
e918fdfb
...
@@ -90,7 +90,7 @@ export site=x1
...
@@ -90,7 +90,7 @@ export site=x1
```
```
```
plaintext
```
plaintext
mkdir -p /opt/rtcds/$site/$ifo/chans/daq
mkdir -p /opt/rtcds/$site/$ifo/chans/daq
/archive
mkdir -p /opt/rtcds/$site/$ifo/log
mkdir -p /opt/rtcds/$site/$ifo/log
mkdir -p /opt/rtcds/$site/$ifo/scripts
mkdir -p /opt/rtcds/$site/$ifo/scripts
mkdir -p /opt/rtcds/$site/$ifo/chans/tmp
mkdir -p /opt/rtcds/$site/$ifo/chans/tmp
...
@@ -162,8 +162,19 @@ Now clone the repo
...
@@ -162,8 +162,19 @@ Now clone the repo
controls@x2fec /opt/rtcds/rtscore $ git clone https://git.ligo.org/cds/advligorts
controls@x2fec /opt/rtcds/rtscore $ git clone https://git.ligo.org/cds/advligorts
controls@x2fec /opt/rtcds/rtscore $ ln -s advligorts release
controls@x2fec /opt/rtcds/rtscore $ ln -s advligorts release
```
```
# Setup Environment variables
## lowercase vars
# Set RCG_LIB_PATH
At the top of
```/etc/advligorts/env```
, make sure lowercase vars
```ifo```
and
```site```
are set as in this example:
```
IFO=TST
SITE=X1
ifo=tst
site=x1
```
## Set RCG_LIB_PATH
You will also need to set the RCG_LIB_PATH environment variable for the controls user. This can be set in
```/etc/advligorts/env```
You will also need to set the RCG_LIB_PATH environment variable for the controls user. This can be set in
```/etc/advligorts/env```
with the following addition.
with the following addition.
...
@@ -185,6 +196,18 @@ fi
...
@@ -185,6 +196,18 @@ fi
export RCG_LIB_PATH=${USERAPPS_LIB_PATH:-$RCG_LIB_PATH}
export RCG_LIB_PATH=${USERAPPS_LIB_PATH:-$RCG_LIB_PATH}
```
```
## add environment to controls bashrc
At the top of
```/home/controls/.bashrc```
add
```
if [ -e /etc/advligorts/env ]; then
source /etc/advligorts/env
fi
```
# finish user groups
Add the controls user to the advligorts group and vice versa
Add the controls user to the advligorts group and vice versa
```
plaintext
```
plaintext
...
...
...
...