Changes
Page history
Update Post Install Setup
authored
Nov 16, 2023
by
Erik von Reis
Hide whitespace changes
Inline
Side-by-side
Post-Install-Setup.md
View page @
21fc7b7c
...
...
@@ -2,6 +2,41 @@ This document will instruct the user on the post install setup of a Debian 10 Fr
**For this documentation, our front end computer will be named ‘x2fec’**
# Update /etc/apt/sources.list
If there is a line trying to read packages from a DVD or CD, comment it out.
If these lines don't exist, add them
For bullseye:
```
deb http://deb.debian.org/debian/ bullseye main
deb http://deb.debian.org/debian/ bullseye-updates main
```
For buster:
```
deb http://deb.debian.org/debian/ buster main
```
# update package
Run the following:
```
apt-get update
```
All sources should load without error.
If there are any packages that need updating, update with
```
apt-get dist-upgrade
```
# Create 'controls' user and group
Log into the new front end as root. At the command line, type the following as root:
...
...
@@ -128,23 +163,32 @@ controls@x2fec /opt/rtcds/rtscore $ git clone https://git.ligo.org/cds/advligort
controls@x2fec /opt/rtcds/rtscore $ ln -s advligorts release
```
You will also need to set the RCG_LIB_PATH environment variable for the controls user. This can be set in
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.
```
plaintext
/etc/advligorts/env
```
with the follwing addition.
# LIGO site environment files with hand-curated model paths
if [ $BASH_VERSION ] ; then
if [ -e /opt/rtcds/userapps/release/etc/userapps-user-env.sh ] ; then
source /opt/rtcds/userapps/release/etc/userapps-user-env.sh
fi
fi
```
plaintext
# Prefer USERAPPS_LIB_PATH for user model paths.
# LIGO sites use USERAPPS_LIB_PATH
# but fall back on RCG_LIB_PATH if USERAPPS_LIB_PATH
# is undefined
export RCG_LIB_PATH=${USERAPPS_LIB_PATH:-$RCG_LIB_PATH}
```
Add the controls user to the advligorts group and vice versa
```
plaintext
controls@x2fec:/ $
sudo usermod -a -G advligorts controls
controls@x2fec:/ $
sudo usermod -a -G controls advligorts
sudo usermod -a -G advligorts controls
sudo usermod -a -G controls advligorts
```
# Install userapps
...
...
...
...