查看MySQL状态:
systemctl start mysqld #启用
systemctl stop mysqld #关闭
systemctl restart mysqld #重启MySQL服务
systemctl enable mysqld #开机自启
systemctl daemon-reload
systemctl disable mysqld #开机禁用
查看Zabbix状态:
systemctl restart zabbix-server zabbix-agent httpd #重启Zabbix服务
防火墙开启,关闭,查看:
systemctl start firewalld #启动
systemctl stop firewalld #关闭
systemctl status firewalld #查看状态
systemctl disable firewalld #开机禁用
systemctl enable firewalld #开机启用