← All Posts

DevOps

Ubuntu Has a Root Door. Here's How to Close It.

Ubuntu Has a Root Door. Here's How to Close It.

Qualys Threat Research Unit discovered that snapd incorrectly handles operations in the snap's private /tmp directory. When systemd-tmpfiles cleans this directory on its scheduled timer, …

mrcloudbook · · 15 min read
Scale PostgreSQL Connections with PgBouncer

Scale PostgreSQL Connections with PgBouncer

Server had 25 idle connections eating 7.5GB of RAM and doing absolutely nothing. Background workers were silently starving our web app every morning. PgBouncer had …

mrcloudbook · · 33 min read
PostgreSQL Performance Tuning Deep Dive | Stop Restarting

PostgreSQL Performance Tuning Deep Dive | Stop Restarting

Stop using restarts as a crutch. Master PostgreSQL performance tuning by optimizing shared_buffers, managing transaction locks, and applying postgresql.conf changes via SIGHUP without downtime. A …

mrcloudbook · · 56 min read
How to Create Users in Linux with useradd command?

How to Create Users in Linux with useradd command?

The useradd command is one of the most fundamental tools for user management in Linux systems. It allows system administrators to create new user accounts, …

mrcloudbook · · 11 min read
How to Deploy website on AWS Amplify

How to Deploy website on AWS Amplify

Prerequisites 📋Before starting, make sure you have: Your AWS account Your website files About 45 minutes ⏰ GitHub account 🐙 Step 1: Understanding Git and …

mrcloudbook · · 13 min read
How to Install docker-ai on Ubuntu 24.04

How to Install docker-ai on Ubuntu 24.04

Supercharge Your Docker Workflow with dockerai: An Interactive Command CompanionTired of forgetting the exact syntax for a docker command? Wish you had a patient tutor …

mrcloudbook · · 4 min read