OpenLDAP Docker

Overview Running OpenLDAP in a Docker container is a straightforward process that can help you manage your LDAP server efficiently. On this article, I would like to share how to run the OpenLDAP for centralize authentication in a docker. What’s OpenLDAP OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). It provides a directory service that can be used for managing and accessing distributed directory information services over an Internet Protocol (IP) network....

May 23, 2024 · 6 min · by Chisqi

Monitoring Mikrotik and Linux servers with Grafana, Prometheus and Node Exporter

Overview Grafana is a powerful open-source platform for monitoring and observability, enabling users to visualize and analyze data from various sources in real-time. On this guide, I’ll show you how to deploy Grafana on docker stack to monitor the Mikrotik devices (using SNMP), and monitoring the Linux and Windows Server. Sample Mikrotik Linux Server - Node Exporter Environment Networking and VLan VlanID Subnet 101 10.10.101.0/24 102 10.10.102.0/24 Server Environment ServerName IPAddress Notes doc01 10....

August 23, 2023 · 4 min · by Chisqi

Mariadb replication ERROR 1201 (HY000): Could not initialize master info structure

Overview You got Mariadb replication ERROR 1201 (HY000): Could not initialize master info structure for ''; when running start-slave after the migration. Steps: Check the Current Master Binary Log Position Login to master server, and run the following: docker exec mariadb-master show-status Replication Mode: master [mysql] *************************** 1. row *************************** [mysql] File: mysqld-bin.xx [mysql] Position: xx [mysql] Binlog_Do_DB: [mysql] Binlog_Ignore_DB: ############### Connections ############### Reset and Reconfigure Replication On the slave server, stop the slave: STOP SLAVE; Reset the replication....

July 3, 2023 · 1 min · by Chisqi

Mariadb Replication docker - Error Got fatal error 1236

Overview The error message Got fatal error 1236 from master when reading data from binary log: typically indicates that the replication slave is trying to read from a position in the master’s binary log that doesn’t exist. The detailed error is as follow: [mysql] Last_IO_Errno: 1236 [mysql] Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position; the first event 'mysqld-bin....

June 23, 2023 · 2 min · by Chisqi

Amlogic ARM-Based Single Board Computer duplicate MAC Address

Overview There’s annoying bug on cheap Amlogic ARM-Based Single Board Computer running Armbian with Debian 11 version. I recently instaling multiple devices with single image Armbian (Debian 11). Once the process completed, all devices were unable to connect to the network due to the MAC duplicate. The originial MAC Address was gone, and instead, it generated new MAC address on each devices lead to MAC duplicatation. Because all devices were using same MAC Addresses, the network connection was rejected by the router or firewall....

June 16, 2023 · 2 min · by Chisqi

Mariadb Replication on Docker

Introduction MariaDB is an open-source relational database management system (RDBMS) that is a fork of MySQL. It was created by the original developers of MySQL after concerns over the acquisition of MySQL by Oracle Corporation. MariaDB replication MariaDB replication is a process that allows you to create and maintain a copy of a database on another server, which is known as a replica. Replication in MariaDB can be useful for various purposes, including load balancing, high availability, and backup....

May 23, 2023 · 5 min · by Chisqi

Home DNS server To Protect Your Family

Introduction Pi-hole and AdGuard Home are open-source network-wide ad blocker and privacy protection software designed to protect any devices on your home. It functions as a DNS (Domain Name System) sinkhole, which means it filters and blocks requests to ad and tracking domains at the DNS level before they reach the devices on your network. This effectively prevents unwanted ads, pop-ups, and tracking attempts from appearing on all your family devices....

February 23, 2023 · 8 min · by Chisqi

Enable DOH on Mikrotik

Introduction DOH stands for “DNS over HTTPS,” which is a protocol that encrypts and secures Domain Name System (DNS) requests and responses using the HTTPS protocol. It helps improve privacy and security when resolving domain names to IP addresses on the internet. DOH combines these two concepts by encapsulating DNS queries and responses within HTTPS requests and responses. When a device uses DOH, it sends DNS queries to a DNS resolver using the HTTPS protocol....

August 23, 2021 · 3 min · by Chisqi