![]()
Make sure to select a strong password for root, e.g. The following command will help you with this task on a CentOS system. Your first step should be securing the mysql database. Now that we have extracted the cacti files, we can move on preparing the database for the final installation step. #chmod 775 rra log Step 4 – Cacti Database Let’s create the system “cacti” user now: #adduser -d /var/To check cron log:įinally, we also need to make sure that the permissions on the log and rra directories are set correctly: #cd /var/www/html/cacti It’s always a good idea to run this under a special user. Versions easier: #ln -s cacti-0.8.8f cacti Step 3 – Cron and file permissions Cacti uses cron (scheduled task) in order to execute its polling #tar -xzvf cacti-0.8.8f.tar.gz I usually suggest to create a symbolic link to the newly createdĭirectory “cacti-0.8.8b”. We’re downloading that one: #cd /var/www/html Including the Plugin Architecture (PIA) is officially available, so As of version 0.8.8, a fully patched Cacti #systemctl restart rvice Step 2 – Cacti Files Let’s now move to the actualy installation of Cacti. #service crond restart CentOS 7: #systemctl restart rvice Start message: CentOS 6: #service httpd restart Let’s start them manually now in order to continue the installation.Ĭron may already be running so don’t panic if you don’t see the usual #systemctl enable rvice Now that we did make sure that these services start after a reboot, #chkconfig crond on CentOS 7: #systemctl enable rvice Now let’s make sure that our webserver and the database areĪutomatically starting up after a reboot. Gcc and the devel packages are required for the installation of spine, hence that’s why we include it here. Php-snmp gcc mariadb-devel net-snmp-devel autoconf automake libtool dos2unix #How to install cacti on centos 7 step by step install##yum -y install mariadb-server php php-cli php-mysql net-snmp-utils rrdtool \ Php-snmp gcc mysql-devel net-snmp-devel autoconf automake libtool dos2unix #yum -y install mysql-server php php-cli php-mysql net-snmp-utils rrdtool \ Software which is not included or enabled in the base CentOS 6 installation are: #How to install cacti on centos 7 step by step software#First we need to install some of the software packages needed for Cacti to run properly. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |