怎样启动Nginx并设置开机自动运行

1. 启动

sudo systemctl start nginx.service

2. 设置开机自动运行

sudo systemctl enable nginx.service
原文地址:https://www.cnblogs.com/aisowe/p/11647614.html