How to install cacti on ubuntu 16.04
GRANT SELECT ON mysql.time_zone_name TO privileges Ĭacti recommend changing MySQL variables settings for better performances. mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql To do that, import the mysql_test_data_timezone.sql to mysql database first. The newly created database user ( cactiuser) should have access to the mysql.time_zone_name Table. GRANT ALL ON cacti.* TO IDENTIFIED BY 'cactipassword' Grant permission to the newly created database. Now, create a database for Cacti installation. Type '\c' to clear the current input statement. Server version: 5.5.37-MariaDB MariaDB ServerĬopyright (c) 2000, 2014, Oracle, Monty Program Ab and others. You can login to MariaDB without the password using the sudo mysql -u root -pcommand in Ubuntu 16.04 and Linuxmint.
#HOW TO INSTALL CACTI ON UBUNTU 16.04 INSTALL#
# Ubuntu 16.04 / LinuxMint #Īpt-get -y install snmp php-snmp rrdtool librrds-perlĪpt-get -y install snmp php5-snmp rrdtool librrds-perl Create DatabaseĬreate a database for Cacti. # Ubuntu 16.04 / LinuxMint #Īpt-get -y install php-xml php-ldap php-mbstring php-gd php-gmpĪpt-get -y install php5-ldap php5-gd php5-gmpĪlso, install the SNMP and RRDtool. There are few PHP extensions you would need to install for the proper functioning of Cacti monitoring tool. Whereas, in Ubuntu 16.04 or LinuxMint, there will be no prompt. Note: While installing MariaDB on Ubuntu 14.04, the installer will prompt you to set the MySQL root password. Consider installing MariaDB 10Īpt install -y apache2 mariadb-server mariadb-client php5-mysql libapache2-mod-php5 # Ubuntu 14.04 # Below command will install MariaDB 5.5. # Ubuntu 16.04 / LinuxMint #Īpt install -y apache2 mariadb-server mariadb-client php-mysql libapache2-mod-php So, install Apache, MySQL and PHP packages on your machine. apt-get updateĬacti run on top of AMP server. Update the repository index using the apt command. Log in as the root user or switch to the root user.
#HOW TO INSTALL CACTI ON UBUNTU 16.04 HOW TO#
Here is the small tutorial on how to install Cacti on Ubuntu 16.04 / Ubuntu 14.04 & Linux Mint 18. Cacti is an open source web-based network monitoring tool designed as the front end application for the RRDtool (Round-Robin database tool), it allows a user to poll the services at an interval of time and resulting in the graph format.Ĭacti is generally used to get a graph data for the CPU and network bandwidth utilization and monitors the network traffic by polling a router or switch via SNMP protocol.