Linux怎么启动apache
导读:本文共1182字符,通常情况下阅读需要4分钟。同时您也可以点击右侧朗读,来听本文内容。按键盘←(左) →(右) 方向键可以翻页。
摘要: 基本的操作方法:本文假设你的apahce安装目录为/usr/local/apache2,这些方法适合任何情况apahce启动命令:推荐/usr/local/apache2/bin/apachectl start apaceh启动apache停止命令/usr/local/apache2/bin/apachectl stop 停止apache重新启动命令:/usr/... ...
目录
(为您整理了一些要点),点击可以直达。基本的操作方法:
本文假设你的apahce安装目录为/usr/local/apache2,这些方法适合任何情况
apahce启动命令:
推荐/usr/local/apache2/bin/apachectl start apaceh启动
apache停止命令
/usr/local/apache2/bin/apachectl stop 停止
apache重新启动命令:
/usr/local/apache2/bin/apachectl restart 重启
要在重启 Apache 服务器时不中断当前的连接,则应运行:
/usr/local/sbin/apachectl graceful
如果apache安装成为linux的服务的话,可以用以下命令操作:
service httpd start 启动
service httpd restart 重新启动
service httpd stop 停止服务
Linux系统为Ubuntu
一、Start Apache 2 Server /启动apache服务
#/etc/init.d/apache2start``or``$sudo/etc/init.d/apache2start
二、 Restart Apache 2 Server /重启apache服务
#/etc/init.d/apache2restart``or``$sudo/etc/init.d/apache2restart
三、Stop Apache 2 Server /停止apache服务
#/etc/init.d/apache2stop``or``$sudo/etc/init.d/apache2stop
</div> <div class="zixun-tj-product adv-bottom"></div> </div> </div> <div class="prve-next-news">
Linux怎么启动apache的详细内容,希望对您有所帮助,信息来源于网络。