* Once you have all the rpm’s downloaded install them using this command: rpm -i ‘filename’
If you run into problems installing the rpms you can do rpm -i –force ‘filename’ to force the install.
rpm -q file – will display the current version of the rpm installed. Rpm -e ‘filename’ will remove the rpm.
* Once all the rpms are install go ahead and unzip Cacti and RRDtool. Use the following command: tar -zxvf ‘filename’
5. Follow the instructions that come with RRDtool to install RRDtool.
6.Follow the instructions that come with Cacti to install Cacti.
* Create a new user account called ‘cactiuser’ on your box.
* Once you have RRDtool and cacti installed do the following:
a. Go into the directory where you have cacti – usually /var/www/html/cacti
b. Once there create the mysql database:
shell> mysqladmin –user=root create cacti
shell> mysql cacti mysql –uer=root mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY ‘somepassword’;
mysql> flush privileges;
* Edit the config.php file. Located in the cacti/include directory.
Change the database name, house, username, password as you specified above.
* As root change the permissions the /rra and /log Directories.
shell> chown cactiuser rra/ log/
* Change user to the user account cactiuser that you created in step 7.
* Create a crontab which will run the cmd.php every five mintues.
shell > crontab -e
Then press ‘insert’ on the keyboard – this allows you to type.
*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Then press ESC – this remove your typing capability.
press: Shift ZZ – this will save and exit the crontab.
*Point your web browser to and follow the directions:
Hi, this is a comment.
To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.
Vishal Vyas
Linux Administrator
what is a samba server
great job done man…
keep it up
Very Usefull Site
Nice>
Nice site to get the knowledge about linux… Good links provided.. Thanks vishal..
hi vishal
really this site is super and more informatic
i need ladp configuration in linux pls send to me
Your site is very useful for RHCE point of view..
thanks……………..
Hi sir
Your Site is fine and superb
You Looking very handsome..
wahhh sarkar wahhh…
carry on… gr8 work…
Hi,
Can you give step for cacti configuration.
Manish Soni
RHCE
Hi Manish
* Once you have all the rpm’s downloaded install them using this command: rpm -i ‘filename’
If you run into problems installing the rpms you can do rpm -i –force ‘filename’ to force the install.
rpm -q file – will display the current version of the rpm installed. Rpm -e ‘filename’ will remove the rpm.
* Once all the rpms are install go ahead and unzip Cacti and RRDtool. Use the following command: tar -zxvf ‘filename’
5. Follow the instructions that come with RRDtool to install RRDtool.
6.Follow the instructions that come with Cacti to install Cacti.
* Create a new user account called ‘cactiuser’ on your box.
* Once you have RRDtool and cacti installed do the following:
a. Go into the directory where you have cacti – usually /var/www/html/cacti
b. Once there create the mysql database:
shell> mysqladmin –user=root create cacti
shell> mysql cacti mysql –uer=root mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY ‘somepassword’;
mysql> flush privileges;
* Edit the config.php file. Located in the cacti/include directory.
Change the database name, house, username, password as you specified above.
$database_default = “cacti”;
$database_hostname = “localhost”;
$database_username = “cactiuser”;
$database_password = “cacti”;
* As root change the permissions the /rra and /log Directories.
shell> chown cactiuser rra/ log/
* Change user to the user account cactiuser that you created in step 7.
* Create a crontab which will run the cmd.php every five mintues.
shell > crontab -e
Then press ‘insert’ on the keyboard – this allows you to type.
*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Then press ESC – this remove your typing capability.
press: Shift ZZ – this will save and exit the crontab.
*Point your web browser to and follow the directions:
http://your-server/cacti/
what abt RHCA?
Hi Vishal
Any Job call me 9327929749
Ritesh Patel(Jetking)
9327929749
Nice work buddy .
ohhh tamaro blog to bow batha juve 6e
how can i define which rpm & which service
rpm –help or…
rpm -qa :- Display list all installed packages
rpm -qi ftp :- Display installed information along with package version and short description
rpm -qf /etc/passwd :- Find out what package a file belongs to i.e. find what package owns the file
rpm -qc httpd :- Display list of configuration file(s) for a package
rpm -qa –last :- Display list of all recently installed RPMs
rpm -qR bash :- Find out what dependencies a rpm file has
Vishal Vyas
Great work….Really impressed by ur work. I saw u at gadhada but i dont remember when and where…Gadhada(swa) is my home town…Any way keep it up
i like ur site.
ur site is very useful for linux lerners
Thanks,,,
http://www.vishalvyas.com