转自:https://www.linuxidc.com/Linux/2018-11/155507.htm
sudo apt install apache2 --------------安装apache2
apache2 -version --------------验证安装版本
sudo systemctl status apache2 --------------检验运行状态
http://server_IP ------------在浏览器中验证
转自:https://www.linuxidc.com/Linux/2018-11/155507.htm
sudo apt install apache2 --------------安装apache2
apache2 -version --------------验证安装版本
sudo systemctl status apache2 --------------检验运行状态
http://server_IP ------------在浏览器中验证