These instructions will help in installing Obseron 3 with a GUI on a CentOS 8 platform. Obseron 3 with a GUI will work as a viewing client and as a recorder. Installation may differ from the instructions due to different hardware used for servers. There are only a few mandatory steps, but all the suggested steps are very useful. These instructions should not be followed blindly but adjusted to fit your hardware (such as GPU and drivers for it).
CentOS 8 Stream GNOME Desktop
Alternatively a binary compatible distribution such as AlmaLinux 8
2. Partitions and installation
The following partition table is a suggestion on how to partition your system when you have a single 1TB hard disk.
|/||25||ext4||(OS root directory)|
|/home||50||ext4||(Users home directory, Gallery and configs will be stored here)|
|/var/lib/obseron3/capture/d||100||ext4||(This partition is for the database)|
|/var/lib/obseron3/capture/e||"Use all remaining space"||ext4||(This is for the actual recordings)|
After the OS installation, add a new user (for example "obseron3") and log in.
3. Installing Obseron 3
To install Obseron 3, open up a terminal and elevate your privileges to root.
[obseron@localhost ~]$ su -
#(Install Obseron 3 repository)
rpm -Uvh http://packages.ksenos.fi/centos/8/x86_64/ksenos-release-0.1-3.noarch.rpm
#(Install Obseron 3)
yum -y install obseron3-gui
#(Set privileges for recording space for user "obseron3")
chown -R obseron3:obseron3 /var/lib/obseron3/capture
After the installation is completed, you can close the terminal and open Obseron 3. Next all you need to do is enter a product key, configure recording spaces from the Obseron settings, and start adding cameras. These are all described in the Obseron Quickstart Guide.
4. Suggested configurations and additional software
4.1 Update all packages. (root access required)
yum -y update
4.2 Install additional repository for the packages in later suggestions. (root access required)
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
yum -y install epel-release
rpm -Uvh https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
4.3 Install VLC media player to play back video clips. (root access required)
yum -y install vlc
4.4 If your system has an NVIDIA GPU, you need to install NVIDIA drivers. The following command will first detect the correct driver and then install it. (root access required)
yum -y install nvidia-detect && yum -y install $(nvidia-detect)
4.5 Set automatic OS login for your user (in this example "obseron"). (root access required)
Edit or add the following lines under [daemon] section.
4.6 Disable some selected system services or configure them. (root access required)
#(Firewall, configure it to open ports for web (80) and server (9191))
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=9191/tcp --permanent
#(Firewall, or disable it)
chkconfig firewalld off
#(kdump is for creating a crash dump from kernel crashes)
chkconfig kdump off
#(PackageKit is an auto-updater for CentOS and should be removed to avoid unexpected restarts)
yum -y remove PackageKit
4.7 Increase the maximum number of open file handles. Too many open file handles have caused some systems to malfunction when the default lower value is used. (root access required)
Add the following lines at the end of the file.
obseron3 soft nofile 10000
obseron3 hard nofile 10000
4.8 Set desktop attributes like the screensaver and automatic locking for the user.
First exit from elevated privileges.
[root@localhost ~]# exit
Then type the following commands as a normal user.
#(Disable screen shield/blank screen and screen locking)
gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.desktop.lockdown disable-lock-screen true
Reboot is also suggested after all of these changes. Before rebooting, make sure to doublecheck your NVIDIA driver (if you installed it) is the correct one.
Obseron can be manually started from the Applications -> Sound & Video menu.