Posts

How to Setup DHCP Server in Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 12:11
DHCP is a service used to automatically assign network configuration to client systems. DHCP can be used as a handy tool when you have a large pool of systems that needs to be configured for network settings. Plus, when you need to change the network configuration, say to update a...
72

How to set a static ip address in Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 2:11
When you install Ubuntu server, its network setting defaults to dynamic IP addressing, that is, the network management daemon in Ubuntu searches for a DHCP server on the connected network and configures the network with the IP address assigned by DHCP. Even when you start an instance in the cloud,...
490

How To Install PHP for Apache on Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 1:28
Follow these steps to serve dynamic contents with PHP Step 1 : Add PHP PPA Repository sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php Step 2 : Update the apt package repository and install PHP 7.4 sudo apt update sudo apt install php7.4 Step 3 : Check if PHP is...
73

How to Install and Configure the Apache web server on Ubuntu Server 20.04

Louis SanchezAugust 1st 2021, 5:31
Installing Apache2 Follow these steps to install and configure the Apache web server: Step 1 : Install Apache2 from the Ubuntu package repository: sudo apt-get update sudo apt-get install apache2 Step 2 : Check if Apache2 is properly installed and running sudo service apache2 status Step 3 : You can...
76

How to Install SSL Certificate for Apache on Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 1:01
Follow these steps to set HTTPs on Apache Generating SSL Certificates Step 1 : Create a directory to hold all certificate and keys sudo mkdir -p /etc/apache2/ssl/example.com Step 2 : Change to the new directory and enter the following command to create a certificate and SSL key cd /etc/apache2/ssl/example.com sudo...
123

How to Install SSL Certificate for Nginx on Ubuntu Server 20.04

Louis SanchezAugust 1st 2021, 8:04
Follow these steps to set HTTPs on Nginx Generating SSL Certificates Step 1 : Create a directory to hold all certificate and keys sudo mkdir -p /etc/nginx/ssl/example.com Step 2 : Change to the new directory and enter the following command to create a certificate and SSL key cd /etc/nginx/ssl/example.com sudo...
63

How to configure load balancing using Nginx on Ubuntu Server 20.04

Louis SanchezAugust 1st 2021, 7:18
You will need a minimum of three servers, as follows: An Nginx server, which will be set as a load balancer (example.com) Two or more application servers with a similar code base set up on all (srv1.example.com, srv2.example.com, 192.168.1.1:8080...) Step 1 : Install Nginx with the following command sudo apt-get...
55

How to Configure a Nginx HTTPs Reverse Proxy on Ubuntu Server 20.04

Louis SanchezAugust 1st 2021, 4:12
We will use Nginx as a reverse proxy, which will serve all static content and pass the requests for dynamic content to Apache. Follow these steps to set Nginx as a reverse proxy: Step 1 : Install Nginx with the following command sudo apt-get update sudo apt-get install nginx Step...
83

How To Install PHP-FPM on Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 12:54
Follow these steps to install PHP_FPM Step 1 : Add PHP PPA Repository sudo apt -y install software-properties-common sudo add-apt-repository ppa:ondrej/php Step 2 : Update the apt package repository and install PHP_FPM sudo apt update sudo apt install php7.4 php7.4-fpm Step 3 : Run command to install additional packages: sudo...
122

How to install and set up Nginx as a web server on Ubuntu Server 20.04

Louis SanchezAugust 2nd 2021, 12:56
Installing Nginx Follow these steps to install Nginx: Step 1 : Update the apt package repository and install Nginx. sudo apt update sudo apt install nginx Step 2 : Check if Nginx is properly installed and running sudo service nginx status Step 3 : Check the installed version of Nginx...
64