在Linux系统下搭建web服务器,就是通过装Apache或者Nginx 实现。在这里,我使用的是Apache实现。
通过命令
sudo apt-get install apache2
安装Apache 服务器。
打开浏览器,输入http://localhost 或者自己的公网IP。看到这样的图像即说明安装成功。