卡饭网 > linux > 正文

linux下远程重启apache的方法

来源:本站整理 作者:梦在深巷 时间:2013-08-04 22:52:19

打开后输入服务器用户名密码登陆。

接着输入命令:/etc/rc.d/init.d/httpd restart

OK,就这么简单~~

LINUX下重启httpd服务,以及APACHE服务的方法

复制代码

代码如下:

/etc/init.d/httpd restart重启
/etc/init.d/httpd start 启动
/etc/init.d/httpd stop 停止
/usr/local/apache2/bin/apachectl -k restart

相关推荐