×


Linux Resources


Top 5 Open-Source Load Balancers 2021

This article reviews the Best Open Source Load Balancers. Load Balancing software assists virtual appliances in monitoring and distributing excess traffic. It helps network administrators and data centers maintain constant loading speed. The load balancing software is used to convey network traffic to specific servers with accurate configurations. 


Load Balancing Algorithms Types:

  • Round-robin Algorithm – The simplest method involves moving the requests within the same order to available servers. 
  • Least-time Algorithm – It selects servers supported by the smallest amount of active requests and the fastest processing speed. The algorithm integrates with powerful algorithms to give the server higher memory, capacity, and power. 
  • Least-connections Algorithm – This algorithm sends requests to servers with the smallest amount of workload. The algorithm sends requests to the smallest amount of busy servers. 
  • Hash-based Algorithm – It assists a hash key to the client and server IP addresses. The algorithm ensures that user's requests are sent to the identical servers containing data from the previous sessions. This ends up in an efficient network resource delivery.


Install PHP 7.3 on Ubuntu 18.04 - Step by Step Process ?

This article covers how to install PHP 7.3 on Ubuntu 18.04 server. Also, you will learn how to configure PHP with Apache and Nginx web servers. 


How to Install PHP 7.4 on Ubuntu ?

Use the following set of commands to enable PPA for PHP 7.4 in your Ubuntu system and install it. You can use this version for production use also.

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install -y php7.4

Now use the following command to check installed php version on your system.

$ php -v 


How to Install PHP 7 Modules ?

You can install the required PHP modules on your system as below command:

$ sudo apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2-xsl


Secure Nginx with Let's Encrypt on Ubuntu 18.04 - How to do it ?

This article covers how to install certbot client, obtain Let's Encrypt SSL certificate and configured to Nginx to use the certificates. Also, you will learn how to set up a cronjob for automatic certificate renewal.

Let's Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. 


To Install Certbot on Ubuntu:

1. First, add the repository.

$ sudo add-apt-repository ppa:certbot/certbot

You'll need to press ENTER to accept.

2. Install Certbot's Nginx package with apt:

$ sudo apt install python-certbot-nginx


Configure Nginx Server Blocks on Ubuntu 18.04

This article covers how to create an Nginx server blocks to host multiple website on a single Ubuntu machine. When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server.


Install LEMP Stack on CentOS 7 - Step by Step Process ?

This article covers how to install LEMP stack on CentOS 7. LEMP stands for the Linux operating system, with the ENginx web server (which replaces the Apache component of a LAMP stack). The site data is stored in a MySQL-based database, and dynamic content is processed by PHP.

A LEMP software stack is basically a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps.


To install Nginx on CentOS:

1. Add the CentOS 7 EPEL repository, run the following command:

$ sudo yum install epel-release

2. Now that the EPEL repository is installed on your server, install Nginx using the following yum command:

$ sudo yum install nginx

3. Once the installation is finished, start the Nginx service with:

$ sudo systemctl start nginx


Install phpMyAdmin with Nginx on CentOS 7 - Step by Step Process ?

This article covers how to install phpMyAdmin with Nginx on CentOS 7 system. phpMyAdmin helps to handle the database administration of MySQL, MariaDB and Drizzle servers over the web. It basically provides the intuitive web interface and supports most of the MySQL features to create and drop databases, create/drop/alter tables, delete/edit/add columns, execute any SQL statement and to manage indexes on columns.


To install phpMyAdmin, run the following commands:

# yum install epel-release
# yum install phpmyadmin


To restart nginx, mariadb and php-fpm services, run the following commands:

# systemctl restart mariadb.service
# systemctl restart nginx.service
# systemctl restart php-fpm.service

Search by typing a one letter Word Term Here