apt-get install apache2 -y
sudo apt-get install apache2-dev #Apxs
sudo systemctl status apache2 #检查运行状态
sudo service apache2 start
sudo service apache2 restart #重启
apt-get install apache2 -y
sudo apt-get install apache2-dev #Apxs
sudo systemctl status apache2 #检查运行状态
sudo service apache2 start
sudo service apache2 restart #重启