Script para Upgrade do Zabbix: de 2.2.1 para 2.2.2

[root@nerv12 ~]# cat ./ZabbixUpgrade.sh
wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.2.2/zabbix-2.2.2.tar.gz/download
tar xfzv zabbix-2.2.2.tar.gz
cd zabbix-2.2.2
./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-ssh2 --enable-java
make
cp /usr/local/etc/zabbix_agentd.conf .
cp /usr/local/etc/zabbix_server.conf .
cp /var/www/html/zabbix/conf/zabbix.conf.php .
service httpd stop
service zabbix_agentd stop
service zabbix_server stop
service mysqld stop
make install
rm -rf /var/www/html/zabbix/
mkdir /var/www/html/zabbix
cd frontends/php/
cp -a . /var/www/html/zabbix/
chown -R root:root /var/www/html/zabbix/
cd ..
cd ..
cp zabbix_agentd.conf /usr/local/etc/
cp zabbix_server.conf /usr/local/etc/
cp zabbix.conf.php /var/www/html/zabbix/conf
service mysqld start
service zabbix_server start
service zabbix_agentd start
service httpd start

[root@nerv12 ~]#

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.