Icinga2 centos: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 11: | Zeile 11: | ||
*systemctl start mariadb.service | *systemctl start mariadb.service | ||
*systemctl enable mariadb.service | *systemctl enable mariadb.service | ||
| + | =grundeinstallung= | ||
| + | *mysql_secure_installation | ||
| + | =Datenbank anlegen= | ||
| + | <pre> | ||
| + | MariaDB [(none)]> CREATE DATABASE icinga; | ||
| + | Query OK, 1 row affected (0.00 sec) | ||
| + | |||
| + | MariaDB [(none)]> GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga.* TO 'icinga'@'localhost' IDENTIFIED BY 'geheim'; | ||
| + | Query OK, 0 rows affected (0.00 sec) | ||
| + | |||
| + | MariaDB [(none)]> exit | ||
| + | </pre> | ||
=Links= | =Links= | ||
http://www.modius-techblog.de/linux/icinga-2-richtig-unter-centos-7-installieren/ | http://www.modius-techblog.de/linux/icinga-2-richtig-unter-centos-7-installieren/ | ||
Version vom 25. Februar 2017, 15:35 Uhr
icinga repository
- rpm --import http://packages.icinga.org/icinga.key
- curl -o /etc/yum.repos.d/ICINGA-release.repo http://packages.icinga.org/epel/ICINGA-release.repo
epel repository
- rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
- rpm -ihv https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- yum makecache
maria db
- yum install mariadb mariadb-server
- systemctl start mariadb.service
- systemctl enable mariadb.service
grundeinstallung
- mysql_secure_installation
Datenbank anlegen
MariaDB [(none)]> CREATE DATABASE icinga; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga.* TO 'icinga'@'localhost' IDENTIFIED BY 'geheim'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit
Links
http://www.modius-techblog.de/linux/icinga-2-richtig-unter-centos-7-installieren/