- #Install cacti on linux linux help update#
- #Install cacti on linux linux help password#
- #Install cacti on linux linux help download#
Most of the scripts will not work right off the bat for Red Hat 7.3.
![install cacti on linux linux help install cacti on linux linux help](https://www.linuxcompatible.org/data/publish/178/941130c3f4f096ab4504864e4dfb20fb9d256f/cacti.png)
Upon completing these instructions you should have a functioning site. mysql -u root -pnewpassword cacti /dev/null 2>&1 mysqladmin -user=root -pnewpassword create cacti If you get the version screen from mysql, the server started at boot mysqladmin -user=root -pnewpassword version Reboot machine to test the installation of mysql To start the server at boot time add this line to /etc/rc.local
#Install cacti on linux linux help password#
Mysql> SET PASSWORD FOR =PASSWORD('newpassword') (sets password for root mysql user not root linux user, like sa account on other DB's) Useradd -g mysql mysql (this is the user that will run MySQL) Mv mysql-3.23.54-pc-linux-gnu-i686 /usr/local/mysql (rename and move the mysql directory to mysql) Rrdtool will be installed to /usr/local/rrdtool-version# Tar zxvf Cacti-0.6.8a.tar.gz (unpack cacti)Ĭhown -R nobody:nobody /www/htdocs/cacti (this allows the webserver to show your cacti dir)
#Install cacti on linux linux help download#
The documentation for Apache is very good, download it. If you run this it will overwrite any changes made to nf by hand. If you have installed Gnome on you Linux installation then you should have a GUI configuration utility for Apache. If you do not please refer to the Apache documentation for any errors. You should get the Apache default page if all is well. LoadModule php4_module libexec/libphp4.so Php binary should be in /usr/local/cactisetup/php4/ (You will be asked for this in the initial setup of Cacti)Įdit your servername to reflect proper name and add thes lines Now to create the php command line application configure -with-mysql -with-apxs=/www/bin/apxsĬhange Register_Globals=On and Register_argc_argv=On Mv php-4.2.3 php4 (renaming the php directory to php4) Tar zxvf php-4.2.3.tar.gz (unpacking php) configure -prefix=/www -enable-module=so
![install cacti on linux linux help install cacti on linux linux help](https://techviewleo.com/wp-content/uploads/2021/07/install-cacti-on-rocky-linux-8-pre-install-checks.png)
Mv apache_1.3.27 apache (renaming the apache directory to apache) Tar zxvf apache_1.3.27.tar.gz (unpacking apache) Ucd-snmp-4.2.3.tar.gz (you may not need this if you have snmpget and snmpwalk already on you machine)Ĭopy all of these to /usr/local/cactisetup I have it sitting behind a few firewalls and is used on internal equipement so I can afford some lax security. I am not the strongest Linux person and this box is less than secure.
#Install cacti on linux linux help update#
If anyone who reviews this document sees something wrong please post to this thread so I can update my documentation and others can read. Register the system on the RHN and apply all updates. These work for me, on a fresh box built with these options:Īllowing SSH and WWW (you will have to edit ipchains to allow snmp communications for Cacti to work) I will post this here, its is rather large, so if you want a copy please email me at and I will email you a copy. This is a document I have written while setting cacti on my Red Hat 7.3 box.