apt-get install fping apache2 sqlite3 libsnmp-dev libcurl4-openssl-dev libapache2-mod-php5 php5-gd php5-sqlite php5-dev libiksemel-dev libsqlite3-dev php5-mysql
cd /usr/src
wget "http://sourceforge.net/projects/zabbix/files/ZABBIX Latest Stable/2.0.5/zabbix-2.0.5.tar.gz"
tar zxvf zabbix-2.0.5.tar.gz
cd zabbix-2.0.5/database/mysql
sudo adduser zabbix
sudo adduser zabbix root
sudo adduser www-data zabbix
mysql -uroot -pPASS
# drop database zabbix;
create database zabbix;
quit;
mysql -uroot -pPASS zabbix < schema.sql;
mysql -uroot -pPASS zabbix < images.sql;
mysql -uroot -pPASS zabbix < data.sql;
cd ../..
./configure --prefix=/usr --with-net-snmp --with-mysql --with-ssh2 --enable-agent --enable-server --with-libcurl
make install
mkdir /var/www/zabbix
cp -a frontends/php/* /var/www/zabbix/
chown -R www-data /var/www/zabbix
nano /etc/php5/apache2/php.ini
und mit STRG + W nach folgenden Einstellungen suchen und ersetzen
max_execution_time = 300zab
max_input_time = 300
post_max_size = 16M
date.timezone = de_de
STRG + O
STRG + X
apache2 restart
sudo
cp
misc
/init
.d
/debian/zabbix-server
/etc/init
.d/
sudo
cp
misc
/init
.d
/debian/zabbix-agent
/etc/init
.d/
nano /usr/etc/zabbix_server.conf
nano /tmp/zabbix_server.log
Links:
Zabbix
https://www.zabbix.com/documentation/2.0