mirror of https://github.com/Aidaho12/haproxy-wi
parent
259e0e10f6
commit
55ee044bef
|
@ -8,8 +8,6 @@ mv -f /tmp/haproxy-wi.cfg app/haproxy-wi.cfg
|
||||||
|
|
||||||
mkdir keys
|
mkdir keys
|
||||||
mkdir app/certs
|
mkdir app/certs
|
||||||
chmod +x app/*py
|
|
||||||
chmod +x app/tools/*py
|
|
||||||
|
|
||||||
if hash apt-get 2>/dev/null; then
|
if hash apt-get 2>/dev/null; then
|
||||||
apt-get install git net-tools lshw dos2unix apache2 gcc netcat mod_ssl python3-pip gcc-c++ openldap-devel libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev python3-dev -y
|
apt-get install git net-tools lshw dos2unix apache2 gcc netcat mod_ssl python3-pip gcc-c++ openldap-devel libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev python3-dev -y
|
||||||
|
@ -21,6 +19,9 @@ fi
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull https://github.com/Aidaho12/haproxy-wi.git
|
git pull https://github.com/Aidaho12/haproxy-wi.git
|
||||||
|
|
||||||
|
chmod +x app/*py
|
||||||
|
chmod +x app/tools/*py
|
||||||
|
|
||||||
cd app/
|
cd app/
|
||||||
./create_db.py
|
./create_db.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue