1. 启动
sudo systemctl start nginx.service
2. 设置开机自动运行
sudo systemctl enable nginx.service
怎样启动Nginx并设置开机自动运行
原文:https://www.cnblogs.com/aisowe/p/11647614.html