Category Archives: RedHat

Setup Red Hat Enterprise Linux 8.x

I. Partitioning 1.1. Understanding Linux Partitions usage Partition Suggestion Size Description Mandatory /boot 500 MiB This is where all the needed files for Linux to boot are kept Yes swap 2 x RAM The space on a disk that is used when the amount of physical RAM memory is full. When a Linux system runs… Read More »

Deploy HAProxy as Load Balancer for Docker Swarm Mode

Overview In lab, we have 3 nodes – 1 for manager and 2 for worker node(s). You can follow the Docker Swarm Mode setup from here if not yet. In case, we will deploy haproxy service on worker-01 and worker-02 node. Prerequisites 1. Rebuild HAProxy image HAProxy official image has no required directory “/var/lib/haproxy” so we cannot start HAProxy container yet. In case we do not have our own registry, so we need to rebuild haproxy image for each node(s) of Docker Swarm Cluster. Connect via SSH to each worker… Read More »

Install NFS server on RHEL 8.x

Network File System (NFS) also known as client/server file system is a popular, cross-platform and distributed file system protocol used to export local file systems over the network so that clients can share directories and files with others over a network and interact with them as though they are mounted locally. Credit: tecmint.com 1. Demonstration LAB… Read More »

Install PostgreSQL 13 on RHEL 8.x

Overview Implement PostgreSQL as single server or standalone Implement on Red Hat Enterprise Linux 8.x Applying some standard configuration align with CIS Benchmark Applying PostgreSQL tuning base on server specs Server specs: Hostname: pgdb01 IP: 192.168.100.31/24 OS: Red Hat Enterprise Linux 8.x Additional Disk: 20GB (nvme0n2) for PGDATA Purpose: Standalone PostgreSQL Database server Installed: postgresql13-server,… Read More »

Install Docker Engine (CE) on RHEL 8.x

Docker Engine is an open source containerization technology for building and containerizing your applications. Docker Engine acts as a client-server application with: A server with a long-running daemon process dockerd. APIs which specify interfaces that programs can use to talk to and instruct the Docker daemon. A command line interface (CLI) client docker. Credit to Docker. This… Read More »

Install Docker Engine (CE) on RHEL 7.x

Docker Engine is an open source containerization technology for building and containerizing your applications. Docker Engine acts as a client-server application with: A server with a long-running daemon process dockerd. APIs which specify interfaces that programs can use to talk to and instruct the Docker daemon. A command line interface (CLI) client docker. Credit to Docker. This… Read More »

Install Red Hat Packages from Local Repository

Red Hat Enterprise Linux server will need to have subscription in order to get the installation or updating the latest packages or support from Red Hat (over the internet). However there are also the attached packages available in Red Hat DVD ISO image that we can use to install packages (offline) without internet connection or… Read More »

Setup RedHat Enterprise Linux 8 server

Red Hat Enterprise Linux 8 server installation verify details step by step for beginner and best practice. This guideline supposes to help you to understand to Red Hat Enterprise linux installation process from the start till the end. Assume we have one virtual machine with below specification: RAM: 2GB CPU: 2 cores Hard Disk: 30GB… Read More »