Posts in "dev"

Adjust The Log Rotation Settings on Debian 12 Bookworm to Save Space

To adjust the log rotation settings on Debian 12 Bookworm to save space, you can modify the configuration in /etc/logrotate.conf or add specific configurations in the /etc/logrotate.d/ directory for individual log files. Here’s a general approach to help reduce disk usage: After editing, apply the settings by running: To compress old logs on Debian 12,… Continue reading

MariaDB Master Slave Installation and Configuration on Linux Debian 12 Bookworm

MariaDB is an open-source relational database management system (RDBMS) that emerged as a fork of MySQL after concerns over its acquisition by Oracle. Developed by the original creators of MySQL, MariaDB retains compatibility with MySQL while offering additional features and enhancements. It supports ACID-compliant transactions, is known for its performance and scalability, and is widely… Continue reading

How to setup Docker and run Docker Compose for Managing multi-container on Debian 12 Bookworm

Part 1, Install Docker and Docker Compose Here’s a step-by-step guide to install Docker and Docker Compose on Debian 12 Bookworm Step 1: Update System Packages Ensure your system packages are up to date before starting the installation. Step 2: Install Required Dependencies Install packages that allow apt to use HTTPS and required tools for… Continue reading