#代理,防止以下操作超时
export http_proxy='http://192.168.2.181:1080'
export https_proxy='http://192.168.2.181:1080'
export ftp_proxy='http://192.168.2.181:1080'
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 install zabbix-server-mysql 
#编辑/etc/zabbix/zabbix_server.conf,修改以下内容
DBHost=mysql.host
DBPassword=Zabbix_pwd1.
Zabbix_pwd1.
systemctl restart zabbix-server  
systemctl enable zabbix-server 

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code