How to Install Navidrome Music Server on Debian Latest

In this tutorial, we will guide you on how to install Navidrome Music Server on Debian Latest. Navidrome Music Server is a self-hosted music streaming server with a rich user interface that supports a wide range of formats. Navidrome is licensed under the GNU General Public License (GNU GPL), and it is available for free.

Prerequisites

Before you proceed with the installation of Navidrome Music Server on Debian Latest, ensure you have:

Step 1: Update and Upgrade Your System

Before you start installing Navidrome, you need to update your system packages to the latest version. To do that, you can run the following command:

sudo apt update && sudo apt upgrade -y

Wait for the process to complete.

Step 2: Install Docker

Navidrome uses Docker containers to run, so you need to install Docker before proceeding with the installation process. To install Docker, follow the commands below:

sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release -y

Add the Docker GPG key using the command below:

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Set up the Docker repository by executing the command:

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Once the Docker repository is added, update the system to install the latest version of Docker:

sudo apt update && sudo apt install docker-ce docker-ce-cli containerd.io -y

Check the Docker version with the command below:

sudo docker --version

If installed successfully, you should see the Docker version.

Step 3: Install Navidrome Music Server

Now that you have installed Docker on the system, you can proceed to install Navidrome Music Server. Execute the command below:

sudo docker run -d \
  --name=navidrome \
  -p 4533:4533 \
  -v /mnt/media:/srv/music \
  -v /mnt/navidrome:/var/navidrome \
  navidrome/navidrome:latest

This command will download the Navidrome Music Server image and install it in Docker. The command will also make it accessible at port 4533 and connect the server to the music directory.

Step 4: Access Navidrome Music Server

After the installation is complete, you can access Navidrome Music Server using your favorite browser by pointing it to your server's IP address or hostname, followed by the port number (4533). For example,

http://server_ip:4533

You should see the Navidrome login page. The first time you log in, you need to create an account and configure the server settings. Once you log in, you can start uploading and streaming music on the server.

Conclusion

Congratulations! You have successfully installed Navidrome Music Server on Debian Latest. You can now enjoy your music library on your new music server. We hope you have found this guide helpful. If you encounter any issues or have feedback, please leave a comment below.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!