beautypg.com

Installation, 3 centos – rpm packages – B&B Electronics R-SeeNet-5 - Manual User Manual

Page 19

background image

12

2. INSTALLATION



2.3 CentOS

– RPM packages

The first step is key importing. For this purpose use command rpm

–import klic.gpg.

Then install r-seenet-server-x.rpm package (it is a kernel monitoring) using this command: yum
localinstall r-seenet-server-x.rpm. When you first install this package, the password is
automatically generated. After installation follow the instructions and insert the password to
the following file:

/usr/share/r-seenet/www/config.inc.php do parametru DB_PASS

You can also find the password in this file: /etc/snmpmon.ini.

After you have installed the kernel, run SQL scripts which are written by installer on the

screen during installation of the r-seenet-server-x.rpm package. Commands to run scripts are
as follows:

mysql -uroot -f < /usr/share/r-seenet/r-seenet.sql

mysql -uroot -e "GRANT ALL PRIVILEGES ON snmpmon.* to SNMPMON@’%‘ identified

by

’password’"

mysql -uroot -e "GRANT ALL PRIVILEGES ON snmpmon.* to SNMPMON@’localhost’

identified by

’password’"

Attention! Instead of word password insert the real password, which is written by installer.

Otherwise insert the entire SQL query, which is written by installer on the screen.

The next step is the installation of package for the web application. For this purpose use

command yum localinstall r-seenet-php-frontend-x.rpm.

Important notes:

For the proper operation must be disabled SELINUX parameter in /etc/selinux/config file:

SELINUX=disabled

If the snmpmon service (mentioned kernel) doesn’t start, you must start it manually:

/etc/init.d/snmpmon start