Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

24 total results found

Docker Installation on Raspberry Pi 4 / RaspberryPi OS

Set Up

The Docker installation is pretty straighforward, just follow the official tutorial on docker.com. Adding the repository Firstly, you need to add the repository of the Docker Engine: # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca...

Change the Raspberry Pi Boot Order

Raspberry Pi

Looking to boot your Raspberry Pi from a hard drive? Great news: it’s possible! However, you’ll still need an SD card initially to configure the boot order. Installing Raspberry Pi OS First, you'll need to install Raspberry Pi OS on both your SD card and hard...

Changing the Base URL

Applications Bookstack

Sometimes, you need to change the base URL of Bookstack, for example, when you switch from the localhost address to the internet exposed address. Docker Compose In your compose.yaml, modify the following environment variable: APP_URL=<new_url> Bookstack Cont...

Backup & Restore

Applications Paperless-ngx

Here is the procedure to backup and restore the Paperless-NGX application and all of its data. Backup On a terminal, enter the following command: docker compose exec -T <paperless_webserver> document_exporter -z ../export Where: -T is used to suppress "The...

Assign a Static IP Address

Raspberry Pi

To configure your Raspberry Pi with a static IP address, follow these steps: Open the network interfaces configuration file by running: sudo nano /etc/network/interfaces Replace the contents of the file with the following settings: auto eth0 iface eth0 in...

Docker Anonymous Volumes

Troubleshooting

To manage my stacks, containers, images, networks, and volumes, I use Portainer Community Edition. I was surprised when I found three volumes with randomly generated names mixed in with my carefully organized ones. Initially, I thought it was a bug, but I soon...

Installation on MacOS

Hugo

This guide will walk you through setting up a development environment by installing Go, Dart Sass, and Hugo on your MacOS machine. Prerequisites Before installing Hugo, you'll need to have Go and Dart Sass installed on your system. Installing Go Download th...

Step-by-Step

Hugo

Hugo is a popular static site generator known for its speed and flexibility. This guide will help you get your site up and running in no time. Step 1: Create Your Hugo Site Directory To begin, you'll need to create the directory structure for your new Hugo si...

Installation on MacOS

Pelican

This guide will explain to you Pelican and walk you through setting up a development environment by installing it on your MacOS machine. What is Pelican? Pelican is a Static Site Generator (SSG), and its name is an anagram of the French word calepin, meaning ...

Step-by-Step

Pelican

With Pelican installed, it's time to create the structure of your blog and configure it using the pelican-quickstart command. Initial Setup Running pelican-quickstart will guide you through setting up the basic framework for your blog. Below is an example of ...

🐚 Useful Commands

Barman

Here is a list of the most common commands used with Barman. List VM Backups barman list-backup <server_name> Check the Backup Status barman show-backup <server_name> oldest barman show-backup <server_name> latest Initiate a VM Backup barman backup <server_...

Launch a Program on a Remote Server

Powershell

Sometimes, you may need to execute a program or process on a remote server from another machine. Fortunately, PowerShell provides a command to achieve this. Applicable to: Windows Server 2022, 2019, 2016, 2012 R2, and 2012 You can use Windows Remote Manageme...

Docker Installation on ARM64

Applications Apache Guacamole

Apache Guacamole is a powerful tool for managing remote connections, and installing it on a Raspberry Pi 4 with Docker allows for easy, remote access from almost anywhere Prerequisites Raspberry Pi 4 Docker installed Docker Compose Setup For this installa...

Get all DNS records in a specified zone in a Specific DNS Server

Powershell

You can easily retrieve DNS records from a specific DNS server using a simple PowerShell command. Get-DnsServerResourceRecord -ComputerName [DNS_SERVER] -ZoneName [ZONE_EXTENSION] -RRType [A|AAAA|CNAME|…] # For example: Get-DnsServerResourceRecord -ComputerN...

Set the Timezone

Powershell

Sometimes, the modification of the time zone is not available in the graphical interface of Windows. No worries, let's use Powershell. On the computer or server you wish to change the time zone, run the following command: Set-TimeZone -Id "Romance Standard Ti...

Deployment Checklist

Applications

Here is a checklist to make sure to not forget anything when deploying a new container on my Docker. 🔲 Create a CNAME record on Cloudflare 🔲 Create a CNAME record on PiHole 🔲 Write the compose.yaml and .env files 🔲 Add the container to the Caddyfile 🔲 Add the...

systemd: Creating a service

Debian

Understanding and Managing Custom Services with systemd systemd is the standard service and system manager for most Linux distributions, handling system startup, process management, and service control. If you're looking to automate or manage custom scripts or...

🆙 Upgrading to a Major Update

PostgreSQL

How to Upgrade a PostgreSQL database inside a Docker Container: A Step-by-Step Guide Step 1: Backup the Database Before upgrading, it's essential to back up your database to avoid data loss. Update compose.yaml to Add Volumes: In your compose.yaml file, ad...

🙎‍♂️ Renaming a Role (User)

PostgreSQL

Rename a PostgreSQL role in Docker by creating a temporary role, switching, renaming and deleting CHEATSHEET docker exec -it <POSTGRESQL_CONTAINER_NAME> psql -U <POSTGRESQL_USERNAME> : Connect to the PostgreSQL server as <POSTGRESQL_USERNAME> \du : List a...

💿 Renaming a Database

PostgreSQL

Renaming a PostgreSQL Database Inside a Docker Container: Step-by-Step Guide Step 1: Connect to the PostgreSQL Server To start, connect to the PostgreSQL server within the Docker container by running the following command: docker exec -it <POSTGRESQL_CONTAINER...