Update nginx-compile.sh
This commit is contained in:
parent
18c074fafa
commit
f88502112b
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
MAIN_DIR=$(pwd)
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
apt install build-essential dpkg-dev debhelper autotools-dev libgeoip-dev libssl-dev libpcre3-dev zlib1g-dev
|
apt install build-essential dpkg-dev debhelper autotools-dev libgeoip-dev libssl-dev libpcre3-dev zlib1g-dev
|
||||||
|
|
||||||
|
@ -21,5 +23,6 @@ sudo mkdir usr/local
|
||||||
sudo mkdir usr/local/alphax
|
sudo mkdir usr/local/alphax
|
||||||
|
|
||||||
sudo mv /usr/local/alphax/nginx usr/local/alphax
|
sudo mv /usr/local/alphax/nginx usr/local/alphax
|
||||||
|
cp $MAIN_DIR/control DEBIAN
|
||||||
|
cd DEBIAN
|
||||||
ls
|
ls
|
||||||
|
|
Loading…
Reference in a new issue