Tag 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 »

Setup Docker Swarm on RHEL 8.x

Why Docker Swarm? Docker Swarm is the great way to deploy your application stacks to production, in a distributed cluster – in short it is the container orchestrator or container clustering. With Docker Swarm mode you have:– Replicability, use the same files as when developing locally.– Simplicity and speed for development and deployment.– Robustness and… 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 »