Installing Zabbix 2.2 From Source Code On CentOS 7
Installing Zabbix 2.2 From Source Code On CentOS 7
Disable SELINUX
#vi /etc/selinux/config
Or
# vim /etc/php.ini and change the parameters.
max_execution_time 600
max_input_time=600
memory_limit=256M
post_max_size=32M
upload_max_filesize=16M
date.timezone=’Asia/Culcutta’
#vim /etc/httpd/conf.d/zabbix.conf
#
# Zabbix monitoring system php web frontend
#
<Directory "/usr/share/zabbix">
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory "/usr/share/zabbix/conf">
Require all denied
</Directory>
<Directory "/usr/share/zabbix/include">
Require all denied
</Directory>
Security considerations
# iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
After starting the services, browse to the following URL: http://<ip or hostname>/zabbix (for example:
http://192.168.202.101/zabbix). If all goes well, you should see something like this
Click next and check if everything is marked with OK:
In the next step, enter the details about the MariaDB user which we created (named zabbix and password
secretpass):
Continue to step and finish the installation:
After clicking finish, you should see the login screen to your new Zabbix installation:
The default username is admin and the default password for that user is zabbix.
Reference weblinks
http://jensd.be/?p=393
https://www.zabbix.com/documentation/2.2/manual/installation/install
https://www.zabbix.com/documentation/2.2/manual/appendix/install/db_scripts
https://www.zabbix.com/documentation/2.4/manual/installation/install