Install cacti In debian

Source: Internet
Author: User
Debian: Install cacti-Debian, the Linux release technology. For more information, see. 1. install mysql

Apt-get install mysql-server-5.x

2. install cacti

Apt-get install cacti

(Automatic installation: apache2/php/rrdtoo/snmp)

3. Create a mysql root Password

Mysqladmin-u root-p password .. (here is the newly created ROOT password) then prompt to enter the current root password. The default installation is blank, so you can press enter directly.

4. Create a cacti Database

Create database cacti;

5. Create the database cacti user name and password

Grant all on cacti. * to cacti @ localhost;

Set password for cacti @ localhost = OLD_PASSWORD ('cacti ');

6. Import cacti. SQL

Decompress cacti. SQL .gz in/usr/share/doc/cactif:

Gunzip cacti. SQL .gz

Obtain cacti. SQL

Mysql-u root-p

Use cacti

Source/usr/share/doc/cacti. SQL;

7. Modify related database information in cacti

Vi/etc/cacti/debian. php

After modification:
$ Database_default = 'cacti ';
$ Database_hostname = 'localhost ';
$ Database_username = "cacti ";
$ Database_password = "cacti ";

8. Open your browser and enter http: // your IP/cacti/. Then, follow the prompts to perform the operation.

By default, the user name and password for cacti installation are admin.
After you enter the user name and password for the first time, you must change the password.

Here the cacti installation is completed.

* The database username and password of cacti can be customized.

Restart mysql:/etc/init. d/mysql restart
Restart apache2:/etc/init. d/apache2 restart
Related Article

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.