ZABBIX 1.4.1 up and running. (Assumed there is already Apache2, PHP and MySQL running)
1. First, get the source code.
$ wget
http://optusnet.dl.sourceforge.net/sourceforge/zabbix/zabbix-1.4.1.tar.gz
2. Extract the source code
$ tar -xvvzf zabbix-1.4.1.tar.gz
3. Prepare MySQL. by creating database for ZABBIX
$ mysql -u<username> -p<password>
mysql> create database zabbix;
mysql> grant all on zabbix.* to <username>@localhost identified
by '<mysqlpassword>';
mysql> quit;
$ cd <path-of-your-zabbix-source>/create/schema/
$ cat mysql.sql | mysql -u<username> -p<password> zabbix
$ cd ../data
$ cat data.sql | mysql -u<username> -p<password> zabbix
$ cat images_mysql.sql | mysql -u<username> -p<password> zabbix
$ cd ../..
4. Configure the source code, then proceed with install
$ ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
$ sudo make install
5. Create zabbix config files
$ sudo mkdir /etc/zabbix/
$ sudo cp
<path-of-your-zabbix-source>/misc/conf/zabbix_server.conf /etc/zabbix/
$ sudo nano /etc/zabbix/zabbix_server.conf
6. Create directories for the frontends
$ sudo mkdir /usr/local/zabbix
$ sudo chown -R <username.username> /usr/local/zabbix/
$ rsync -rvu <path-of-your-zabbix-source>/frontend/php /usr/local/zabbix/
7. Edit Apache2 config file to point your own ZABBIX url into the frontend's
path
8. Open a web browser, go to your ZABBIX url, then proceeds from there
9. To get ZABBIX up, you need to execute zabbix_server.
Done :-)
1 comment:
you know pal, spend lot more time to arrange your howtos.. I mean there should be Executive Summary or so called like that, the reason, the how, the disclaimers, the assumptions, the steps, and the summary, not just to write it down blindly from 1 to xx without any explanation why readers should do step 5, why step 8, why step 11 etc... etc...
Even only for your own blog, you should learn to be more sophisticated, for future shake. It's just a thought, man.. no offense...
Post a Comment