- sudo apt update
- sudo apt upgrade -y
- wget https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.2-1+ubuntu18.04_all.deb
- dpkg -i zabbix-release_5.2-1+ubuntu18.04_all.deb
- apt update
- apt install zabbix-server-pgsql zabbix-frontend-php php7.2-pgsql zabbix-nginx-conf zabbix-agent postgresql
- sudo -u postgres createuser --pwprompt zabbix
- sudo -u postgres createdb -O zabbix zabbix
- zcat /usr/share/doc/zabbix-server-pgsql*/create.sql.gz | sudo -u zabbix psql zabbix
- nano /etc/zabbix/zabbix_server.conf { DBPassword=password DBUser=zabbix DBHost=localhost }
- nano /etc/zabbix/nginx.conf { listen 8090; server_name 127.0.0.1; }
- systemctl restart zabbix-server zabbix-agent nginx php7.2-fpm
- systemctl enable zabbix-server zabbix-agent nginx php7.2-fpm
-
Notifications
You must be signed in to change notification settings - Fork 0
barryab12/zabbix-installation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published