The following fetches the source code for the Pound reverse proxy and load balancer into a new directory under the current directory and builds it.
-
Install the necessary packages
sudo apt install -y git gcc make autoconf automake libssl-dev libpcre3-dev openssl -
Clone the repo. There are multiple sources, choose the one you want. Both provide support for OpenSSL >= 1.1 and WebSockets. Only perform one of the following commands.
a. patrodyne – a fork of Pound.
git clone https://github.com/patrodyne/pound/b. graygnuorg – This branch was 16 commits behind
patrodyneas of April 20, 2019:git clone https://github.com/graygnuorg/pound -
Change to the source directory
cd pound -
Read the additional instructions, which can be confusing and are incomplete:
cat README-QUICKHere is what you need to do to finish building Pound:
-
Bootstrap the project
autoreconf -f -i -s -
Configure pound and install pound into its usual location (
/usr/sbin):./configure --prefix=/usr --sysconfdir=/etcTo install pound into to
/usr/local/sbininstead:./configure --prefix=/usr --sysconfdir=/etc -
Build pound. This can take some time due to generation of Diffie-Hellman parameters:
makeIf your copy of
gccis recent you will get a bunch of warnings which can be ignored:warning: ignoring return value of 'read' warning: ignoring return value of 'write' -
Install pound:
sudo make install