Zabbix server installation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | =install zabbix for ubuntu 18.04= | + | =install zabbix for ubuntu 18.04= |
*wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+bionic_all.deb | *wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+bionic_all.deb | ||
*dpkg -i zabbix-release_4.0-2+bionic_all.deb | *dpkg -i zabbix-release_4.0-2+bionic_all.deb | ||
| Zeile 10: | Zeile 10: | ||
*GRANT ALL ON zabbix.* TO 'zabbix'@'localhost' IDENTIFIED BY 'change-with-strong-password'; | *GRANT ALL ON zabbix.* TO 'zabbix'@'localhost' IDENTIFIED BY 'change-with-strong-password'; | ||
*EXIT; | *EXIT; | ||
| − | + | =import database= | |
| + | *zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix | ||
| + | Enter the strongpasswd | ||
=make settings= | =make settings= | ||
*vim /etc/apache2/conf-enabled/zabbix.conf | *vim /etc/apache2/conf-enabled/zabbix.conf | ||
| Zeile 19: | Zeile 21: | ||
=restart apache2= | =restart apache2= | ||
*sudo systemctl restart apache2 | *sudo systemctl restart apache2 | ||
| − | + | ||
| − | |||
=make settings= | =make settings= | ||
*vim /etc/zabbix/zabbix_server.conf | *vim /etc/zabbix/zabbix_server.conf | ||
Aktuelle Version vom 19. Juni 2019, 09:40 Uhr
install zabbix for ubuntu 18.04
- wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+bionic_all.deb
- dpkg -i zabbix-release_4.0-2+bionic_all.deb
- apt update
- apt -y install zabbix-server-mysql zabbix-frontend-php zabbix-agent
prepare database
- sudo mysql
- create database zabbix character set utf8 collate utf8_bin;
- GRANT ALL ON zabbix.* TO 'zabbix'@'localhost' IDENTIFIED BY 'change-with-strong-password';
- EXIT;
import database
- zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix
Enter the strongpasswd
make settings
- vim /etc/apache2/conf-enabled/zabbix.conf
change php_value date.timezone America/Denver to php_value date.timezone Europe/Berlin
restart apache2
- sudo systemctl restart apache2
make settings
- vim /etc/zabbix/zabbix_server.conf
DBPassword=change-with-strong-password
restart zabbix
- sudo systemctl restart zabbix-server zabbix-agent
- sudo systemctl enable zabbix-server zabbix-agent