- Linux Resources
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:
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
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
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.
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
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