danaxdk.blogg.se

How to install cacti on centos 7
How to install cacti on centos 7








how to install cacti on centos 7
  1. HOW TO INSTALL CACTI ON CENTOS 7 UPDATE
  2. HOW TO INSTALL CACTI ON CENTOS 7 PASSWORD

It was here that I noticed that my install did not have any of the /sbin directories in its $PATH, so I simply typed the absolute path: I chose to create a ‘cactiuser’ user (and cacti group) to run cacti commands and to have ownership of the relavent cacti files. Move the entire cacti directory to /var/www/html/ : You could do this in the command line, if you wanted to: I also renamed the cacti-0.8.7e directory by right clicking and selecting “Rename”. I downloaded it to my desktop and unzipped it by right clicking it and selecting “Extract here”. Package rrdtool-1.3.i386 already installed and latest versionĭownload the latest version of Cacti (0.8.7e, as of the writing of this article) from here. Package perl-rrdtool-1.3.i386 already installed and latest version Package initscripts-8.45.386 already installed and latest version Package php-snmp-5.1.6-23.2.el5_3.i386 already installed and latest version Package 1:net-snmp-utils-5.3.2.2-5.el5_3.1.i386 already installed and latest version Package 1:net-snmp-5.3.2.2-5.el5_3.1.i386 already installed and latest version Package 2:vim-enhanced-7.0.109-4.el5_2.4z.i386 already installed and latest version Package php-mysql-5.1.6-23.2.el5_3.i386 already installed and latest version Package mysql-server-5.0.386 already installed and latest version Package mysql-5.0.386 already installed and latest version Package httpd-2.2.1.i386 already installed and latest version Package php-5.1.6-23.2.el5_3.i386 already installed and latest version Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, priorities # yum install php httpd mysql mysql-server php-mysql vim-enhanced net-snmp net-snmp-utils php-snmp initscripts perl-rrdtool rrdtool initscripts

how to install cacti on centos 7

You can verify that you have the packages in question (or the version numbers of installed packages) by attempting to install them, as yum will remind you that you already have the latest version installed, as well as the version status of the packages, like shown here: I installed everything but cacti through yum.

HOW TO INSTALL CACTI ON CENTOS 7 UPDATE

I then typed yum update to update CentOS and the repository list before installing additional software. Be warned that the above text containing the repository is version and architecture-specific. You can create this file by typing vim /etc//dag.repo and copying and pasting the above information into the file. name=Dag RPM Repository for Red Hat Enterprise Linux baseurl= gpgcheck=1 gpgkey= enabled=1 ( /etc//dag.repo ) containing Dag Wiers repository, which contains rrdtool, among other things. I added a new repository to facilitate this install. I had already installed apache, mysql, and PHP during the original install process of CentOS 5.2. To perform this install, I am logged into Gnome as a normal user, and opened a terminal that is switched to the root user using the su command. I’d also recommend installing vim, net-snmp, net-snmp-utils, php-snmp, initscripts, perl-rrdtool, and any dependencies. Next up, setting up cacti into action and setting up THOLD for alerts.PHP 4.3.6 or greater, 5.x greater highly recommended for advanced features

HOW TO INSTALL CACTI ON CENTOS 7 PASSWORD

Go ahead and change the password as desired. Once logged in for the first time, you will be asked to change the admin password. login to with default user(admin) and default password(admin). On your browser, go to and follow the sequence of images below:Ĩ. Restart apache – /etc/init.d/httpd restartħ.

how to install cacti on centos 7

Modified /etc/httpd/conf.d/nf to fix url and allow access from anywhere no retriction for the meantime.Ħ. Create a mysql cacti database and cacti database user:ģ.3 mysql> GRANT ALL ON cacti_db.* TO IDENTIFIED BY 'cactiuser' ģ.5 Populate the cacti database: mysql cacti_db -u cactiuser -p < /var/ Install cacti via yum and you will see something like below:ģ. Setup RPMForge repository for cacti installation.Ģ. Environment: Centos 5.8, 圆4 system, mysql already installedġ.










How to install cacti on centos 7