HAProxy is an open source software that functions as a load balancing and proxy for TCP and HTTP. Load balancing is a method for distributing traffic to multiple servers. 0.Equipment used Equipment used in this tutorial: OS Ubuntu 18.04 LTS HAProxy Nginx web server PHP-FPM 7.2 Node1: 10.130.127.167 Node2: 10.130.128.35 LoadBalancer: 18.104.22.168 Domain: defnex.com Node1 […]
Load Balancing is a mechanism for sharing or distributing traffic to multiple servers. Nginx in addition to functioning as a web server can also function as a load balancer. Load Balancing Method Round Robin: distributes traffic to each server in turn. Least Connections: distributes traffic to the server with the least active connections. IP Hash: […]
MySQL is an open source software for the Relational Database Management System. MySQL is one of the server application packages for websites that are often referred to as LAMP (Linux Apache MySQL PHP) servers. 0.Install MySQL Repository By default the MySQL version available on Ubuntu 18.04 is MySQL 5.7. In order to be able to […]
I have written about how to install Moodle on Ubuntu 18.04 on which web server which is used is the Apache web server. This time Moodle is installed on the Nginx web server. 1.Install Nginx Update Ubuntu then install Nginx
apt upgrade -y
apt install nginx -y
2.Install MariaDB Install MariaDB database
apt install mariadb-server -y
Secure the MariaDB installation
Answer the question […]
ionCube is an application tool for PHP Encoder, which protects and encrypts the source code or PHP program code. While ionCube Loader is a PHP extension for ionCube so the encrypted PHP program code can be run on the server (decrypted). 0.Install PHP and Apache Install Apache web server and PHP.
yum install httpd php php-cli
Enable and start […]
This tutorial discusses how to install WordPress with the Nginx web server paired with PHP v7.4 and MariaDB database or more popularly abbreviated as LEMP (Linux Nginx MySQL/MariaDB PHP). 0.Update System Update CentOS and install the EPEL repository.
yum update -y
yum install epel-release -y
1.Install Nginx Install Nginx.
yum install nginx -y
Enable and start the Nginx service.
systemctl enable nginx
systemctl start nginx
systemctl status nginx
2.Install PHP 7.4 Install […]