Install SENSR on Red Hat
Overview
SENSR is compatible with Red Hat 8 to ensure better maintainability in particular at critical facilities. This section describes how to deploy SENSR in such an environment.
Prerequisites
- Replace podman by docker
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
#This will install docker engine & remove any conflicting packages like podman & libraries
sudo yum install -y docker-ce docker-ce-cli containerd docker-buildx-plugin docker-compose-plugin --allowerasing
sudo systemctl enable docker
sudo systemctl restart docker
- Add ACL rules for docker and kubernetes
sudo firewall-cmd --permanent --add-port=6443/tcp
sudo firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16
sudo firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16
sudo firewall-cmd --reload
- Install Nvidia-driver-535
- Ensure the system is up to date by running
sudo yum update -y
- Install development tools and kernel headers
sudo yum groupinstall "Development Tools" -y
sudo yum install kernel-devel kernel-headers -y
- Go to NVIDIA Driver Download page and download the driver version 535 for Linux.
- Prepare for the installation: Switch to a text-based login and stop the GUI to prevent conflicts during the driver installation
sudo systemctl set-default multi-user.target
sudo systemctl isolate multi-user.target
- Blacklist Nouveau driver: This will prevent it from loading to run the NVIDIA driver
sudo bash -c 'echo "blacklist nouveau" > /etc/modprobe.d/blacklist-nouveau.conf'
sudo bash -c 'echo "options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf'
- Regenerate the initial RAM filesystem to enact the changes:
sudo dracut --force
- Reboot:
sudo reboot
- Install the NVIDIA driver (follow the on-screen instructions to complete the installation):
cd /path/to/downloaded/driver
chmod +x NVIDIA-Linux-x86_64-535.XX.run
sudo ./NVIDIA-Linux-x86_64-535.XX.run
- Switch back to GUI
sudo systemctl set-default graphical.target
sudo systemctl isolate graphical.target
- Reboot:
sudo reboot
- Verify the installation by running
nvidia-smi
Install SR-Launcher
- Get the rpm package from your local FAE or request it through suppor@seoulrobotics.org
- Install the package:
sudo yum install ./sr-launcher-cli_<ver_number>_amd64.rpm
- Follow the instructions available in the manual to deploy SENSR.