Author Archives: kartook

How to Install and Configure Cacti

Install and Configure Cacti 1.Extract the distribution tarball. shell> tar xzvf cacti-version.tar.gz 2. Create the MySQL database: shell> mysqladmin –user=root create cacti 3. Import the default cacti database: shell> mysql cacti < cacti.sql 4.Optional: Create a MySQL username and password for Cacti. shell> mysql –user=root mysql mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY […]

How to test the Apache configuration file?

How to test the Apache configuration file httpd.conf After making changes to the Apache configuration file, it is a good practice to test the configuration before implementing it. To test the Apache configuration file for errors: apachectl configtest If the configuration file is fine, this command will return Syntax Ok. Otherwise, it will return detailed […]