diff --git a/README.md b/README.md index 47401486..f208af7b 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Began to lead a [Twitter](https://twitter.com/haproxy_wi), subscribe! I will wri 22. Metrics incoming connections 23. Web acceleration settings 24. Web application firewall +25. LDAP support ![alt text](image/haproxy-wi-metrics.jpeg "Merics") diff --git a/install.sh b/install.sh index c209874e..4ef269fc 100644 --- a/install.sh +++ b/install.sh @@ -40,7 +40,7 @@ echo "" echo "################################" if hash apt-get 2>/dev/null; then - apt-get install git net-tools lshw dos2unix apache2 gcc netcat python3.5 python3-pip g++ freetype2-demos libatlas-base-dev openldap-dev -y + apt-get install git net-tools lshw dos2unix apache2 gcc netcat python3.5 python3-pip g++ freetype2-demos libatlas-base-dev openldap-dev libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev python3-dev -y HTTPD_CONFIG="/etc/apache2/apache2.conf" HAPROXY_WI_VHOST_CONF="/etc/apache2/sites-enabled/haproxy-wi.conf" HTTPD_NAME="apache2" diff --git a/update.sh b/update.sh index 45e618ff..1c462313 100644 --- a/update.sh +++ b/update.sh @@ -15,7 +15,7 @@ chmod +x app/*py chmod +x app/tools/*py if hash apt-get 2>/dev/null; then - apt-get install git net-tools lshw dos2unix apache2 gcc netcat python3-pip gcc-c++ openldap-devel -y + apt-get install git net-tools lshw dos2unix apache2 gcc netcat python3-pip gcc-c++ openldap-devel libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev python3-dev -y else yum -y install https://centos7.iuscommunity.org/ius-release.rpm yum -y install git nmap-ncat net-tools python35u dos2unix python35u-pip httpd python35u-devel gcc-c++ openldap-devel