CentOS 8 安裝 Zabbix server 4.4 與LEMP環境
LEMP環境建置部分 安裝nginx yum -y install nginx 安裝php yum -y install php php-fpm php-mysqlnd php-opcache php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel 安裝MariaDB(MySQL) yum -y install mariadb-server mariadb 記得用mysql_secure_installation更改root密碼 開通防火牆 firewall-cmd –permanent –add-service=http firewall-cmd –permanent –add-service=https firewall-cmd –permanent –add-port=3306/tcp firewall-cmd –reload 開機自動啟動 systemctl enable mariadb systemctl enable php-fpm systemctl enable nginx 啟動 systemctl start php-fpm systemctl start nginx systemctl start mariadb Zabbix 4.4部分 安裝repo rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm dnf clean all 安裝相關套件 yum -y install zabbix-server-mysql zabbix-agent zabbix-nginx-conf zabbix-web-mysql 登入mysql建立資料庫 mysql -uroot -p password mysql> create database zabbix character set utf8 collate utf8_bin; mysql> grant all privileges on zabbix.*...