NCONF INSTALL

Nconf Installation

We need below applications to install nconf

1.Apache with php
2.Mysql server
3.Nconf tar file.

For apache and php installation follow below link.

https://hari2ulinux.com/apache/

Mysql server installation.

 #apt-get install mysql-server 

 

If you have console access, upload the uncompressed archive to your server and uncompress it there.

 #tar -zxvf nconf-VERSION.tgz  

Set permissions

Make sure the following directories are writable to your webserver user.

You can change permissions on the console

./config
./output
./static_cfg
./temp
3. Create the database

On the commandline, you would proceed like this:

 
 #mysql -u root -p
  Enter password:
  mysql> CREATE DATABASE DBNAME;
  mysql> GRANT ALL PRIVILEGES  ON DBNAME.* \
  TO 'DB_USER'@'localhost' IDENTIFIED BY 'DB_PASS';
  

Create the database structure

 #mysql -u DBUSER -p DBNAME < INSTALL/create_database.sql 

Configure NConf

Copy the contents of ./config.orig to ./config. Make sure you also copy the hidden files.

Edit ./config/mysql.php, set at least the following values:

1.DBHOST
2.DBNAME
3.DBUSER
4.DBPASS

Edit ./config/nconf.php, set at least the following values:

1.NCONFDIR
2.NAGIOS_BIN

Clean up

Remove the INSTALL and UPDATE folders, as well as the INSTALL.php and UPDATE.php scripts.

http://127.0.0.1:port/nconf

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s