如何在 ubuntu18.04安装nginx ? 参考官方文档:http://nginx.org/en/linux_packages.html#Ubuntu 稳定版安装示例: Install the prerequisites(安装必备组件): sudo apt install curl gnupg2 ca-certificates lsb-release To set up the apt repository for stable nginx packages, run the following comman…