Prerequisite
- PHP
- MySQL - Create a catalog for nconf. (e.g. catalog=nconf, username=nconf, password=nconf)
- Get the file from NConf
- Assume your document root is /var/www
> tar xvfz nconf-1.2.5-0.tgz
> cp nconf /var/www
> Go to http://localhost/nconf and follow the steps
Should have folder authentication problem when generate the config. Following steps solve the problem:
> sudo vigr
# Add the user www-data to group nagios
nagios:x:1002:nagios,www-data
> sudo chmod g+w -R nagios
> sudo chown www-data:nagios /var/www/nconf
> restart apache
- Done
No comments:
Post a Comment