Escolar Documentos
Profissional Documentos
Cultura Documentos
zabbix
#!/bin/bash
set -x
########add Zabbix 2.4.5 repository
echo deb http://ppa.launchpad.net/tbfr/zabbix/ubuntu precise
main >> /etc/apt/sources.list
echo deb-src http://ppa.launchpad.net/tbfr/zabbix/ubuntu precise
main >> /etc/apt/sources.list
sleep 5
php/examples/zabbix.conf.php.example /etc/zabbix/zabbix.conf.php
pushd /etc/apache2/conf.d/
sed -i -e '1 s/^/Listen 8080\n/;' zabbix.conf
popd
service apache2 restart