Update install
This commit is contained in:
@@ -136,9 +136,9 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
# Download Nginx
|
# Download Nginx
|
||||||
mkdir -p /opt/nginx/sources/
|
mkdir -p /opt/nginx/sources/
|
||||||
cd /opt/nginx/sources/
|
cd /opt/nginx/sources/
|
||||||
wget 'http://nginx.org/download/nginx-1.15.5.tar.gz'
|
wget "http://nginx.org/download/nginx-$nginxVersion.tar.gz"
|
||||||
tar -xzvf nginx-1.15.5.tar.gz; rm -Rf nginx-1.15.5.tar.gz
|
tar -xzvf nginx-$nginxVersion.tar.gz; rm -Rf nginx-$nginxVersion.tar.gz
|
||||||
cd /opt/nginx/sources/nginx-1.15.5/
|
cd /opt/nginx/sources/nginx-$nginxVersion/
|
||||||
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
||||||
chmod +x nbuild.sh
|
chmod +x nbuild.sh
|
||||||
./nbuild.sh
|
./nbuild.sh
|
||||||
@@ -329,9 +329,9 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
# Download Nginx
|
# Download Nginx
|
||||||
mkdir -p /opt/nginx/sources/
|
mkdir -p /opt/nginx/sources/
|
||||||
cd /opt/nginx/sources/
|
cd /opt/nginx/sources/
|
||||||
wget 'http://nginx.org/download/nginx-1.14.0.tar.gz'
|
wget "http://nginx.org/download/nginx-$nginxVersion.tar.gz"
|
||||||
tar -xzvf nginx-1.14.0.tar.gz; rm -Rf nginx-1.14.0.tar.gz
|
tar -xzvf nginx-$nginxVersion.tar.gz; rm -Rf nginx-$nginxVersion.tar.gz
|
||||||
cd /opt/nginx/sources/nginx-1.14.0/
|
cd /opt/nginx/sources/nginx-$nginxVersion/
|
||||||
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
||||||
chmod +x nbuild.sh
|
chmod +x nbuild.sh
|
||||||
./nbuild.sh
|
./nbuild.sh
|
||||||
@@ -409,7 +409,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
echo "./setup clean"
|
echo "./setup clean"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
nginxVersion=$(curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/v2/data/nginxVersion)
|
nginxVersion=$(curl -s https://raw.githubusercontent.com/theraw/The-World-Is-Yours/data/nginxVersion)
|
||||||
|
|
||||||
apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y;
|
apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y;
|
||||||
apt-get install sudo -y
|
apt-get install sudo -y
|
||||||
@@ -515,9 +515,9 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
# Download Nginx
|
# Download Nginx
|
||||||
mkdir -p /opt/nginx/sources/
|
mkdir -p /opt/nginx/sources/
|
||||||
cd /opt/nginx/sources/
|
cd /opt/nginx/sources/
|
||||||
wget 'http://nginx.org/download/nginx-1.15.5.tar.gz'
|
wget "http://nginx.org/download/nginx-$nginxVersion.tar.gz"
|
||||||
tar -xzvf nginx-1.15.5.tar.gz; rm -Rf nginx-1.15.5.tar.gz
|
tar -xzvf nginx-$nginxVersion.tar.gz; rm -Rf nginx-$nginxVersion.tar.gz
|
||||||
cd /opt/nginx/sources/nginx-1.15.5/
|
cd /opt/nginx/sources/nginx-$nginxVersion/
|
||||||
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
||||||
chmod +x nbuild.sh
|
chmod +x nbuild.sh
|
||||||
./nbuild.sh
|
./nbuild.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user