Update Installation instructions authored by Nikolai.Hartmann's avatar Nikolai.Hartmann
# Install packages on debian host system # Install packages on debian host system
```bash ```bash
apt install acl dnf rpm git systemd-container rsync voms-clients apt install acl dnf rpm git systemd-container rsync voms-clients
# (possibly rpm is not needed for manual image building)
``` ```
# Clone git and checkout config files # Clone git and checkout config files
...@@ -58,9 +59,11 @@ groupmod -g $XRD_GID_HOST xrootd ...@@ -58,9 +59,11 @@ groupmod -g $XRD_GID_HOST xrootd
# Directories for bind mounts # Directories for bind mounts
Create directories for bind mounts and make them owned by xrootd where nescessary. Here one needs to check that the data directory is the correct path (e.g. the path where the raid system is mounted) and possibly adjust the bind mount in `/etc/systemd/nspawn/xcache.nspawn` Create directories for bind mounts and make them owned by xrootd where nescessary. Here one needs to check that the data directory is the correct path (e.g. the path where the raid system is mounted) and possibly adjust the bind mount in `/etc/systemd/nspawn/xcache.nspawn`
Note: Assuming the data directories are under `/srv/xache` and are as configured in `/etc/xrootd/xcache.cfg`
```bash ```bash
mkdir -p /var/spool/xrootd /var/run/xrootd /srv/data/xrootd/namespace /srv/data/xrootd/xrdcinfos /srv/data/xrootd/data mkdir -p /var/spool/xrootd /var/run/xrootd /srv/xcache/namespace /srv/xcache/xrdcinfos
chown xrootd:xrootd /var/spool/xrootd /var/run/xrootd /srv/data/xrootd/namespace /srv/data/xrootd/xrdcinfos /srv/data/xrootd/data chown -R xrootd:xrootd /var/spool/xrootd /var/run/xrootd /srv/xcache
# if not existing # if not existing
mkdir -p /etc/grid-security mkdir -p /etc/grid-security
... ...
......