Обновление zabbix-server до 4.0

Ubuntu

mkdir /opt/zabbix-backup/ && \
cp -r /etc/zabbix /opt/zabbix-backup/zabbix-etc && \
cp -r /etc/apache2/conf-enabled/zabbix.conf /opt/zabbix-backup/ && \
cp -R /usr/share/zabbix/ /opt/zabbix-backup/ && \
cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/ && \
rm -Rf /etc/apt/sources.list.d/zabbix.list && \
wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+xenial_all.deb && \
dpkg -i zabbix-release_4.0-2+xenial_all.deb

apt-get update

apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent

service zabbix-server start

Centos внимание на ссылку rhel

service stop zabbix-proxy
mkdir /opt/zabbix-backup/ && \
cp -r /etc/zabbix /opt/zabbix-backup/etc && \
cp /etc/httpd/conf.d/zabbix.conf  /opt/zabbix-backup/ && \
cp -R /usr/share/zabbix/ /opt/zabbix-backup/ && \
cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/

rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/6/x86_64/zabbix-release-4.0-1.el7.noarch.rpm
yum upgrade zabbix-proxy-mysql zabbix-agent

service start zabbix-proxy

 

Zabbix

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.