温馨提示×

linux如何启动apache服务器

小新
576
2021-04-27 12:44:21
栏目: 云计算

linux中启动apache服务器的方法:1、打开linux终端;2、在终端命令行中输入“sudo systemctl start httpd.service”命令启动apache服务器即可。

linux如何启动apache服务器

具体操作步骤:

1、在linux系统桌面中使用快捷键【Ctrl+Alt+T】打开linux终端命令行模式。

2、在linux终端命令行中输入以下命令启动apache服务器即可。

sudo systemctl start httpd.service #启动apache服务

相关操作命令:

sudo systemctl stop httpd.service 停止apache服务

sudo systemctl restart httpd.service #重启apache服务

0