sudo apt-get update
sudo apt-get full-upgrade
sudo apt-get install -y nfs-kernel-server lmod ansible slurm munge nmap \
nfs-common net-tools build-essential htop net-tools screen vim python3-pip \
dnsmasq slurm-wlm
Place the following into /etc/network/interfaces
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.5.101
netmask 255.255.255.0
source /etc/network/interfaces.d/*
If you want to connect to the internet
Run sudo raspi-config
, go to System Options, Wireless LAN and enter your SSID and password.
echo pixie001 | sudo tee -a /etc/hostname
/etc/dhcpd.conf
interface eth0
static ip_address=192.168.0.1/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
/etc/dnsmasq.conf
interface=eth0
bind-dynamic
domain-needed
bogus-priv
dhcp-range=192.168.0.1,192.168.0.100,255.255.255.0,12h
/etc/exports
/sharedfs 192.168.0.0/24(rw,sync,no_root_squash,no_subtree_check)
/modules 192.168.0.0/24(rw,sync,no_root_squash,no_subtree_check)
/etc/hosts
file should contain the following:127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 pixie001
192.168.0.2 pixie002
192.168.0.3 pixie003
192.168.0.4 pixie004
192.168.0.5 pixie005
mkdir essi
cd essi
wget https://raw.githubusercontent.com/EESSI/eessi-demo/main/scripts/install_cvmfs_eessi.sh
sudo bash ./install_cvmfs_eessi.sh
echo "source /cvmfs/software.eessi.io/versions/2023.06/init/bash" >> /etc/profile
sudo mkdir /sharedfs
sudo chown nobody.nogroup -R /sharedfs
sudo chmod 777 -R /sharedfs