Posts by "diditho"

How to Set Up MongoDB 8 Master-Slave on Debian 12 (Bookworm)

MongoDB is a super flexible NoSQL database, and if you’re running it on Debian 12 (Bookworm), setting up Master-Slave (Primary-Secondary) replication can help with scaling and data redundancy. This guide will take you through installing, running, and configuring MongoDB 8 for a master-slave setup. Prerequisites Step 1: Install MongoDB 8 on Debian 12 1.1. Update… Continue reading

Master-Slave PostgreSQL Replication Setup on Debian 12

PostgreSQL replication is a robust solution for ensuring database availability, load balancing, and failover readiness. This guide provides a step-by-step approach to setting up Master-Slave replication on Debian 12, using PostgreSQL 15, along with hostname-based configurations. 1. System Prerequisites 1.1 Server Environment We will use four Debian 12 servers with PostgreSQL 15 installed: 1.2 Update… Continue reading

PostgreSQL Storage Paths to Consider for Mounting on Debian 12

When setting up a PostgreSQL master-slave replication or general database storage management, you should consider mounting specific storage paths to optimize performance, ensure data integrity, and manage disk usage efficiently. Below is a list of important PostgreSQL storage paths and their purposes: 1. Data Directory (Main Database Storage) Path: /var/lib/postgresql/<version>/main/Purpose: Stores all PostgreSQL database files,… Continue reading

Installing and Setting Up RabbitMQ Master-Slave Cluster on Debian 12

RabbitMQ is a robust message broker widely used in distributed systems. This guide provides a detailed, step-by-step tutorial on installing RabbitMQ 3.10.8 with Erlang 25.2.3 on Debian 12 and configuring a Master-Slave cluster. The setup will involve two servers: a Master at 10.11.33.83 and a Slave at 10.11.33.93. 1. Configure Hostname Resolution Ensure both servers… Continue reading

Understanding Docker Connectivity, Networking and Configurations.

When working with Docker to build scalable applications, networking and service configuration are critical components. Over the course of our exploration, we’ve touched on a variety of topics, starting with creating a docker-compose.yaml template, understanding network modes like bridge and host, and configuring services like MySQL. This article captures the complete journey to demystify Docker’s… Continue reading

Running Mattermost on Debian 12 Using Docker, without NGINX, and use External PostgreSQL

Mattermost is a powerful open-source collaboration tool that can be deployed in various ways, including using Docker for easy setup and management. This tutorial will guide you through setting up Mattermost on Debian 12 using Docker, with an external PostgreSQL database configured in host network mode and without setting up Nginx. Prerequisites Before proceeding, ensure… Continue reading

Service Xiaomi Mi 10T Pro, Membangkitkan yang Mati

Minggu lalu, handphone alias gawai andalan yang sudah menemani berkaktivitas selama beberapa tahun, mendadak mati ketika sedang melakukan perjalanan komuter di kereta. Beberapa gejala gangguan memang sudah saya rasakan dan alami sebelumnya, handphone yang sering tiba-tiba lambat alias lemot lalu ‘sembuh’ sendiri, layar yang kedap-kedip dan bergerak scroll sendiri, serta indikator pengisian baterai yang sering… Continue reading

Where Docker Stores Images on Debian 12 and How to Customize the Storage Directory

Continuing from our previous article on setting up Docker and running Docker Compose on Debian 12 Bookworm, let’s dive deeper into understanding where Docker stores its image files and how to customize the storage directory for better management. Default Docker Image Storage Location on Debian 12 By default, Docker stores all its data, including images,… Continue reading

Cara Paling Mudah Akses Situs yang Diblokir

Beberapa kali saya dihadapkan akan kebutuhan untuk mengakses situs-situs yang diblokir pihak Kominfo (sekarang Komidigi). Kebutuhan ini pastinya untuk urusan yang postif ya, terkait pekerjaan dan profesi saya saat dalam membuat aplikasi, riset dan juga mengelola berbagai sistem, server di berbagai datacenter di seluruh dunia. Diluar kontroversi mengapa situs-situs yang sebenarnya bermanfaat atau banyak manfaatnya… Continue reading