在安裝nginx時咱們先建立用戶useradd -s /sbin/nologin -M nginxnginx
否則會報nginx: [emerg] getpwnam("nginx") failed,沒有nginx.pidget