Uninstall haproxy 1.5
yum remove haproxy
install software collection repository
yum install centos-release-scl
install haproxy 1.8
rh-haproxy18-haproxy-syspaths adalah system wrapper untuk paket haproxy 1.8
yum install rh-haproxy18-haproxy rh-haproxy18-haproxy-syspaths
copy file konfigurasi haproxy 1.5 untuk digunakan lagi di versi 1.8
ls -l /etc/haproxy/
mv /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg.original
cp /etc/haproxy/haproxy.cfg.rpmsave /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg
jalankan haproxy 1.8
systemctl start rh-haproxy18-haproxy
cek status haproxy 1.8
systemctl status rh-haproxy18-haproxy
systemctl enable rh-haproxy18-haproxy
yum remove haproxy
install software collection repository
yum install centos-release-scl
install haproxy 1.8
rh-haproxy18-haproxy-syspaths adalah system wrapper untuk paket haproxy 1.8
yum install rh-haproxy18-haproxy rh-haproxy18-haproxy-syspaths
copy file konfigurasi haproxy 1.5 untuk digunakan lagi di versi 1.8
ls -l /etc/haproxy/
mv /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg.original
cp /etc/haproxy/haproxy.cfg.rpmsave /etc/opt/rh/rh-haproxy18/haproxy/haproxy.cfg
jalankan haproxy 1.8
systemctl start rh-haproxy18-haproxy
cek status haproxy 1.8
systemctl status rh-haproxy18-haproxy
systemctl enable rh-haproxy18-haproxy