In this tutorial, we will show you how to install and configure the Subsonic Media Server on Ubuntu 16.04 LTS. For those of you who didn’t know, Subsonic is a free, web-based media streamer written in Java, available for Linux, macOS, and Windows. With Subsonic, you can stream your music from a home computer or any public-facing computer and listen to your music from anywhere with a web browser.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Subsonic Media Server on a Ubuntu 16.04 (Xenial Xerus) server.
Prerequisites
- A server running one of the following operating systems: Ubuntu 16.04 (Xenial Xerus).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Subsonic Media Server on Ubuntu 16.04 LTS
Step 1. First, make sure that all your system packages are up-to-date by running the following apt-get
commands in the terminal.
sudo apt-get update sudo apt-get upgrade
Step 2. Installing Java.
First, we need to install Java by running the following three commands in sequence:
add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer
Step 2. Installing Subsonic Media Server.
Run the following commands to install Subsonic Media Server on Ubuntu systems:
wget https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.6.deb
Next, install the downloaded Subsonic package by running the following command:
sudo dpkg -i subsonic-6.0.deb
Once it’s installed, the Subsonic daemon will automatically start:
systemctl start subsonic systemctl enable subsonic
Step 3. Accessing Subsonic Media Server.
Subsonic Media Server will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://your-domain.com:4040
or http://your-server-ip:4040
and complete the required steps to finish the installation. If you are using a firewall, please open port 4040 to enable access to the control panel.
Congratulations! You have successfully installed Subsonic. Thanks for using this tutorial for installing the Subsonic Media Server on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you check the official Subsonic Media Server website.