Posts

Showing posts from January, 2020

Load balancing with Pound

Pound is a reverse-proxy load balancing server. It accepts requests from HTTP/HTTPS clients and distributes them to one or more Web servers. The HTTPS requests are decrypted and passed to the back-ends as plain HTTP. If more than one back-end server is defined, Pound chooses one of them randomly, based on defined priorities. By default, Pound keeps track of associations between clients and back-end servers (sessions). Pound can be installed in CentOS with the following command: # yum install epel-release -y # yum install Pound -y Pound can be then configured by editing the file /etc/pound.cfg In case you are using ubuntu, you can install with the following command: # apt-get install pound Then edit the configuration file /etc/pound/pound.cfg You can find an example use of Load Balancing with Pound here. The example uses two NGINX server as backend and uses CentOS with Pound for the reverse-proxy load balancing. The very basic configuration used is as: Daemon 0

How to install VirtualBox6 in CentOS 8

Image
VirtualBox is a free and open-source hosted hypervisor developed by Oracle Corporation. It runs on Linux, Windows, Mac, and Solaris hosts supporting a large number of guest operating systems. You will find several blog posts about the installation of VirtualBox in the older version of CentOS. Since, CentOS 8 came around two months ago in September 2019, in this post, I will be showing the steps to install VirtualBox 6 in CentOS 8. First of all let’s install the header and development tools: $ sudo yum install -y kernel-devel kernel-headers gcc make perl Now download and import oracle’s public key, this will be used for gpgcheck which verifies the authenticity of the package: $ sudo wget https://www.virtualbox.org/download/oracle_vbox.asc $ sudo rpm --import oracle_vbox.asc VirtualBox is not available in the main repo of CentOS, therefore we need to add the repo that provides VirtualBox. To download virtual box repo run the following command: $ sudo wget http://d