
* adds lbaas interfaces * adds HAProxy implementation This commit makes refactoring for old python-based version of LbaaS and makes LbaaS-interface library and haproxy-based-lbaas packages deprecated. Change-Id: I93e0fbb59959a04b11adaf8fb13e901f3dfa61a4
14 lines
277 B
Bash
Executable File
14 lines
277 B
Bash
Executable File
sudo add-apt-repository ppa:vbernat/haproxy-1.5 -y
|
|
|
|
sudo apt-get update
|
|
sudo apt-get install -y haproxy
|
|
|
|
# Enabling HAProxy.
|
|
sudo sed -i 's/^ENABLED=.*/ENABLED=1/' /etc/default/haproxy
|
|
|
|
sudo chown -R $USER:$USER /etc/haproxy
|
|
|
|
# Starting HAProxy.
|
|
#sudo service haproxy restart
|
|
|