Skip to content

Instantly share code, notes, and snippets.

@Koratsuki
Koratsuki / lets-encrypt-install.md
Last active August 1, 2026 05:51
Let's Encrypt install

Install

sudo apt update && sudo apt dist-upgrade -y 
sudo apt install -y certbot python3-certbot-nginx nginx

Go to /etc/nginx/conf.d and create the following file service-you-need.conf, for example, nano /etc/nginx/conf.d/service-you-need.conf:

Running debmirror to update offline Debian repos.

Go to github repo.

@Koratsuki
Koratsuki / Nginx-last-version-debian-ubuntu.md
Created August 21, 2025 14:55
Install latest version of Nginx on Debian/Ubuntu

Install latest version of Nginx on Debian/Ubuntu

Install GPG:

sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring -y

Download repo key:

@Koratsuki
Koratsuki / uptime-kuma-mysql-docker-with-old-data-from-sqlite.md
Last active August 19, 2025 16:24
Uptime-Kuma with MySQL/MariaDB in Docker with old data from SQLite

Uptime-Kuma with MySQL in Docker with old data from SQLite

Note: Uptime-Kuma comes with SQLite database support by default in its Docker v1 image. However, when you have many servers, say, 150 or more, due to the SQLite structure itself, Uptime-Kuma starts to slow down to the point of becoming unresponsive and occasionally crashing. The best way to avoid this is to use MySQL/MariaDB.

Note 2: Currently, the docker image supporting MySQL/MariaDB is louislam/uptime-kuma:2.0.0-beta.3, which, while still in beta, is almost production-ready. So we'll be using this one.

Procedure:

  1. Update system and install pip:

openSUSE after install

Note: This is a little guide on what to do after openSUSE Tumbleweed fresh install.


⚠️ IMPORTANT: FOR EXPERIENCED USERS ONLY

This guide is intended for users who already have solid knowledge of Linux system administration and openSUSE. It is not a step-by-step tutorial for beginners.

Docker install on Debian/Ubuntu

Debian

# Add Docker's official GPG key:
sudo apt update && sudo apt install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
@Koratsuki
Koratsuki / Ubuntu-24.04-fresh-install.md
Last active March 9, 2026 23:33
Ubuntu 24.04 fresh install

Ubuntu 24.04 fresh install guide

First of all, I must say that I'am not a fan or user of Ubuntu. This is just a guide for newcomers, and colleagues that are struggling after the new release with the system changes.

Repositories configurations and system upgrade

Right after fresh install, you must do a system update. Don't delay it, but first, let's configure repositories. Delete the new config for repositories, this can cause problems or new users can get lost configuring it, have friends reporting me that:

@Koratsuki
Koratsuki / iredmail-openarc-installation.md
Last active February 8, 2024 14:55
iRedmail and openARC

iRedmail and OpenARC

Coming this february, Google/Yahoo/Outlook[1] and [2], are/were "enforcing", to some point, the usage of SPF/DKIM/DMARC to email servers in order to protect emails/users from spam and malware. And now they add ARC protocol to validate forwarded emails signing.

I tried with iRedmail, cause it comes out-of-the-box with SPF/DKIM/DMARC, with some minor touches on the config. All what I'am about to test here is my entire experience on this subject, due to limited documentation by OpenARC[3].

Test environment:

  • Linode VPS with 4 cores/4GB of RAM
  • OS: Ubuntu 22.04
  • iRedmail 1.6.3. It was already installed

Access Point dentro de una VM en Proxmox

Ejecutar este procedimiento en una VM con Debian/Ubuntu con el dongle WiFi attached/passthrough.

systemctl stop systemd-resolved
systemctl disable systemd-resolved
systemctl mask systemd-resolved