These instructions will help in installing Obseron 3 Daemon on a CentOS 7 platform. The Daemon version will run as a service only, and is accessible via WebUI or remote connection. 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.
CentOS 7 Minimal installation (64-bit required)
2. CentOS partitions and installation
The following partition table is a suggestion on how to partition your system when you have a single 1TB hard disk.
|/||10||ext4||(OS root directory)|
|/var/lib/obseron3||10||ext4||(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 beginning the installation, set the root password but do not create a user.
After the CentOS installation, log in as root user and you will land on a console view.
3. Installing Obseron 3
To install Obseron 3 you will first need to install the repository, then the Obseron 3 packages.
#(Install Obseron 3 repository)
rpm -Uvh http://packages.ksenos.fi/centos/7/x86_64/ksenos-release-0.1-3.noarch.rpm
#(Install Obseron 3)
yum -y install obseron3-daemon
#(Set privileges for recording space and config folders for user "obseron3")
chown -R obseron3:obseron3 /var/lib/obseron3/
After the installation you should reboot the system. Then once the system is up and running again, connect to its IP address on a browser to get to the configuration page. Next all you need to do is enter a product key, configure recording spaces and start adding cameras. These are all described in the Obseron Installers guide.
4. Suggested configurations and additional software
4.1 Update all packages.
yum -y update
4.2 Install additional repository for the packages in later suggestions.
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
yum -y install epel-release
4.3 Install additional programs. "Minimal installation" of CentOS does not include some useful Basic packages so these are installed manually.
yum -y install nano net-tools ntpdate ntp smartmontools wget
|nano||CLI text editor|
|net-tools||Network tools for CLI|
|ntpdate||Manual tool for internet time|
|ntp||Server and client for internet time|
|smartmontools||Tool for reading SMART data from hard disks|
|wget||Tool for retrieving files using HTTP|
4.4 You can access the system settings through the Obseron settings using a separate webmin-obseron add-on.
yum -y install webmin-obseron
4.5 Disable some selected system services or configure them.
#(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
4.6 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.
Add the following lines at the end of the file.
obseron3 soft nofile 10000
obseron3 hard nofile 10000
CTRL + O will save the file, CTRL + X will exit the program.
4.7 To manually start, stop or restart the process
service obseron3d start
service obseron3d restart
service obseron3d stop
Reboot is also suggested after all of these changes. To get all the services running correctly, a reboot is mandatory.