How to Install Subsonic Media Server Ubuntu 18.04

Subsonic is a web-based media server written in Java language, so it can run on any operating system with Java support. It comes with a user-friendly web interface and allows us to share music and video with multiple users. You can stream your music from home and listen to your music from anywhere.

In this tutorial, we will be going to learn how to install Subsonic media server in Ubuntu 18.04 server.

Requirements

  • A server running Ubuntu 18.04.
  • A non-root user with sudo privileges.

Install Java

Subsonic media server is written in Java, so you will need to install Java to your system. You can install Java using the following command:

sudo apt-get install oracle-java8-installer -y

After installing Java, you can check the version of Java with the following command:

java -version

You should see the following output:

Java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Install Subsonic

First, you will need to download the latest version of the Subsonic to your system. You can download it using the following command:

wget https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.3.deb

Once the download is completed, install the Subsonic using the following command:

sudo dpkg -i subsonic-6.1.3.deb

Once the Subsonic is installed, restart the Subsonic service with the following command:

sudo systemctl restart subsonic

By default, Subsonic store their music files in /var/music directory. So you will need to create a music directory for Subsonic.

sudo mkdir /var/music

Access Subsonic Web Interface

Now, Subsonic media server is installed and runs on port 4040. Open your web browser and type the URL http://yourserverip:4040, you will be redirected to the Subsonic login page as shown below:

Subsonic login

Next, enter username and password as admin/admin and click on the Log In button, you should see the Subsonic default dashboard in the following page:

Subsonic Media Server Dashboard

Hitesh Jethva

About Hitesh Jethva

Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud, Postfix Mail Server, Security etc.

Share this page:

Suggested articles

3 Comment(s)

Add comment

Comments

By: Matt Erdoesnot at: 2018-05-11 13:51:01

Why would you want to install closed source, instead of the compatible FOSS forks?

 

At least LibreSonic should ne mentioned!

By: Michael Fox at: 2018-05-13 01:24:24

LibreSonic forked to airsonic (https://github.com/airsonic/airsonic)

By: Caleb at: 2018-05-14 20:21:12

Libresonic is no longer really an active project.  Long live airsonic!  https://airsonic.github.io/