![]() ![]() If you want Cacti to bew the default server, edit the file /etc/sysconfig/apache2 and add CACTI as a server flag:ĭatabase ConfigurationNow we will create the basis of Cacti and a user: Root # chown -R wwwrun:www /srv/www/cacti/ Then edit the file nf, edit line number 33, Replace word “denied” with “granted”ĭefine the user wwwrun of group www as owner of the Cacti files : We use a VirtualHost to facilitate our work: Root # /usr/bin/mysqladmin -u root -h localhost password 'new password'Īpache ConfigurationThe Cacti files are located in /srv/www/cacti. If you change later the root password of MySQL, use the command: Remove test database and flush privileges. ![]() Root # /usr/bin/mysql_secure_installation We will implement an additional layer of security by removing some vulnerabilities in MySQL: Root # systemctl enable mysqlroot # systemctl enable apache2root # systemctl enable snmpd ![]() Root # systemctl start mysqlroot # systemctl start apache2root # systemctl start snmpdĪnd to avoid headaches later, we'll have to automatically start services after a reboot Root # zypper in cacti cacti-plugin-autom8 cacti-plugin-boost cacti-plugin-clog cacti-plugin-cycle cacti-plugin-discovery cacti-plugin-docs cacti-plugin-flowview cacti-plugin-hostinfo cacti-plugin-loginmod cacti-plugin-mactrack cacti-plugin-monitor cacti-plugin-npc cacti-plugin-ntop cacti-plugin-realtime cacti-plugin-routerconfigs cacti-plugin-settings cacti-plugin-ssl cacti-plugin-syslog cacti-plugin-thold cacti-plugin-tools cacti-plugin-updateĬonfigurationTo get started, the basic services needed: Root # zypper in mysql-community-server mysql-community-server-client This is needed in order to have access to the Cacti add-ons. PreparationAdd the server:monitoring repository. Getting root accessTo get root access, open a terminal and enter the following command:Īfter entering a valid password, the prompt should turn red and end with a #. root # zypper ar server:monitoring Install MySQL: root # zypper in mysql-community-server mysql-community-server-client Install Cacti and Cacti add-ons: root # zypper in cacti cacti-plugin-autom8 cacti-plugin-boost cacti-plugin-clog cacti- plugin-cycle cacti-plugin-discovery cacti-plugin-docs cacti-plugin-flowview cacti-plugin- hostinfo cacti-plugin-loginmod cacti-plugin-mactrack cacti-plugin-monitor cacti-plugin- npc cacti-plugin-ntop cacti-plugin-realtime cacti-plugin-routerconfigs cacti-plugin- settings cacti-plugin-ssl cacti-plugin-syslog cacti-plugin-thold cacti-plugin-tools cacti- plugin-update Configuration To get started, the basic services needed: root # systemctl start mysql root # systemctl start apache2 root # systemctl start snmpd And to avoid headaches later, we'll have to automatically start services after a reboot root # systemctl enable mysql root # systemctl enable apache2 root # systemctl enable snmpd We will implement an additional layer of security by removing some vulnerabilities in MySQL: root # /usr/bin/mysql_secure_installation This is needed in order to have access to the Cacti add- ons. Preparation Add the server:monitoring repository. ![]() Installing Cacti on openSUSE Leap 42.1 Getting root access To get root access, open a terminal and enter the following command: user $ su - Password: After entering a valid password, the prompt should turn red and end with a #. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |