ubuntu 18 zabbix安装 自己笔记
php zabbix mysql
wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
dpkg -i zabbix-release_3.2-1+xenial_all.deb
apt update
apt install -y zabbix-server-mysql zabbix-frontend-php
apt install -y php7.2-bcmath php7.2-mbstring php7.2-xml
mysql -uroot -p
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by ‘zabbix’;
exit
zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix
vim /etc/zabbix/zabbix_server.conf
修改DBhost DBPassword
vim /etc/zabbix/apache.conf
修改时间区域
service zabbix-server restart
service apache2 restart
默认账号密码:Admin zabbix
如果zabbix登陆密码忘记了 使用以下命令
mysql -uroot -p -e “select * from zabbix.users\G”
ubuntu 18 zabbix安装 自己笔记
最新推荐文章于 2024-07-03 19:45:00 发布