Stay hungry Stay foolish
Nginx在Ubuntu中的安装和简单配置使用
Step 1: Install Nginx
Nginx is available in Ubuntu's default repositories, so the installation is rather straight forward.
Since this is our first interaction with the apt packaging system in this session, we will update our local package index so that we have access to the most recent package listings. Afterwards, we can install nginx: