一、准备
Nginx版本:nginx-1.7.7.tar.gz;请自行到官网下载,本文是基于CentOS安装的。
二、安装步骤
①新建一个ant用户
[root@localhost /]# useradd ant -d /ant
②设置新用户密码,出现以下提示信息,按照提示,进行操作
[root@localhost /]# passwd ant
更改用户 ant 的
Nginx版本:nginx-1.7.7.tar.gz;请自行到官网下载,本文是基于CentOS安装的。
[root@localhost /]# useradd ant -d /ant
[root@localhost /]# passwd ant
更改用户 ant 的