Linux系统(centos)下apache服务器命令行操作

    xiaoxiao2021-03-25  97

    apache安装位置为A。 当没把apache服务安装成linux服务时:

    A/apache/bin/apachectl restart 重启

    A/apache/bin/apachectl stop 关闭

    A/apache/bin/apachectl start 启动

    A/apache/bin/apachectl graceful 不中断当前已建立的链接重启服务器

    安装成linux服务时:

    service httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest} 一般我常用的也就上面四个。啧啧。

    转载请注明原文地址: https://ju.6miu.com/read-13405.html

    最新回复(0)