linux下启动nginx出现Failed to start nginx.service:unit not found错误的原因就是没有添加nginx服务,所以启动失败。解决方法:https://www.cnblogs.com/ansibee/p/8087476.html