1.Install CentOS 6.5
Link Download : https://vault.centos.org/6.5/isos/x86_64/
Download File name : CentOS-6.5-x86_64-bin-DVD1.iso
ref:https://www.tecmint.com/centos-6-5-installation-guide-with-screenshots/
***18. Choose Desktop to install. Select Customize now further selection of softwares.
2.Install Zabbix 2.4
ref: https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages
vim /etc/selinux/config
SELINUX=disabled
reboot
yum install httpd httpd-devel mysql mysql-server mysql-devel php php-cli php-common php-devel php-pear php-gd php-mbstring php-mysql php-xml
service httpd start
service mysqld start
mysql_secure_installation
yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway
vim /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Bangkok
service httpd restart
mysql -u root -p
CREATE DATABASE zabbix CHARACTER SET UTF8;
GRANT ALL PRIVILEGES on zabbix.* to 'zabbix'@'localhost' IDENTIFIED BY '';
FLUSH PRIVILEGES;
quit;
cd /usr/share/doc/zabbix-server-mysql-2.4.1/create
mysql -u zabbix -p zabbix < schema.sql
mysql -u zabbix -p zabbix < images.sql
mysql -u zabbix -p zabbix < data.sql
service zabbix-server start
vim /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
service iptables restart
vim /etc/hosts
show ---> your host
- Comment