一、更新操作系统

sudo apt-get update && sudo apt-get upgrade

二、安装Apache及依赖
sudo apt-get install apache2 apache2-doc apache2-utils
三、禁用默认的APache虚拟主机
sudo a2dissite 000-default.conf

四、启动Apache服务器
service apache2 reload


Apache配置文件目录
/etc/apache2目录

相关文章:

  • 2022-12-23
  • 2021-09-11
  • 2021-06-20
  • 2021-06-27
  • 2021-07-01
  • 2022-01-04
  • 2021-10-08
猜你喜欢
  • 2021-09-21
  • 2022-12-23
  • 2021-07-23
  • 2021-09-29
  • 2021-08-27
  • 2021-06-20
  • 2021-07-02
相关资源
相似解决方案