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
Posts by "diditho"
How to Install pm2 and pm2-logrotate on Debian 12 Bookworm
Here’s a guide to install pm2 and pm2-logrotate on Debian 12: Step 1: Update the System Make sure your system is up-to-date: Step 2: Install Node.js (if not already installed) If Node.js and npm aren’t installed yet, install them. Use the NodeSource setup script to get the latest stable version. Step 3: Install pm2 Install… 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 Install Redis Master Slave on Debian 12 Bookworm
To set up a Redis master-slave replication on Debian 12, you’ll follow these general steps on each server to configure the master and slave nodes: Step 1: Install Redis Step 2: Configure Redis Master Step 3: Configure Redis Slave On the slave server(s), edit the configuration to connect to the master server. Step 4: Testing… Continue reading
How to create a user with sudo privileges on Debian 12, an run commands without needing to type a password
To create a user with sudo privileges on Debian 12, allowing them to run commands without needing to type a password, follow these steps: Then, add the following line at the end of the file: Replace username with the actual username you created. The user now has sudo privileges and can run commands without entering… Continue reading
How to Install MariaDB on Debian 12 Bookworm ?
To install MariaDB on Debian 12, follow these steps: 1. Update Package Index Start by updating the package index to ensure your system has the latest information on available packages. 2. Install MariaDB Server Use the following command to install the MariaDB server and client: 3. Start and Enable MariaDB Service Once installed, start the… Continue reading
TinyRDM dari Negara Tirai Bambu, Redis Client yang Bisa Diandalkan
Apakah kamu merasa bingung, dan sedikit frustasi dalam menemukan aplikasi Desktop Client untuk Redis yang tepat? Sebelumnya saya lumayan kesal dan pasrah ketika harus mengelola Redis Server, tidak ada satupun aplikasi Desktop Client yang bisa diandalkan. Bisa diandalkan dalam hal ini, aplikasinya ringan, simple, mudah digunakan dan memiliki fungsi yang lengkap. Entah kenapa, rata-rata aplikasi… Continue reading
Rasa Aman Touring Jarak Jauh dengan Zuttoride
Banyak orang sering khawatir ketika harus melakukan touring motor jarak jauh. Ada rasa was-was soal keamanan di jalan, entah itu motor mogok di tengah perjalanan, ban bocor, atau bahkan yang lebih parah—kecelakaan. Saya sendiri, meskipun suka touring motor, sempat mengalami beberapa kejadian yang membuat saya sadar betapa pentingnya punya dukungan di jalan. Namun, dari awal… Continue reading
How to Set Up a SWAP Disk Using a Volume in Linode
When using a Linode VM, I needed to set up a custom swap configuration. A custom swap means utilizing a Volume Disk outside of the Virtual Machine’s primary storage. The first step is to create the desired volume, for example, a 20 GB volume. Second step, configure a newly attached 20 GB Linode volume as… Continue reading
How to Install Node.js v20.x on Debian 12
Node.js has become a critical component for building fast, scalable web applications. If you’re using Debian 12 and want to install the latest version of Node.js, such as v20.x, here’s a quick guide to get you started. Step 1,Update Your System Before installing Node.js, it’s always a good idea to ensure your system is up-to-date…. Continue reading