#!/bin/bash
auto config nginx server
#by author www.jfedu.net
#2018年5月14日17:25:52
N_PAR="vim lrzsz perl perl-devel libxml2 libxml2-devel ncurses ncurses-devel gd gd-deve
l wget gcc gcc-c++ pcre pcre-devel ntp ntpdate openssl openssl-devel"
N_URL="http://nginx.org/download/nginx-1.14.0.tar.gz"
N_DIR="nginx-1.14.0.tar.gz"
N_PATH="nginx-1.14.0"
N_PREFIX="/usr/local/nginx"
N_VHOST=$1
if [ -d $N_PREFIX ];then
echo -e "