How To Install Mysql Gui Tools On Centos Repositories LatestTo proceed run type the Y key to continue. Package Arch Version Repository SizeInstalling icinga. Installing for dependencies boost program options x. Micinga. 2 common x. Transaction SummaryInstall 1 Package 6 Dependent packagesTotal download size 2. MInstalled size 1. MIs this ok ydN y. For Ubuntu. Run the below commands to add the Icinga repository to your package management configuration using PPA. The installation process will be installing the Icinga 2 including some of its required dependencies. The following extra packages will be installed icinga. Suggested packages nagios. The following NEW packages will be installedicinga. Need to get 3,2. 01 k. B of archives. After this operation, 1. MB of additional disk space will be used. Do you want to continue Yn Y3 Starting Icinga 2. Upon successful installation of Icinga 2, now start its services and enable them to start at each reboot. For Cent. OS 7 Ubuntu 1. Run the following commands to Enable, Start and check the the status of Icinga 2 service on Centos 7 and Ubuntu 1. My. SQL Database Setup. We will be using the My. SQL data base that will be used for Icinga web 2 interface. So, lets run the below commands to install My. SQL Maria. DB. For Cent. OS 7 yum install mariadb server mariadb. After installation completes, start the mariadb services and configure its root password using the below command. For Ubuntu 1. 5To install the My. SQL database run the below command and configure the root password during the installation process. Create New Database. Now login to the mysqlmariadb and create the new database with a new user with its specific privileges on the database using the below commands. Maria. DB none CREATE DATABASE icinga. Query OK, 1 row affected 0. Maria. DB none GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga. TO icinga. 2localhost IDENTIFIED BY icinga. Query OK, 0 rows affected 0. Maria. DB none exit. Installing My. SQL IDO Module. For Cent. OS Run the below command to install IDO My. SQL module for Icinga. Now import the Icinga 2 IDO schema using the following command. A new configuration file will be created after installation of Icinga IDO Module which is located in etcicinga. So, open this file using any editor and update the database credentials in this file. Ido. Mysql. Connection ido mysql user icingapassword icingahost localhostdatabase icingaThen enable module and check the list it should now listed under the enabled module by using the following command in centos 7. Feature ido mysql already enabled. Disabled features api command compatlog debuglog gelf graphite icingastatus livestatus opentsdb perfdata statusdata syslog. Enabled features checker ido mysql mainlog notification. For Ubuntu In ubuntu during the installation process of IDO My. SQL Module, you will be asked Configure the icinga. So, you will choose the Yes option and press OK to proceed then in the next steps you have to configure its configuration file by providing the My. SQL root credentials that will configure the following new configuration files. Creating config file etcdbconfig commonconfig with new version. Setting up icinga. Creating config file etcdbconfig commonicinga. Creating config file etcicinga. Like the same way run the below command to enale IDO My. SQL Icinga Module. Enabling feature ido mysql. Make sure to restart Icinga 2 for these changes to take effect. Disabled features api command compatlog debuglog gelf graphite icingastatus livestatus opentsdb perfdata statusdata syslog. Enabled features checker ido mysql mainlog notification. You check and change the dtaabase configuration setting if required by using the below file. Web server Setup. After completing the database installation and configuration setup, now we move towards Apache web server installation before starting the Icinga Web 2. Lets run the below commands to to setup your web server installation. For Cent. OSIn cent. OS, you can use the following commands to install apache server and start its services as shown. For Ubuntu. For ubuntu you will use the following commands for the apache web server installation. Firewall Setting. Use the following commands to allow apache services in your firewall. A INPUT p tcp m tcp dport 8. ACCEPT service iptables save. External Command Pipe Setup To enable the External Command Pipe we will be using the below, so that the Web interfaces and other Icinga addons are able to send commands to Icinga 2 through the external command pipe. Enabling feature command. Make sure to restart Icinga 2 for these changes to take effect. Disabled features api compatlog debuglog gelf graphite icingastatus livestatus opentsdb perfdata statusdata syslog. Enabled features checker command ido mysql mainlog notification. Icinga Web 2 Installation. Now start the installation of Icinga Web 2.
How To Install Mysql Gui Tools On Centos Repositories© 2017