Skip to main content

General knowledge.

Usually some generic and basic knowledge that should be known using debian.

How to schedule a script to run every x days at x:00

To schedule a script to run automatically at a specific time in Debian, you can use the cron util...

How to embed external subtitles in a video file using mkvtoolnix.

Official usage page. Basic use First, make sure that mkvmerge is installed on your system by ru...

Install gh Github CLi

apt install gh -y then gh auth login

How to run Bashtop on Debian

To install : Bashtop is available in Azlux’s repository as well as Debian repository and all you...

How to create a dockerfile.

To create a new Dockerfile, follow these steps: Open a text editor of your choice (such as Nan...

How to create a bot that publishes the daily top post of a subreddit to a Discord channel.

To create a bot that publishes the daily top post of a subreddit to a Discord channel, you can fo...

How to create a bot that publishes the daily top post of a subreddit to a Discord channel (Docker).

1 - Create a new Dockerfile in your project directory: FROM python:3.9-slim-buster WORK...

Mount an SMB share.

You nee the helper program installed for either the nfs or cifs file system. For nfs based file s...

Mount an NFS share.

Link First, create an NFS Share on your host With OMV for example. The location of the fil...

Export Docker Container Settings as Docker Compose Stack

You can use this tool from a docker container by either cloning this repo and building the image ...

Nextcloud on Oracle free tier.

Prerequisite You'll need an account at https://cloud.oracle.com/ and a domain name. Server Se...

Grant Password, root access via SSH

cd /etc/ssh/sshd_config file: To enable password authentication, uncomment #Passw...

Build an image from a DockerFile and push it to DockerHub.

How to log into your Docker Hub account We have to log into our Docker Hub account to push the n...

Merge ans deduplicate domains in a blocklist

Use WGET to download lists, then combine them into a single large file, and finally create a new ...

Add geo-location based access rules to Nginx Proxy Manager

Link Nginx Proxy Manager Geo-Location Based Access Rules This project allows running a python s...

Update portainer Business

docker rm portainer docker stop portainer docker pull portainer/portainer-ee:latest docker ru...

How do I know which container takes up the most resources in docker? Comment savoir quel conteneur prend le plus de ressources dans docker ?

There are several ways to identify the resource hog among your Docker containers. Here's a breakd...

Build a container

https://www.youtube.com/watch?v=SnSH8Ht3MIc Some lightweight Linux distributions commonly used i...

Force DNS change.

In my case, /etc/resolved.conf was a symlink pointing to /run/systemd/resolve/stub-resolv.conf. I...

Créer un bot Discord pour nettoyer automatiquement les canaux d'un serveur.

Créer un bot Discord pour supprimer les messages de différents canaux est faisable avec Python et...

Use scp to copy a file and a directory from one machine to another:

Use scp to copy a file and a directory from one machine to another: Copying a Single File O...

Gestion Automatisée des Conteneurs Docker avec Timeout et Recréation / Automated Docker Container Management with Timeout and Auto-Recreation

🎯 Objectif : Créer un script pour : Lister les conteneurs actifs (sauf Portainer) Sauvegarder le...

Automatiser la Synchronisation entre Deux Serveurs avec rsync et SSH

Étape 1 : Générer une paire de clés SSH sur la Machine A Connectez-vous à la Machine A : Ouvrez...