标签:pre ip地址 logs https 编译安装 install 地址 style mys
wget https://superb-sea2.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/3.2.3/zabbix-3.2.3.tar.gz
/etc/init.d/zabbix_server stop 关闭server服务端
/etc/init.d/zabbix_agentd stop 关闭agent客户端
mysqldump -u root -p***** -h IP地址 --opt --skip-lock-tables --flush-logs --database zabbix > /tmp/zabbix.sql
/etc/init.d/mysqld stop 关闭数据库
备份配置文件: mv /usr/local/zabbix/ /usr/local/zabbix.2.4.7
备份启动脚本:
mv /etc/init.d/zabbix_server /etc/init.d/zabbix_server.2.4.7
mv /etc/init.d/zabbix_agentd /etc/init.d/zabbix_agentd.2.4.7
备份zabbix前端文件:
mv /var/www/html/zabbix/ /var/www/html/zabbix.2.4.7
tar zxvf zabbix-3.2.3.tar.gz
cd zabbix-3.2.3
./configure --prefix=/usr/local/zabbix-3.2.3 --enable-server --with-mysql --with-net-snmp --with-libxml2 --with-libcurl --enable-proxy --enable-agent --enable-java --with-ldap
make install
创建软链
ln -s /usr/local/zabbix-3.2.3/ zabbix
http://www.zabbix.com/downloads/3.2.0/zabbix_agents_3.2.0.linux2_6.amd64.tar.gz
标签:pre ip地址 logs https 编译安装 install 地址 style mys
原文地址:https://www.cnblogs.com/zhanmeiliang/p/6382045.html