Install Web Server:

### CentOS 7 / RHEL 7 / Fedora 22 ###

# yum install httpd
# systemctl start httpd.service

Install Pound:

Now, Pound does not available in CentOS or RHEL 7 base repository, so you need to setup EPEL.

# yum install Pound

Configure Pound:

pound.cfg is the configuration file and can be found inside /etc directory, open up the configuration file to distribute the requests between two internal servers. If you don’t have SSL certificate installed on the Pound gateway, remove ListenHTTPS stanza.

Modify the configuration file.

ListenHTTP
 Address 102.108.12.10
 Port 80
End

### Remove below ListenHTTPS stanza, if you do not wish to balance HTTPS request.
ListenHTTPS
 Address 102.108.12.10
 Port 443
 Cert "/etc/ssl/pound.pem"
End

Service
 BackEnd
     Address 192.168.12.11
     Port 80
 End

 BackEnd
     Address 192.168.12.12
     Port 80
 End
End

Start the Pound service.

### CentOS 7 / RHEL 7 / Fedora 22 ###
# systemctl start  pound.service
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *