2020年7月30日 星期四

阿里雲ECS主機架設Zabbix3.2 監控


Zabbix3.2創建教學

這邊所使用的作業系統版本為Centos7.4 安裝zabbix3.2,整個流程將由以下內容詳細說明。

關閉「Selinux



         這邊我先輸入getenforce 確認Selinux是否為Disabled狀態。


如果不是,則輸入以下指令
vi /etc/sysconfig/selinux
將圖片中的將圖片中的selinux= 後面改為disabled,儲存後然後reboot電腦


安裝「Apache
                            輸入yum install httpd



接下來,設定啟動httpd以及開機自動啟動httpd
指令為以下
Systemctl start httpd
Systemctl enable httpd

安裝 「MySQL (MariaDB)

指令為yum install mariadb-server mariadb
安裝過程中會出現選項皆輸入 y




安裝好以後,設定啟動以及開機自動啟動MariaDB 指令為以下
systemctl start mariadb
systemctl enable mariadb

YUM」安裝「PHP


指令為yum install php php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpcphp-mbstring php-snmp php-soap curl curl-devel

一樣安裝過程中選項輸入 y



安裝好以後指令輸入 systemctl restart httpd.service 來重新啟動httpd.service


安裝「Zabbix 3.2Repository

安裝zabbix 3.2指令為以下兩條

rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm



沒有留言:

張貼留言

搜尋此網誌