mirror of https://github.com/Aidaho12/haproxy-wi
parent
c3c0f8acab
commit
ad38eb5305
|
@ -35,7 +35,7 @@ if hash apt-get 2>/dev/null; then
|
|||
sudo apt-get install haproxy socat -y
|
||||
else
|
||||
#wget http://cbs.centos.org/kojifiles/packages/haproxy/1.8.1/5.el7/x86_64/haproxy18-1.8.1-5.el7.x86_64.rpm
|
||||
wget http://au1.mirror.crc.id.au/repo/el7-extra/x86_64/haproxy-1.9.1-1.el7.x86_64.rpm
|
||||
wget http://au1.mirror.crc.id.au/repo/el7-extra/x86_64/haproxy-1.9.7-1.el7.x86_64.rpm
|
||||
#sudo yum install haproxy18-1.8.1-5.el7.x86_64.rpm -y
|
||||
sudo yum install haproxy-1.9.1-1.el7.x86_64.rpm -y
|
||||
fi
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
if hash apt-get 2>/dev/null; then
|
||||
sudo apt install libevent-dev apache2-dev libpcre3-dev libxml2-dev gcc -y
|
||||
else
|
||||
wget -O /tmp/yajl-devel-2.0.4-4.el7.x86_64.rpm http://rpmfind.net/linux/centos/7.5.1804/os/x86_64/Packages/yajl-devel-2.0.4-4.el7.x86_64.rpm >> /dev/null
|
||||
wget -O /tmp/yajl-devel-2.0.4-4.el7.x86_64.rpm http://rpmfind.net/linux/centos/7.6.1810/os/x86_64/Packages/yajl-devel-2.0.4-4.el7.x86_64.rpm >> /dev/null
|
||||
wget -O /tmp/libevent-devel-2.0.21-4.el7.x86_64.rpm http://mirror.centos.org/centos/7/os/x86_64/Packages/libevent-devel-2.0.21-4.el7.x86_64.rpm >> /dev/null
|
||||
sudo yum install /tmp/libevent-devel-2.0.21-4.el7.x86_64.rpm /tmp/yajl-devel-2.0.4-4.el7.x86_64.rpm httpd-devel libxml2-devel gcc curl-devel -y >> /dev/null
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue