标签:ble pad install groupadd 安装 ring pass follow efi
#!/bin/shecho "-----------------------------------downloading nginx-------------------------------"
wget http://nginx.org/download/nginx-1.9.5.tar.gz
tar -xvf nginx-1.9.5.tar.gz
cd nginx-1.9.5
echo "------------------------------------configuring nginx,plz wait----------------------"
./configure --prefix=/usr/local/nginx
if [ $? -ne 0 ];then
echo "configure failed ,please check it out!"
else
echo "make nginx, please wait for 20 minutes"
make
fi
if [ $? -ne 0 ];then
echo "make failed ,please check it out!"
else
echo "install nginx, please wait for 20 minutes"
make install
fi
chown -R nginx.nginx /usr/local/nginx
ln -s /lib64/libpcre.so.0.0.1 /lib64/libpcre.so.1
/usr/local/nginx/sbin/nginx
iptables -I INPUT 3 -s 0.0.0.0/0 -p tcp --dport 80 -j ACCEPT
标签:ble pad install groupadd 安装 ring pass follow efi
原文地址:https://blog.51cto.com/11232190/2460744