本文迁移地址:https://blog.muumlover.com/2016/11/apache2-setup.html
sudo apt-get install apache2 apache2-utils
配置apache端口为8080
vim /etc/apache2/ports
修改内容如下
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 8080
<IfModule ssl_module>