Install HAProxy on OSX Mojave

Yusuf Fachroni
2 min readSep 26, 2019

--

  1. Press Command+Space and type Terminal and press enter/return key. You also can use iTerm.
  2. Run command below:

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

3. Execute brew install haproxy

4. Create file haproxy.cfg, you can googling example of this file, you can also add the statistic report by add this line’s into configurable file

5. Run haproxy with sudo haproxy -f haproxy.cfg

6. Now let’s check the statistic report by access http://192.168.1.100:1936 with browser

--

--

Yusuf Fachroni
Yusuf Fachroni

Written by Yusuf Fachroni

Programmer, Illustrator, Kamen Rider

No responses yet