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

Backup Docker Offline

Docker Offline backup docker image save -o images.tar image1 [image2 ...] This will back up the docker as .tar image. Restore Docker - Offline Load the backup docker image load -i backup.tar Rerun the image into a container docker run

May 23, 2023 · 1 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

Docker Cheatsheet

Docker Docker is an open-source platform that automates the deployment, scaling, and management of software applications inside containers. Containers are lightweight, portable, and self-sufficient environments that encapsulate application code, runtime, system tools, libraries, and settings, enabling applications to run consistently across different computing environments, such as development laptops, on-premises servers, and cloud platforms. Docker Image A Docker image is a lightweight, standalone, isolated executable package that contains everything needed to run a piece of software or application, including the code, runtime, libraries, environment variables, and system tools....

December 23, 2022 · 2 min · by Chisqi