❌

Reading view

I Added Authentik SSO to My Home Lab with Docker-Compose: Logging In Will Never Be the Same

I have been experimenting with SSO lately in the home lab and decided to give Authentik a try. And let me tell you, it is a crazy good self-hosted SSO solution that will likely do anything you need it to do. What’s more, we can install Authentik SSO with Docker Compose easily. Overview of Authentik …

The post I Added Authentik SSO to My Home Lab with Docker-Compose: Logging In Will Never Be the Same appeared first on Virtualization Howto.

  •  

TerraMaster D1 SSD Plus Review: Blazing Fast Storage for Creators and Home Labs

The portable SSD market has exploded in recent years. When Terramaster sent over the D1 SSD Plus for me to take a look at, it was an intriguing little device to say the least and one that piqued my interest. This is a specially suited device that is designed for creators and others who may …

The post TerraMaster D1 SSD Plus Review: Blazing Fast Storage for Creators and Home Labs appeared first on Virtualization Howto.

  •  

I Replaced Nginx Proxy Manager with Traefik in My Home Lab and It Changed Everything

I have been using Nginx Proxy Manager (NPM) for quite some time now, a few years from what I remember. It is a great solution and one that I point many to who are just starting out with their Docker learning journey and want to have a quick and easy way to stand up proper …

The post I Replaced Nginx Proxy Manager with Traefik in My Home Lab and It Changed Everything appeared first on Virtualization Howto.

  •  

Visualize Your Docker-Compose with Mermaid + docker-compose-viz This Weekend

I have been big into documenting my home lab and finding tools that are great for creating documentation for my DevOps processes in the lab and in production. This has led me down a rabbit hole of trying all sorts of documentation tools and tools that can help visualize my docker compose code. If you …

The post Visualize Your Docker-Compose with Mermaid + docker-compose-viz This Weekend appeared first on Virtualization Howto.

  •  

How to Install Talos Omni On-Prem for Effortless Kubernetes Management

Kubernetes is one of the most complex architectures and solutions in modern infrastructure. When it comes to K8s, we need to manage control planes, worker nodes, certificates, upgrades, and lifecycle management. This is where Talos Linux and Omni come in. Talos Linux is gaining traction as a favorite for those that want a secure and …

The post How to Install Talos Omni On-Prem for Effortless Kubernetes Management appeared first on Virtualization Howto.

  •  

Top Home lab Networking Mistakes to Avoid in 2025

Networking is literally the lifeblood of your home lab. If the network is no good, then everything else is going to fall down. Things won’t perform well, and you will spend most of your time troubleshooting the network and other issues related to connectivity. If you are just getting into a home lab or you …

The post Top Home lab Networking Mistakes to Avoid in 2025 appeared first on Virtualization Howto.

  •  

Portainer 2.33 LTS Released with Alerting, New Look, Helm Overhaul and More!

Portainer has long been on the lists of best Docker tools that you can use in the home lab and in production environments. REcently, they have announced the new Portainer 2.33 LTS version has been released. It is folding in many of the new features contained in the recent STS builds and bringing these into …

The post Portainer 2.33 LTS Released with Alerting, New Look, Helm Overhaul and More! appeared first on Virtualization Howto.

  •  

5 Storage Projects to Supercharge Your Home Lab This Weekend

Storage is one of the coolest projects that you can undertake in your home lab as most apps or services that you want to self-host will have the need to store things. Aside from specific app data, you will likely want to run virtual machines, Docker containers, or other types of resources, your storage makes …

The post 5 Storage Projects to Supercharge Your Home Lab This Weekend appeared first on Virtualization Howto.

  •  

How to Totally Control DNS in Your Home Lab

When you start building a home lab, one of the first things you realize is how important DNS is. Every service you run, including Proxmox, Docker containers, Kubernetes clusters, or even something simple depends on DNS resolving correctly. Many when they get started running a home lab rely on their router’s built-in DNS or their …

The post How to Totally Control DNS in Your Home Lab appeared first on Virtualization Howto.

  •  

7 Ways to Make Your Home Lab More Resilient to Power Outages

I can tell you that when you are on a consumer power grid, one of the biggest headaches with running a home lab is power outages. When you don’t have your lab setup in the right way to handle power outages or brownouts, these can wreak havoc on your hardware, services, and data. When these …

The post 7 Ways to Make Your Home Lab More Resilient to Power Outages appeared first on Virtualization Howto.

  •  

How to Install RabbitMQ Server on Linux (Quick Guide)

RabbitMQ is a free and open-source message-broker program used for real-time communication between users in chat applications, supporting protocols such as STOMP, MQTT, AMQP, HTTP, WebSocket, and RabbitMQ Streams.

Its functionality might remind you of Apache Kafka, but the difference is that RabbitMQ prioritizes end-to-end message delivery, while Kafka is a distributed event streaming platform designed for the real-time exchange of continuous big data.

In this tutorial, you’ll learn how to install and configure the RabbitMQ server on major Linux distributions, create an administrator account, set up the management dashboard, and access it via a browser.

How to Install RabbitMQ Server on Linux

There are two ways to install RabbitMQ Server on Linux: either through the default package manager (as it’s available in most Linux repositories) or using the Cloudsmith Mirror, a third-party repository that guarantees the latest version.

You can choose the one that is best suited to you and your work environment. For beginners, I suggest starting with the default package manager, as it’s the easiest and most straightforward to follow.

Method 1: Install RabbitMQ Server via Package Manager

The RabbitMQ server package is available for several popular Linux distributions, such as Debian, Ubuntu, Red Hat, and Fedora. Users of these systems can directly install the stable version using the system’s default package manager.

# On Debian, Ubuntu, Linux Mint, or Kali Linux
$ sudo apt install rabbitmq-server

# On Red Hat, Fedora, CentOS, or AlmaLinux
$ sudo dnf install rabbitmq-server

Method 2: Install RabbitMQ Server via Cloudsmith Mirror

Cloudsmith Mirror is a third-party repository officially provided by RabbitMQ to deliver the latest RabbitMQ server package to users ahead of its availability in the Linux repository.

To add the Cloudsmith Mirror for the RabbitMQ server package on Debian, Ubuntu, Linux Mint, and other related distributions, run:

$ curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.deb.sh' | sudo -E bash

For Red Hat, Fedora, CentOS, and other related distributions, run:

$ curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.rpm.sh' | sudo -E bash

After adding the repository, you can proceed to install the latest version of RabbitMQ Server using the default package manager.

# On Debian, Ubuntu, Linux Mint, or Kali Linux
$ sudo apt install rabbitmq-server

# On Red Hat, Fedora, CentOS, or AlmaLinux
$ sudo dnf install rabbitmq-server

Manage RabbitMQ Server Service

Once the RabbitMQ Server installation is complete, make sure to check that the RabbitMQ service created during installation is enabled and active by running the following commands:

$ systemctl is-enabled rabbitmq-server
$ systemctl status rabbitmq-server

Output:

Checking the RabbitMQ Service in Linux

As you can see, it’s enabled and active in my case. If it’s not for you, make sure to enable and start the service in the background using the following command:

$ sudo systemctl enable --now rabbitmq-server

Output:

Starting and enabling the RabbitMQ Server in Linux

Troubleshoot

If you encounter a service failure when starting the services, ensure that the default 5672 port used by the RabbitMQ Server is not occupied by another service by using the ss command:

$ sudo ss -tulpn | grep 5672

Output:

Checking the port use by RabbitMQ Server

In the above output, the β€œbeam.smp” process is managed by RabbitMQ Server, so the issue is not with it. However, if another user or service is utilizing the port, make sure to close the service by its port number or service name.

Configure the RabbitMQ Server

To configure the RabbitMQ server with the hostname and network settings. We need to adjust the parameters in the β€œrabbitmq-env.conf” file. This configuration file is used to set global environment variables for RabbitMQ, like node names, directory locations, runtime flags, etc.

Our main motivation for editing this file is to configure it with our hostname and internal network (DO NOT EXPOSE IT TO PUBLIC IP ADDRESSES). To proceed, first open the file using your preferred text editor (I selected Nano).

$ sudo nano /etc/rabbitmq/rabbitmq-env.conf

Once the file is open, you will see the following parameters commented with a β€œ#” prefix.

#NODENAME=rabbit
#NODE_IP_ADDRESS=127.0.0.1
#NODE_PORT=5672

To configure it with the internal network, find your hostname and internal (or local) IP address, uncomment the NODENAME and NODE_IP_ADDRESS lines by removing the β€œ#” prefix, and replace their parameter values with your chosen ones. After making the necessary changes, your file should appear like this:

Modifying the RabbitMQ configuration file

If needed, you can adjust the port by uncommenting the NODE_PORT parameter and replacing the port number with your desired one. However, I don’t recommend doing this unless it’s your only option. Beside this, you can now save and close the file, and don’t forget to restart the RabbitMQ Server by running:

$ sudo systemctl restart rabbitmq-server

Create Admin Account for RabbitMQ

To access the RabbitMQ web interface (which will be discussed later), you need an administrator account. For that purpose, you can use the following command to create a new administrator account with full permissions for all vhosts on the RabbitMQ server.

$ sudo rabbitmqctl add_user rabbituser changeme
$ sudo rabbitmqctl set_user_tags rabbituser administrator
$ sudo rabbitmqctl set_permissions -p / rabbituser ".*" ".*" ".*"

Output:

Creating new user for RabbitMQ

Once the administrator account is created, we can use the following credentials to log in:

  • Usename: rabbituser
  • Password: changeme

Install RabbitMQ Management Plugin

RabbitMQ offers a set of community-contributed plugins to extend its existing features. We are particularly interested in the β€œrabbitmq_management” plugin, which provides access to a web interface that simplifies the monitoring and configuration of RabbitMQ.

To enable this plugin, run the following command:

$ sudo rabbitmq-plugins enable rabbitmq_management

This will enable the other required plugins, such as β€œrabbitmq_management,” β€œrabbitmq_management_agent,” and β€œrabbitmq_web_dispatch” that together enable the RabbitMQ management interface.

enabling rabbitmq_management plugin

Access RabbitMQ Management Dashboard

Finally, to access the RabbitMQ web interface, open your preferred browser and navigate to your internal IP address, followed by the 15672 port (like this: http://ip-address:15672). On your first visit, you will be redirected to the login page, where you can use the previously created administrator credentials to login.

RabbitMQ login page

Once the authentication is successful, you will be redirected to the RabbitMQ dashboard, which will appear like this:

RabbitMQ dashboard

That’s it! You have successfully installed and configured RabbitMQ on your Linux system.

How to Uninstall RabbitMQ on Linux

To remove RabbitMQ from your Linux system, first ensure that you remove the Cloudsmith Mirror repository if it was used for installation. For Debian, Ubuntu, Linux Mint, and other related distributions, use the following command:

$ rm /etc/apt/sources.list.d/rabbitmq-rabbitmq-erlang.list
$ apt-get clean
$ rm -rf /var/lib/apt/lists/*
$ apt update

For Red Hat, Fedora, CentOS, and other related distributions, use this command:

$ rm /etc/yum.repos.d/rabbitmq-rabbitmq-erlang.repo
$ rm /etc/yum.repos.d/rabbitmq-rabbitmq-erlang-source.repo

Once the repository is removed, you can proceed to remove the RabbitMQ Server package using the appropriate command for your Linux distribution:

# On Debian, Ubuntu, Linux Mint, or Kali Linux
$ sudo apt uninstall rabbitmq-server

# On Red Hat, Fedora, CentOS, or AlmaLinux
$ sudo dnf uninstall rabbitmq-server

Wrap Up

In this article, you’ve learned how to install and configure the RabbitMQ server on major Linux distributions, create an administrator account, set up the management dashboard, and access the dashboard via a browser.

If you have any questions or queries related to the article, do let us know in the comment section.

Till then, peace!

The post How to Install RabbitMQ Server on Linux (Quick Guide) appeared first on Linux TLDR.

  •  
❌