安装与部署Zabbix
永久关闭selinux
[root@localhost ~]# vi /etc/selinux/config
修改SELINUX=disabled 保存
reboot 重启,执行sestatus查看状态
##关闭防火墙
临时关闭:systemctl stop firewalld.service
查看防火墙状态:firewall-cmd --state
永久关闭:systemctl disable firewalld.service
安装环境
1、安装apache
yum install -y httpd
httpd服务添加开机启动
systemctl enable httpd.service
启动httpd服务
systemctl startus httpd.service
2、安装mariadb
yum install -y mariadb mariadb-server
设置开机启动
systemctl enable mariadb.service
运行服务
systemctl start mariadb.service
systemctl status mariadb.service