cd /usr/local/nginx/sbin/./nginx 访问你的项目就行了,查看是否启动` 安装的话参考大佬的:https://blog.csdn.net/qq_45752401/article/details/122660965