Add the official Zabbix 3.0 CentOS 7 repositories
rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhe...
Disable SELinux
setenforce 0
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
Installing Zabbix 3.0 Server, agent and web front-end
yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway -y
Install MariaDB Server, enable and start it
yum -y install mariadb-server mariadb
systemctl enable mariadb.service
systemctl start mariadb.service
Secure your MariaDB installation
mysql_secure_installation
enter
y (zabbix)
enter confirm password (zabbix)
y
y
y
y
Create your Zabbix database and user
mysql -uroot -pzabbix
MariaDB) create database zabbix character set utf8 collate utf8_bin;
MariaDB) grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
MariaDB) quit;
Import initial schema and data
cd /usr/share/doc/zabbix-server-mysql-3.0.7
zcat create.sql.gz | mysql -uroot -p zabbix
enter password (zabbix)
Configure Zabbix Server
vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
Esc
:wq! (enter)
Specify the timezone of your web front-end
vi /etc/httpd/conf.d/zabbix.conf
Esc
:wq! (enter)
Enable and start your Zabbix Server, agent and HTTPD service
systemctl enable zabbix-server
systemctl enable zabbix-agent
systemctl enable httpd
systemctl start zabbix-server
systemctl start zabbix-agent
systemctl start httpd
firewall-cmd --permanent --add-port=10050/tcp
firewall-cmd --permanent --add-port=10051/tcp
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload
systemctl restart firewalld
setsebool -P httpd_can_connect_zabbix=1
systemctl start zabbix-server
systemctl enable zabbix-server
systemctl start httpd
systemctl enable httpd
sudo systemctl restart httpd
http://192.168.1.80/zabbix/
-------------------------------------------------------------------------------------------------------
******************************************************************
Rango Za
/ @pj-ei6qb
Watch video Hot to Install Zabbix 3.0 On CenOS7 online without registration, duration hours minute second in high quality. This video was added by user PJ 14 February 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 339 once and liked it 1 people.