1.apache启动命令:service httpd start
apache重新启动命令:service httpd restart
apache停止命令:service httpd stop
检查apache是否启动:netstat -nltup |grep httpd
2.ssh连接:ssh -A -p 22 用户名@ip
1.apache启动命令:service httpd start
apache重新启动命令:service httpd restart
apache停止命令:service httpd stop
检查apache是否启动:netstat -nltup |grep httpd
2.ssh连接:ssh -A -p 22 用户名@ip
转载于:https://www.cnblogs.com/Aaronqcd/p/5274643.html