0-systemctl开机启动项
防火墙:iptables Apache服务名称:httpd MySQL服务名称:mysqld VSFTP服务名称:vsftpd
<!--CentOS7新指令-->
使某服务 自动启动 systemctl enable httpd.service
使某服务 不自动启动 systemctl disable httpd.service
检查服务 状态 systemctl is-active httpd.service(仅显示是否 Active)systemctl status httpd.service(服务详细信息)
显示所有 已启动的服务 systemctl list-units --type=service
启动某服务 systemctl start httpd.service
停止某服务 systemctl stop httpd.service
重启某服务 systemctl restart httpd.service
 
                    
                 
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号