Update install
This commit is contained in:
@@ -283,13 +283,9 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
||||
tar -xzvf 1.13.35.2-x64.tar.gz; rm -Rf 1.13.35.2-x64.tar.gz
|
||||
|
||||
#LuaJIT Library
|
||||
cd /opt/nginx/modules/
|
||||
git clone http://luajit.org/git/luajit-2.0.git
|
||||
cd luajit-2.0/
|
||||
make -j`nproc`
|
||||
sudo make install
|
||||
cd /opt/nginx/modules/; wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz; tar -zxvf LuaJIT-2.0.5.tar.gz; cd LuaJIT-2.0.5; make install PREFIX=/usr/local/LuaJIT
|
||||
ldconfig
|
||||
|
||||
|
||||
cd /opt/nginx/modules/
|
||||
wget https://github.com/nbs-system/naxsi/archive/master.zip
|
||||
unzip master.zip; rm -Rf master.zip
|
||||
@@ -461,11 +457,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
||||
tar -xzvf 1.13.35.2-x64.tar.gz; rm -Rf 1.13.35.2-x64.tar.gz
|
||||
|
||||
#LuaJIT Library
|
||||
cd /opt/nginx/modules/
|
||||
git clone http://luajit.org/git/luajit-2.0.git
|
||||
cd luajit-2.0/
|
||||
make -j`nproc`
|
||||
sudo make install
|
||||
cd /opt/nginx/modules/; wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz; tar -zxvf LuaJIT-2.0.5.tar.gz; cd LuaJIT-2.0.5; make install PREFIX=/usr/local/LuaJIT
|
||||
ldconfig
|
||||
|
||||
#Naxsi Mod
|
||||
@@ -491,9 +483,9 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
||||
# Download Nginx
|
||||
mkdir -p /opt/nginx/sources/
|
||||
cd /opt/nginx/sources/
|
||||
wget 'http://nginx.org/download/nginx-1.15.5.tar.gz'
|
||||
tar -xzvf nginx-1.15.5.tar.gz; rm -Rf nginx-1.15.5.tar.gz
|
||||
cd /opt/nginx/sources/nginx-1.15.5/
|
||||
wget 'http://nginx.org/download/nginx-1.19.9.tar.gz'
|
||||
tar -xzvf nginx-1.19.9.tar.gz; rm -Rf nginx-1.19.9.tar.gz
|
||||
cd /opt/nginx/sources/nginx-1.19.9/
|
||||
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/nbuild.sh
|
||||
chmod +x nbuild.sh
|
||||
./nbuild.sh
|
||||
|
||||
Reference in New Issue
Block a user