之前的centOS版本过高,需要自己配置一些东西。
由于之前都用的Ubuntu,现在用Ubuntu尝试一下。
先去控制台换操作系统:
sudo apt-get update
sudo apt-get install apache2
去网页看看是否已经配置好
sudo /etc/init.d/apache2 stop #关闭服务
#/etc/apache2/apache2.conf 配置文件所在位置。
abysw 2020-10-14 16:18 原文
之前的centOS版本过高,需要自己配置一些东西。
由于之前都用的Ubuntu,现在用Ubuntu尝试一下。
先去控制台换操作系统:
sudo apt-get update
sudo apt-get install apache2
去网页看看是否已经配置好
sudo /etc/init.d/apache2 stop #关闭服务
#/etc/apache2/apache2.conf 配置文件所在位置。