Installing Cacti On Oracle Linux

cacti

Just test and installing Cacti on Oracle Linux 6.4
Before you go ahead installing cacti on your linux distrubition, there are some requirement to fullfill.

Cacti required :
1. AMP : Apache, Mysql, PHP
2. Some packages : RRDTool, net-snmp

Assumming your AMP is running, and we can go ahead to next steps.

1. Downloding latest cacti
http://www.cacti.net/download_cacti.php

2. Extract it into your http web folder, in linux tipically : /var/www/html

3. prepare database to be used by cacti:
– login mysql and create database and cacti user and grant it with following sql command:

CREATE USER 'cacti'@'localhost' IDENTIFIED BY '***';GRANT USAGE ON *.* TO 'cacti'@'localhost' IDENTIFIED BY '***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;CREATE DATABASE IF NOT EXISTS `cacti`;

 

GRANT ALL PRIVILEGES ON `cacti`.* TO 'cacti'@'localhost';

4. Import default cacti database with cacti.sql
you can get file “cacti.sql” inside your cacti folder that you just extracted.

[root@localhost cacti]# pwd
/var/www/html/cacti
[root@localhost cacti]# ls -l cacti.sql
-rw-r--r-- 1 1000 users 178349 Aug  7 09:31 cacti.sql
[root@localhost cacti]#
[root@localhost cacti]# mysql -u root -p cacti < cacti.sql

5. Open your browser to install cacti. http://localhost/cacti
and follow the instruction.

Screenshot

viola.. installation is done. now you can login with default usernam and password :
username : admin
password : admin

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s