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 Zabbix Standalone

Features Zabbix Server with Alpine base image Zabbix Web Server with Nginx as frontend Using PostgreSQL (timescaledb) Grafana for Dashboard How to deploy Create a directory or folder and let named it “zabbix-standalone“ Download compose file settings from my gitlab project Spin up Zabbix Standalone by the following commands: Access to Zabbix Web UI Default… Read More »

Install Docker Engine (CE) On Ubuntu

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. 1. Demonstration LAB info… Read More »

Deploy Traefik as Load Balancer

Introduction Assume that you have already setup a Docker Swarm cluster, and now you can add a main Traefik (CE – Community Edition) as the Load Balancer/Proxy to:– Expose specific services or applications based on their domain or DNS name or sub-domain.– Automatic & Dynamic Routing (within container micro-services).– Auto Discovery container services based on… Read More »

Configuring Dynamic NAT on Cisco Router

Network Address Translation (NAT) is a method of mapping one IP Address space into another IP address space by changing network address information in the IP head of packet while they are crossing routing devices such as routers or firewalls. Dynamic NAT allows internal hosts to access the Internet by assigning each host a unique… Read More »

Cisco Router Initial and Basic Security Configuration

The following article is to describe how to perform initial and basic security configuration and on the Cisco router using the Cisco command-line interface (CLI) on IOS router operating system. 1. Configuring device hostname Cisco router is packed with factory-assigned default hostname as “Router”. However, you will want to have an identical device hostname for… 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 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 »