安装apache2

sudo apt install apache2
#打开防火墙端口
sudo ufw allow 80
sudo service apache2 start
ip addr | grep eth0 #see ip address