/usr/local/apache/bin/apachectl start
关闭:
ps -ef | grep httpd | grep -v grep | awk '{print $2}' | sed -e "s/^/kill -9 /g" | sh -
/usr/local/apache/bin/apachectl start
关闭:
ps -ef | grep httpd | grep -v grep | awk '{print $2}' | sed -e "s/^/kill -9 /g" | sh -