nsalive.blogg.se

How to install cacti on windows
How to install cacti on windows







~]# rpm -ql cacti | grep cacti.sql /usr/share/doc/cacti-0.8.8a/cacti.sql Issue the below command to import tables to cactidb ~]# mysql -u root -p cactidb < /usr/share/doc/cacti-0.8.8a/cacti.sql Step 13 » Now open /etc/cacti/db.php file and edit the below lines. Issue the below command to find the location of cacti.sql file. Step 12 » Now import cacti database tables from the file cacti.sql. ~]# rpm -ivh Step 11 » Install cacti through yum ~]# yum install cacti Configure cacti you can find latest EPEL repository rpm here ( ) Step 10 »Install the latest EPEL rpm. Install Cactiįor installing cacti through yum, you must enable EPEL repository.

how to install cacti on windows

Step 8 » Now start the snmp service ~]# chkconfig -level 235 snmpd on ~]# service snmpd start Step 9 » Issue the below command to test your snmp config ~]# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1 IP-MIB::ipAdEntIfIndex.192.168.1.10 = INTEGER: 2 You should able to get your ip details. ~]# mv /etc/snmp/nf ~]# touch /etc/snmp/nf Step 7 » Add the below lines to /etc/snmp/nf ( New file ). ~]# yum install net-snmp-utils php-snmp net-snmp-libs Step 6 » Rename the original nf file and create a new one.

how to install cacti on windows

Step 5 » Now install SNMP by typing the below command. ~]# mysql -u root -p mysql> create database cactidb Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL ON cactidb.* TO IDENTIFIED BY 'passwordcacti' Query OK, 0 rows affected (0.00 sec) mysql> quit Here “ usercacti” is the username and “ passwordcacti” is the password to access “ cactidb” database. ~]# /usr/bin/mysql_secure_installation Step 4 » Create new database “ cactidb” and username/password to access “ cactidb” database. ~]# mysqladmin -u root password 'newpassword' issue this command to secure your mysql database. Step 3 » Issue the below command to create mysql root password. ~]# yum install mysql-server mysql php php-mysql httpd Step 2 » Start mysql and apache service ~]# chkconfig -level 235 httpd on ~]# service httpd start ~]# chkconfig -level 235 mysqld on ~]# service mysqld start Setup mysql server

how to install cacti on windows

Step 1 » Issue the below command to install apache, php and mysql. you can also refer this post ( Installing Apache2, Mysql server and PHP on Centos 6 (LAMP)) for complete LAMP setup. Install cacti on centos 6.īefore installing cacti, first we need to setup apache with php, mysql and SNMP services. Cacti installation on centos requires LAMP setup and SNMP. Cacti uses PHP for front end, RRDTool for graphing and mysql for storage.

how to install cacti on windows

Cacti is one of best monitoring tool used to monitor network, CPU load, memory, Disk and other services.









How to install cacti on windows