Zabbix:Installation A
From TBwiki
(Difference between revisions)
| Line 14: | Line 14: | ||
Make sure to configure your hostname "myZabbixHost" to /etc/hosts | Make sure to configure your hostname "myZabbixHost" to /etc/hosts | ||
| − | 2. Configure services to | + | 2. Configure services to automatically starts on reboot of the server |
| − | chkconfig mysqld on | + | # chkconfig mysqld on |
| − | chkconfig zabbix-server on | + | # chkconfig zabbix-server on |
| − | chkconfig zabbix-agent on | + | # chkconfig zabbix-agent on |
| − | chkconfig httpd on | + | # chkconfig httpd on |
| + | |||
| + | 3. Disable SELinux | ||
| + | # setenforce 0 | ||
| + | |||
| + | Edit /etc/selinux/config and set SELINUX to disabled: | ||
| + | # vi /etc/selinux/config | ||
| + | SELINUX=disabled | ||
| + | |||
| + | 4. Configure the Zabbix front end | ||
Revision as of 04:19, 28 November 2014
This procedure applies to Zabbix v.2.4 on CentOS6
1. Follow RedHat/CentOS installation procedure from Zabbix documentation
Note: It is possible that you might get the following error while starting httpd on a new CentOS installation:
# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for myZabbixHost httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Make sure to configure your hostname "myZabbixHost" to /etc/hosts
2. Configure services to automatically starts on reboot of the server
# chkconfig mysqld on # chkconfig zabbix-server on # chkconfig zabbix-agent on # chkconfig httpd on
3. Disable SELinux
# setenforce 0
Edit /etc/selinux/config and set SELINUX to disabled:
# vi /etc/selinux/config SELINUX=disabled
4. Configure the Zabbix front end