root@myserver:/mediaserver/install#

Step 6: Install and Enable MiniDLNA

Let's install the MiniDLNA media server.

MiniDLNA allows you to stream movies, music, and photos to any DLNA-capable device in your home (like smart TVs, game consoles, or media players).

To install it, run the following command:

user@homeserver:~$ sudo apt install minidlna -y

✅ This command will install the MiniDLNA server and its dependencies.

Check if MiniDLNA is running:

user@homeserver:~$ sudo systemctl status minidlna

This command shows the status of the MiniDLNA service.

Check if MiniDLNA will start after reboot:

user@homeserver:~$ sudo systemctl is-enabled minidlna

This command checks if the service is enabled for automatic startup.

user@homeserver:~$ sudo systemctl enable minidlna

MiniDLNA is now installed and running, but we haven’t told it *where* your media is yet.

Next, we will configure MiniDLNA to point to the folder on your USB drive where your movies and music are stored.

This involves editing a configuration file.