How to install Subsonic on centos 7

To install Subsonic on centos 7

Subsonic is a media server for Streaming Media files over Network. It is a web-based music streamer, podcast receiver, and jukebox that is used to enjoy music from anywhere. It also provides a facility to share music files and folders. In this tutorial, we will cover the installation of subsonic on centos 7.

Pre-requirements

Install apache and java
For JAVA installation

yum install java-1.8.0-openjdk-devel

Download the subsonic rpm package by using wget command.

\[root@linuxhelp1 ~\]# wget https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.3.rpm
\--2018-09-04 02:46:46--  https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.3.rpm
Resolving s3-eu-west-1.amazonaws.com (s3-eu-west-1.amazonaws.com)... 52.218.80.146
Connecting to s3-eu-west-1.amazonaws.com (s3-eu-west-1.amazonaws.com)|52.218.80.146|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62785948 (60M) \[application/x-redhat-package-manager\]
Saving to: ‘subsonic-6.1.3.rpm’
100%\[============================================================>\] 62,785,948   816KB/s   in 67s    
2018-09-04 02:47:53 (920 KB/s) - ‘subsonic-6.1.3.rpm’ saved \[62785948/62785948\]

Install the subsonic package run the following command.

\[root@linuxhelp1 ~\]# yum install subsonic-6.1.3.rpm
Loaded plugins: fastestmirror, langpacks
Examining subsonic-6.1.3.rpm: subsonic-6.1.3-e408c9.i386
Marking subsonic-6.1.3.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package subsonic.i386 0:6.1.3-e408c9 will be installed
--> Finished Dependency Resolution
.
.
.
  Installing : subsonic-6.1.3-e408c9.i386                                                         1/1 
Starting subsonic (via systemctl):  \[  OK  \]
  Verifying  : subsonic-6.1.3-e408c9.i386                                                         1/1 
Installed:
  subsonic.i386 0:6.1.3-e408c9                                                                        
Complete!

Check the status of subsonic run the following command.

\[root@linuxhelp1 ~\]# systemctl status subsonic.service
subsonic.service - LSB: Subsonic daemon
   Loaded: loaded (/etc/rc.d/init.d/subsonic; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2018-09-04 02:50:38 IST; 35s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 51022 ExecStart=/etc/rc.d/init.d/subsonic start (code=exited, status=0/SUCCESS)
Sep 04 02:50:37 linuxhelp1 systemd\[1\]: Starting LSB: Subsonic daemon...
Sep 04 02:50:37 linuxhelp1 subsonic\[51022\]: Starting subsonic ...
Sep 04 02:50:38 linuxhelp1 su\[51028\]: (to root) root on none
Sep 04 02:50:38 linuxhelp1 subsonic\[51022\]: Started Subsonic \[PID 51037, /var/subsonic/subsonic\_...og\]
Sep 04 02:50:38 linuxhelp1 systemd\[1\]: Started LSB: Subsonic daemon.
Hint: Some lines were ellipsized, use -l to show in full.

Entry to the host file.

\[root@linuxhelp1 ~\]# vim /etc/hosts  

Open a browser and type your server IP address or hostname. URL http://www.linuxhelp1.com:4040

Login page of subsonic. Here the default username and password “admin”.

The subsonic application has been launched. If you want to change the password just clicks change administrator password.

With this, the method to install Subsonic on Centos 7 comes to an end.

FAQ
Q
How to Create a Linux VLC Streaming Media Server for Your Home?
A
Enjoying music or movies via Netflix or YouTube is great, but what about when the Internet is down? With a VLC media server, you'll never have to go without entertainment again!
Q
What is Subsonic?
A
Subsonic is a media streaming server. You install it on your own computer where you keep your music or video collection.
Q
I changed the timezone and the time is still wrong?
A
If you are sure you have set the timezone and Summer Time/DST correctly and the time is still incorrect, then the time stored on the server clock is incorrect. Please notify an administrator to correct the problem.
Q
Why can’t I login my subsonic account?
A
There are several reasons why this could occur. First, ensure your username and password are correct. If they are, contact the board owner to make sure you haven’t been banned. It is also possible the website owner has a configuration error on their end, and they would need to fix it.
Q
How do I play music and videos?
A
There are several alternatives. You can use a web browser or a smart phone app. You can also play it on your Sonos, Chromecast or UPnP device. There is also a jukebox feature, where the music is played on the audio output of your Subsonic server.