Install and Configure OpenVPN Server and Client on Linux

How to install, and configure OpenVPN Server and Client on Linux. Table of Contents Introduction What is VPN? Why do we need a VPN? When using public Wi-Fi, your network traffic may be exposed to other users on the same network, especially when using insecure connections. For example, attackers may attempt to intercept unencrypted data, … Read more

Installing and Configuring Nginx on RHEL/AlmaLinux

How to install and configure Nginx on RHEL/AlmaLinux Check if Nginx is already installed rpm -qa | grep nginx Install nginx dnf install -y nginx Check which service is using port 80 ss -tulpn | grep :80 In this example, the httpd service is already listening on port 80. Stop the httpd service and disable … Read more

Set up Apache HTTP Server (httpd)

How to set up Apache HTTP web server (httpd) in Linux. Table of Contents 1. Introduction In this tutorial, we will configure an httpd webserver on RHEL-based Linux distributions to serve a simple webpage. 2. Overview of httpd what is httpd? Key Information 3. Prerequisites 4. Implementation check if the httpd package is already installed … Read more

Installing and Configuring Squid Proxy on RHEL/AlmaLinux

Check if the package is installed rpm -qa | grep squid Install the package dnf install squid -y Check the installed version squid –version Enable and start the squid systemctl enable –now squid Configure Squid Edit the configuration file: vi /etc/squid/squid.conf Keep the existing default configuration, but remove or comment out the default access-control rules … Read more

Mail Servers in Linux – Postfix

Mail Servers in Linux – Postfix Table of Contents 1. Introduction In Linux, a mail server allows applications, scripts, and workloads to send email notifications. For example, when a backup job finishes running, the system can send an email to notify the administrator whether the backup completed successfully or failed. 2. What is Postfix? Postfix … Read more

Linux Task Scheduling Using systemd Timers on RHEL

Linux Task Scheduling Using systemd Timers on RHEL Table of Contents 1. Introduction In this tutorial, we will configure a systemd timer on RHEL-based Linux distributions to automate daily tasks. We will use a systemd service to execute a backup script and a systemd timer to schedule the backup automatically every day at 1:00 AM. … Read more

How to create a local repository in Linux (RHEL / AlmaLinux)

What is a local repository? A Local Repository is a storage location on a Linux server that contains RPM packages and repository metadata. Why use a Local Repository? Objectives: In this guide, we will: Implementation We will use an internet-connected AlmaLinux 9 server to download PostgreSQL 17 and PostgreSQL 18 packages, then prepare them for … Read more

How to Install PostgreSQL 18 (Online) in Linux (RHEL / AlmaLinux)

Objective This guide explains how to install PostgreSQL 18 on RHEL / AlmaLinux using the official PostgreSQL repository (PGDG). Expected Result PostgreSQL 18 is installed, running as a systemd service, and storing its database files in the selected data directory (/pgdata or the default location). Implementation