Task: Start Apache 2 Server /启动apache服务
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
Task: Restart Apache 2 Server /重启apache服务
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
Task: Stop Apache 2 Server /停止apache服务
# /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop
相关文章
- ubuntu12.04 配置apache+modwsgi+django1.5
- Linux dumpe2fs命令详解
- ubuntu16.04命令行模式黑屏解决办法
- ubuntu命令行启动浏览器_如何从终端启动默认Web浏览器?
- Linux Ubuntu22.04重启网卡命令ip link set enp8s0 down/up
- Ubuntu 常用命令50个含示例
- Ubuntu下新建文件和文件夹命令
- 在 WSL2 中使用 apt install cmake 命令时出现 “failed to fetch “ 错误的解决办法
- 2016030102 - Ubuntu软件安装与删除相关命令
- Ubuntu 18.04通过命令禁用/开启触控板