服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Linux - linux下远程重启apache的方法

linux下远程重启apache的方法

2020-03-11 17:00Linux教程网 Linux

很简单,首先需要putty。软件自己找。

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

接着输入命令:/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 

延伸 · 阅读

精彩推荐