linux命令收录

启动MySQL服务:
service mysqld start (5.0版本是mysqld)
service mysql start (5.5.7版本是mysql)

防火墙:
firewall-cmd --state 查看firewall状态

  service iptables status #查看状态
  service iptables stop #停止
  chkconfig iptables off #禁用
原文地址:https://www.cnblogs.com/xbj-2016/p/7645945.html