Centos5.4 (64-bit) Complete cacit Monitoring System Construction (continued)

Source: Internet
Author: User

4. Install rrd
 
RRDtool http://oss.oetiker.ch/rrdtool/ Official Website
 
# Tar-zxvf rrdtool-1.2.27.tar.gz Decompression
#./Configure -- prefix =/usr/local/pre-compilation Configuration
# Make & make install compile and install
------------------------------------------ RRDtool has been installed ------------------------------------------------------
 
<! -- [If! SupportLists] --> 5. <! -- [Endif] --> install Cacti
Cacti: http://www.cacti.net/
Cacti installation:
# Tar-zxvf cacti-0.8.7i.tar.gz Decompression
# Mv cacti-0.8.7i/usr/local/apache/htdocs/cacti move under the website root directory and rename
# Useradd cactiuser
# Chown-R cactiuser. cactiuser/usr/local/apache/htdocs/cacti/rra/usr/local/apache/htdocs/cacti/log set the owner Group
# Mysql-u root access to the database
Mysql> create database cactidb default character set utf8; create a cactidb database
Mysql> grant all on cactidb. * to cactiuser @ localhost identified by '20140901'; Set permissions
# Mysql-u cactiuser-p cactidb <cacti. SQL imports data into the database (in the cacti compressed package)
# Vi include/config. php debug System Configuration File
$ Database_type = "mysql ";
$ Database_default = "cactidb ";
$ Database_hostname = "localhost ";
$ Database_username = "cactiuser ";
$ Database_password = "1234 ";
$ Database_port = "3306 ";
$ Database_ssl = false;
$ Config ['url _ path'] = "/";
# Vi/usr/local/apache/conf/httpd. conf adjust the apache service
Listen 80
DocumentRoot "/usr/local/apache/htdocs/cacti"
<Directory/usr/local/apache/htdocs>
Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index. php
</IfModule>
-------------------------------------------------- Cacti installation completed -----------------------------------------------------


Cacti debugging:
Input address:

<! -- [Endif] -->

Next step

<! -- [Endif] -->

New Installation
 

<! -- [Endif] -->




The error section is red. You need to install the snmp service.
# Yum install net-snmp *

<! -- [Endif] -->

Click Finish
Sat.


Display Interface



On the first logon page, you must change the password. The default password is admin.

<! -- [Endif] -->

Change Password

<! -- [Endif] -->

Initial Interface
 

<! -- [Endif] -->

 
------------------------------------------------- All completed

This article is from the blog "flying birds with wings"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.