haproxy:install-haproxy-2-centos-6
This is an old revision of the document!
Install Haproxy 2.x di Centos 6
Berikut ini adalah tahapan install haproxy 2.x di linux centos 6.x
sudo yum install gcc pcre-static pcre-devel -y yum install openssl-devel
Download haproxy 2.x
wget http://www.haproxy.org/download/2.0/src/haproxy-2.0.13.tar.gz tar xvzf haproxy-2.0.13.tar.gz cd haproxy-2.0.13
installasi
make TARGET=linux-glibc-legacy USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 USE_CRYPT_H=1 USE_LIBCRYPT=1
dan kemudian
make install
kemudian
sudo mkdir -p /etc/haproxy sudo mkdir -p /var/lib/haproxy sudo touch /var/lib/haproxy/stats sudo ln -s /usr/local/sbin/haproxy /usr/sbin/haproxy sudo cp examples/haproxy.init /etc/init.d/haproxy sudo chmod 755 /etc/init.d/haproxy sudo systemctl daemon-reload sudo chkconfig haproxy on sudo useradd -r haproxy haproxy -v cd /etc/haproxy/ vim haproxy.cfg haproxy -f haproxy.cfg systemctl start haproxy systemctl status haproxy
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |haproxy/install-haproxy-2-centos-6.1584795710.txt.gz · Last modified: 2020/03/21 09:01 by kbadmin