Failed to start nginx.service: Unit not found.
安装Nginx后启动时报错:原因:是因为nginx没有将添加到系统服务,手动添加这个服务即可解决vim /etc/init.d/nginx将如下代码粘贴进去,然后保存退出。#!/bin/sh# nginx - this script starts and stops the nginx daemin## chkconfig: - 85 15# description: Nginx is an HTTP(S) server, HTTP(S) reverse \#