环境
Ubuntu: 20.04 LTS
Nginx: nginx version: nginx/1.18.0 (Ubuntu)
转载请注明, 转自 Canney : https://blog.csdn.net/canney_chen/article/details/114299853
安装Nginx
$ sudo apt install nginx
验证安装版本
$ sudo nginx -v
nginx version: nginx/1.18.0 (Ubuntu)
启动Nginx
$ sudo nginx
验证NGINX Open Source是否已启动并正在运行
$