Forwarding Client IP Addresses from HAProxy to Apache2 Web Server

forwarding client ip from haproxy to backend apache2 server

In this tutorial, we’ll configure both HAProxy and Apache2 to ensure that the client’s real IP address is forwarded and logged on the backend server. What to do When working with a reverse proxy such as HAProxy in front of an Apache2 web server, preserving the client’s original IP address is crucial for accurate logging … Read more

How to Remove All None Tag on Docker Images

Remove none tag on docker images

Docker is an incredible tool that simplifies software deployment, but over time, your Docker host can get cluttered with unnecessary images. Particularly, you might encounter images tagged as <none>—these are dangling or untagged images that can accumulate and take up valuable disk space. This guide will walk you through the straightforward steps to remove those pesky <none> tags … Read more

How to Secure Apache2 with Let’s Encrypt on Ubuntu 22.04

How to Secure Apache2 with Let’s Encrypt on Ubuntu 22.04

Securing your website is important to protect your visitors’ data and improve your site’s credibility. Let’s Encrypt provides free SSL certificates, which you can easily install on your web server to enable HTTPS. This blog post will guide you through installing a Let’s Encrypt SSL certificate on Apache2 running on Ubuntu 22.04 LTS (Jammy Jellyfish) … Read more

How to Secure Nginx with Let’s Encrypt on Ubuntu 22.04

How to Secure Nginx with Let's Encrypt on Ubuntu 22.04

Securing your Nginx web server with Let’s Encrypt on Ubuntu 22.04 is essential for protecting your website and ensuring encrypted communication between your server and visitors. Below, we’ll guide you through the steps to achieve this: In this tutorial, we’ll cover how to secure your Nginx web server with Let’s Encrypt SSL certificates on Ubuntu … Read more

How to Install Vim on EC2 Ubuntu 20.04 or Later

How to Install Vim on EC2 Ubuntu

Installing Vim (text-editor) on an EC2 instance running Ubuntu is a straightforward process. Regardless of whether you’re using Ubuntu 20.04 LTS (Focal Fossa) or the newer 22.04 LTS (Jammy Jellyfish) or even on your local WSL Ubuntu, the steps remain the same. This short guide will walk you through the installation procedure. Prerequisites Before starting, … Read more

Fix Operation Not Permitted Error in VSCode Terminal on macOS

How to Fix 'Operation Not Permitted' Error in VSCode Terminal on MacOS

Are you encountering an ‘Operation not permitted’ error when trying to run commands in the Visual Studio Code (VSCode) terminal on your macOS computer? This can be frustrating, especially if the commands work fine in other terminals like iTerm or the default macOS terminal. Here’s a common scenario that Mac users might face: And the terminal throws back: Don’t worry! This guide will … Read more

How to Upgrade Git to Version 2.41.0 on Ubuntu

Upgrade Git to Version 2.41.0 on Ubuntu

When you’re ready to take advantage of new features and improvements in Git, upgrading to the latest version is essential. Here’s a streamlined guide for upgrading Git to version 2.41.0 on your Ubuntu system. Why Upgrade to Git 2.41.0? Upgrading to the latest version of Git, such as 2.41.0, comes with several advantages that enhance … Read more

How to Remove Deleted Branches from Git Tab Completion

Remove Deleted Branches from Git Tab Completion

When working with Git, it’s common to delete branches that are no longer needed. However, you may find that even after deleting a branch, it still appears when using Git’s tab completion feature. This can be frustrating and confusing, but fortunately, there’s a quick fix to remove these deleted branches from the tab completion list. … Read more

How to Mount S3 Bucket on Ubuntu with s3fs-fuse

How to Mount S3 Bucket on Ubuntu with s3fs-fuse

Mounting an Amazon S3 bucket to your local Ubuntu machine allows for smooth integration of cloud storage with your local filesystem. By using s3fs-fuse, you can interact with your S3 bucket as if it were a local directory, making file management tasks simple. Benefits of using s3fs-fuse Prerequisites Step-by-Step Guide Step 1: Installing s3fs-fuse First, update … Read more

How to Manage Python Versions on WSL Ubuntu

Managing Python Versions on WSL Ubuntu

In the world of Python development, having the flexibility to switch between different Python versions is crucial. This not only allows developers to stay up-to-date with the latest language features but also ensures compatibility with different projects. In this guide, we will explore two popular methods for managing Python versions on Ubuntu: update-alternatives and pyenv. Method 1: Using … Read more