Lezter Eintrag

How to install Subsonic free music server on Ubuntu 20.04 linux

0
(0)

Steps to install Subsonic music server on Ubuntu 20.04 Linux

The process of installing and configuring Subsonic will also be the same for other versions of Debian or Ubuntu such as Ubuntu 19.4/18.04/16.04 including Linux Mint, Elementary OS, Zorin OS, and other similar kinds of  Linux distros.

Update your system

Before moving forwards let’s make sure all the installed packages on the Ubuntu 20.04 or in the previous version you are using are up to date.

sudo apt update

Install Java JRE-8

Subsonic needs Java & its based Jetty webserver to run, thus first we install that on our Ubuntu Linux. Thus, to install Java run the following command:Copy Me

sudo apt-get install openjdk-8-jre

Download Subsonic

There are various kinds of executable files available for different platforms such as Windows, Mac OS X, Debian / Ubuntu, Red Hat / Fedora, Stand-alone version (all platforms), WAR version (all platforms), and Synology NAS. However, here we are using the Debina one. The best thing we don’t need to set up any additional web server such as apache to run the SubSonic. So, let’s first download the deb package of it.

Go to the official website download page of this open-source music server and click on the package you want to install. If you are on Ubuntu or Debian then get the available corresponding to that.

Those are on the command line server, they can use the wget utility to download the file. However, while writing this tutorial the latest version of Subsonic was 6.1.6. In case while you are performing, if the Subsonic music server got some update, then simply first confirm the version number and then change the same in the below-given command.Copy Me

wget https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.6.deb
Downlaod Subsonic for Ubuntu 20.04

Install Subsonic Music server on Ubuntu 20.04 LTS

Finally, the Java and Debian package of Subsonic both are your system, now its time to install the Subsonic. Again go to your Command terminal and type the following commands:

If you have downloaded the Subsonic package using the browser then by default it will go to the Downloads folder. Therefore, first switch to that;Copy Me

cd Downloads

Now, use the dpkg  to install the Debian package:Copy Me

ls

Copy Me

sudo dpkg -i subsonic-6.1.6.deb

Note: In case you have a different version of this music server then change the file name “subsonic-6.1.6.deb” with the version you have downloaded.

Add non-root user for Subsonic

by default the media server will run under the root user, therefore to improve the security, we will create a user that would not have the root access to run Subsonic.

Note: You can change the user name “subsonic” in the below command as per your choice.

Create a system user:Copy Me

sudo useradd --system subsonic

sudo gpasswd --a subsonic subsonic

Specify the user in the config file

Open the configuration file using the text editor:Copy Me

cd etc/default/

Copy Me

sudo nano subsonic

In the file change the SUBSONIC_USER=root to SUBSONIC_USER=subsonic

You can also change the port number, increase Subsonic Memory, and enable SSL support here. However, right now we are just changing the user name.

Save the file by pressing Ctl+X , type Y and hit the Enter button.

Create Subsonic music server user

Restart eh Subsonic server

After committing the changes, restart the server to make the change into effect.Copy Me

sudo service subsonic restart

To enable the subsonic automatically start with system boot:Copy Me

sudo systemctl enable subsonic

Create a Music folder

Now, create a Music folder using the given command and after that give its access permission to the Subsonic user we have created above:Copy Me

sudo mkdir /var/music

#For those want to steam videos as well...

sudo mkdir /var/movie

#Give Subsonic, the permission of these folder

sudo chown subsonic:subsonic /var/music
sudo chown subsonic:subsonic /var/movie

Note: You can change the Music folder path as per your requirement. It could be in a NAS box or external drive.

After this, add all your music files to this folder you created above.

Open Subsonic in a web browser

If you are using the local system browser then to access the Subsonic Admin web page, type: localhost:4040 in the browser. However, on other systems in the same network use the system or server IP address where this music server has been installed. The port number is 4040.

By default, the password and username of Subsonic is admin

Login Subsonic

Change Administrator Password

The first thing you will see after login is the suggestion to change the Administrator password. Click on the link given there and change it to ensure better security from preparators.

Change Admin password

 Setup Music folder

Click on the Settings and then Music folder to set the folders for music and movies you have created.

Setup Subsonic Music Folder

That’s it, start enjoying your music streaming on PC, laptop, Android, and other devices. However, those who want to enable SSL support can follow the official guides.

Play Music remotely on Subsonic

Wie hilfreich war dieser Beitrag?

Klicke auf die Sterne um zu bewerten!

Durchschnittliche Bewertung 0 / 5. Anzahl Bewertungen: 0

Bisher keine Bewertungen! Sei der Erste, der diesen Beitrag bewertet.

Related Posts

INSTALLIEREN VON PHP-FUSION?????????

0 (0) Titel und Informationen wurden kopiert aus dem Internet und haben ein verweis denn jede Handlung ist auf eigene Gefahr (Anleitungen weichen ab vom Original oder…

Installation des CloudPanel Control Panels unter Debian 10

0 (0) CloudPanel ist ein kostenloses, quelloffenes und leistungsstarkes Server-Control-Panel, das für die Verwaltung mehrerer Web-Komponenten verwendet wird. Mit CloudPanel können Sie MySQL, NGINX, PHP-FPM, Redis, Domain,…

Keyhelp install für Hosting

0 (0) Server Control Panel KeyHelp® jetzt installieren! Bitte beachten Sie folgende Installations-Voraussetzungen: Betriebssystem: Ubuntu LTS oder Debian  Arbeitsspeicher: Mindestens 1 GB RAM Architektur: 64-Bit Betriebssystem Die…

Wie man Shoutcast Server auf Ubuntu 18.04 LTS oder Höher installiert

0 (0) SHOUTcast ist eine freie, quelloffene und plattformübergreifende Softwareanwendung, die zum Streaming von Medien über das Internet verwendet werden kann. SHOUTcast wird speziell zum Erstellen oder…

Minecraft Server Eestellen

0 (0) Wie man einen eigenen Minecraft Server auf Windows, Mac oder Linux erstellt Vor der Erstellung eines Minecraft Server erfolgen ein paar grundlegende Schritte: Installiere dir neueste Version…

Teamspeak 3 -install Debian

0 (0) In diesem Artikel geht es um die Installation eines Teamspeak 3 Server auf Debian 9 Stretch ist auch auf jeder anderen Version Möglich . 23.05.2022…

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert