With Subsonic, you can enjoy your music and movies everywhere and share with family and friends with apps available for Android, iPhone, Windows Phone, Chrome, and many more. Subsonic is designed to handle large music collections and is optimized for MP3 streaming. It works with any media format that can be streamed over HTTP / HTTPS, including AAC, OGG, WMA, FLAC, APE, and more. For more about Subsonic, please check out its homepage. When you’re ready, follow the steps below:
Install Java 8
For Subsonic to work, you should have Java installed. To do that, run the commands below. You can either install Oracle Java 8 standard or get the open-source version of Java. For this post, we’re going to be installing the open-source version of Java. To validate whether OpenJDK is installed, run the commands below You should see the similar text below: After installing OpenJDK 8 above, continue below to install and set up Subsonic.
Download and Configure Subsonic
Now that Java is installed, run the commands below to download the Subsonic .deb file. At the time of this writing, the current version is 6.1.5 Visit the Subsonic download page and see if there are newer versions available. If you see the newer version, replace the version number in the download link below. Once Subsonic is installed, you can run the commands below to start and enable Subsonic service to always start up when the server boots up. To check the service status, run the commands below You should see similar lines below: Finally, open your browser and browse to the server name or IP address followed by port 4040 You should see the Subsonic login page. The default username and password are admin. After login, you should go to Settings > Users to change the admin password. Change user By default, the Subsonic process is run as the root user. To improve security it is strongly advised that you run it as a dedicated user with less powerful privileges. You can specify this user by setting the SUBSONIC_USER variable in /etc/default/subsonic. Note that non-root users are by default not allowed to use ports below 1024. Also make sure to grant the user write permissions in the music directories, otherwise changing album art and tags will fail. Enjoy! You may also like the post below: