Invoice Ninja is a popular open-source platform for managing invoices, clients, and payments. However, due to their frequent release cycle, installation can sometimes be challenging. This guide provides a step-by-step working method to install Invoice Ninja on a self-hosted Debian 12 Bookworm system. Before you start, ensure you have MariaDB, NGINX, and PHP 8.2 installed… Continue reading
Posts in "dev"
How To Change Hostname on Debian 12
Changing the hostname in Debian 12 is a straightforward process, but it’s essential to ensure all steps are done correctly to avoid network or system configuration issues. This guide will walk you through both temporary and permanent hostname changes. 1. Check the Current Hostname Before making any changes, you might want to see the current… Continue reading
Installing .NET Core 3.1 Runtime and SDK on Debian 12 Using Snap
If you’re using Debian 12 and need to run or develop applications built with .NET Core 3.1, you can easily set up the runtime and SDK environments using Snap. Here’s a step-by-step guide to get you started: Step 1: Install Snap Snap is a package management system that makes it easy to install and manage… Continue reading
Debian 12 Bookworm, How to Add User as Sudoers and Remove The Password Prompt
To add the user myuser to the sudoers group and configure it so that the user doesn’t get prompted for a password when executing sudo commands, follow these steps: 1. Add devel to the sudo group Run the following command as a user with administrative privileges (or root): This adds the myuser user to the… Continue reading
Mount Linode S3-compatible Object Storage on Debian 12 (Bookworm)
Here’s how to mount Linode S3-compatible Object Storage on Debian 12 (Bookworm), put the access key and secret on /var/app/secret/ and assign it to the user exampleuser. Here’s how to mount Linode S3-compatible Object Storage on Debian 12 (Bookworm) and assign it to the user exampleuser: 1. Install Prerequisites Update your system and install s3fs:… Continue reading
Setting Up Restic Backups to Wasabi S3-Compatible Storage on Debian 12 Bullseye
Backups are essential for ensuring data security. In this guide, I will walk you through setting up Restic, a fast and secure backup tool, to work with Wasabi S3-compatible storage on Debian 12 Bullseye. This tutorial uses the Wasabi region Osaka (ap-northeast-2) and a bucket named bucket-osaka-sandbox. We will organize backups using subdirectories and tags… Continue reading
Uninstall and ReInstall NGINX on Debian 12 The Right Way
Certainly! Here’s the complete, revised set of steps to fully uninstall and reinstall Nginx on Debian 12, ensuring all configurations are reset: Step 1: Stop and Disable Nginx Stop the Nginx service to ensure it’s not running: Disable Nginx so it won’t start on boot: Step 2: Uninstall Nginx with Purge Use the –purge option… Continue reading
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
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