|
Quick Installation |
[Table of Contents] [Previous] [Next] |
|
0. Untar the distribution within a temp directory. It will create a sella_nms-0.3.0 directory. Several examples follow:
For .tar.gz files: tar xvzf sella_nms-0.3.0.tar.gz -or- zcat sella_nms-0.3.0.tar.gz | tar xvf -
For .tar.bz2 files: tar xvIf sella_nms-0.3.0.tar.bz2 -or- tar xvf sella_nms-0.3.0.tar.bz2 --with-compress-program=bzip2 -or- bzcat sella_nms-0.3.0.tar.bz2 | tar xvf -
1. Run './configure' in the sella_nms directory (you may need extra flags).
cd sella_nms-0.3.0
./configure
2. Run 'make all', then 'make install' as root.
make all su -c 'make install'
3. Setup sella_nms MySQL database. (Assuming database name of 'sella_nms'.)
mysql -u root -p sella_nms < docs/sella_nms-mysql.sql
4. Open and edit sella_nms.conf. Configure as needed. Most options are described to the right of the option.
vi /usr/local/sella_nms/etc/sella_nms.conf -or- emacs
/usr/local/sella_nms/etc/sella_nms.conf
The options that *must* be changed are the 'prefix' section and the 'storage' section. The sella_nms.conf file is described in detail later in this file.
5. Start up the Sella NMS daemon.
cd /usr/local/sella_nms/sbin ./sella_nms
The servers log files (usually /var/log/messages) will contain output from the daemon. Optionally, the daemon can be started in the foreground for easier of log messages like so:
./sella_nms -f
6. Edit config.php in the html directory. Setting the database options as needed.
cd /usr/local/sella_nms/html vi config.php -or- emacs config.php
7. Configure web server to serve up Sella NMS Web GUI.
For Apache, set your 'DocumentRoot' and 'DirectoryIndex' within your httpd.conf as follows:
DocumentRoot "/usr/local/sella_nms/html" DirectoryIndex index.php index.html
This configuration assumes that you have Apache working wi
th PHP already, and are only using this web server for Sella NMS. Optionally, you could symlink '/usr/local/sella_nms/html' to your 'htdocs' directory or setup a virtual server.
8. Test by viewing the Web GUI in your browser.
It may take several minutes for the Web GUI to begin displaying content. The sella_nms daemon needs to discover your network and begin monitoring it.
|
|
[Table of Contents] [Previous] [Next] |
|