Home > HOWTOs > Zabbix Installation 2.4 – CentOS 6.5

Zabbix Installation 2.4 – CentOS 6.5

Adding Repos and Install Server Configuration.
[ahmed@server ~]# yum install mysql-server mysql
[ahmed@server ~]# yum install zabbix-server-mysql zabbix-web-mysql
[ahmed@server ~]# yum install zabbix-agent
Create Database.
[ahmed@server ~]# mysql -uroot
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
mysql> exit
Creating Schema.
[ahmed@server ~]# cd /usr/share/doc/zabbix-server-mysql-2.4.0/create
[ahmed@server ~]# mysql -uroot zabbix < schema.sql
[ahmed@server ~]# mysql -uroot zabbix < images.sql
[ahmed@server ~]# mysql -uroot zabbix < data.sql
Setting Configuration.
[ahmed@server ~]# vi /etc/zabbix/zabbix_server.conf
Start Server.
[ahmed@server ~]# service zabbix-server start
Apache Configuration. Change timezone.
[ahmed@server ~]# sudo vim /etc/httpd/conf.d/zabbix.conf
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value date.timezone Asia/Kolkata
Start httpd.
[ahmed@server ~]# service httpd restart
Categories: HOWTOs
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: