Showing posts with the label Zabbix

Install Zabbix 4.0, Latest Nginx, Latest PHP, Latest MariaDB on CnetOS 7

# Hello,
# Date Wed Jun 12 08:16:24 PDT 2019
# Version 3
# SERVER_IP= IP of Server
# ZBPASSWORD= MySQL Zabbix User Password
# below commands must be executed as root . so I wont use sudo for the sake of portability .

# 1 - Installing Zabbix, MySQL (MariaDB), Nginx,  from repos

# 1A - Zabbix 4.0 LTS

#>>>>>>>> BEGIN of Blind copy/paste
rpm -Uvh
yum clean all  -y

yum install epel-release -y
yum install -y
yum install -y yum-utils
yum-config-manager --disable remi-php54
yum-config-manager --enable remi-php73

# below command will install all zabbix requirments including php and apache (apache will be disabled later)
yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent php-fpm php-opcache curl

cat <<EOF > /etc/yum.repos.d/mariadb.repo
name = MariaDB
baseurl =…