下载Nginx
wget http://nginx.org/download/nginx-1.12.2.tar.gz
一、安装nginx时必须先安装相应的编译工具
[root@xuegod63~]#yum-yinstallgccgcc-c++autoconfautomake
gcc c语言编译器
gcc-c++c++语言编译器
autoconfautomake 用于make编译的工具