Things to install:
- Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Verify that Homebrew is installed by running:
brew --version- HAProxy
Use Homebrew to install HAProxy by running the following command:
brew install haproxyVerify that HAProxy was installed correctly:
haproxy -vTo start HAProxy server:
haproxy -f haproxy/haproxy.cfgTo check if HAProxy server is running on port 5009:
lsof -i :5009 -PTo kill the HAProxy server --> kill of HAProxy process from above command