×

Step by step process to install and configure HAproxy on Ubuntu 20.04 LTS ?

This article will guide you on how to #install and configure #HAproxy load balancer on the #Linux system. 

You will learn the basic setup and configuration of HAproxy as a load balancer for #Apache web servers. Also, we looked at some commands for managing the HAproxy server. In the end, we tested the load balancing through the browser and the #curl command. 

HAProxy is free, open source #software that provides a high availability #load #balancer and proxy server for #TCP and HTTP-based applications that spreads requests across multiple servers.

To Deploy on Linux :

1. Download the source code of HAProxy.

2. Unzip the file into the desired location tar xvzf haproxy-1.8-dev1.

3. Compile the source code.

4. Create config file haproxy.cfg with the configuration details.

5. Start the haproxy with ./haproxy -f haproxy.

6. Access the status page on http:localhost:9999/stats.


Step by step process to configure Squid Proxy Server on Ubuntu 20.04 LTS ?

This article will guide you on how to configure Squid #proxy server on a Linux system. There is a lot more you can do with Squid proxy server. 

Although primarily used for HTTP and FTP, #Squid includes limited support for several other protocols including Internet Gopher, SSL, TLS and HTTPS. Squid does not support the #SOCKS protocol, unlike Privoxy, with which Squid can be used in order to provide SOCKS support.

The squid. conf file defines the configuration for squid. The configuration includes (but not limited to) HTTP port number, the ICP request port number, incoming and outgoing requests, information about #firewall access, and various timeout information.

To connect Squid proxy:

i. Tools>Options>Advanced>Network>Settings.

ii. Select Manual proxy configuration and tick the 'use this proxy server for all protocols' box.

iii. Under HTTP Proxy: add the squid listening IP address, 10.0. 0.1. In the Port: section add the squid listening port 3128.

iv. Click OK to save the changes.


Steps to install the latest Squid Proxy Server on Ubuntu 20.04 LTS ?

This article will guide you on steps to #install the Squid proxy server on your #Linux machine. You will also learn how to uninstall the Squid #proxy server in the #Ubuntu #machine and manage Squid services.

Squid is a caching proxy for the Web supporting HTTP, #HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.

It is most often used in conjunction with a traditional LAMP stack (Linux, Apache, MySQL, PHP), and can be used to filter traffic on #HTTP, FTP, and HTTPS, and increase the speed (thus lower the response time) for a web server via caching.

To clear #squid proxy cache:

1. Stop the #httpd and squid services.

2. Delete the contents of the cache as follows: # rm -Rf /var/cache/rhn/*

3. Restart the squid and httpd services.


Easy method to install and configure Squid Proxy on CentOS 7 Server

In this article, you will learn how to install Squid and steps to configure the Squid Proxy port and adjusting the access control list.