Subsonic on VPS
Posted: Sun May 02, 2010 4:24 pm
Here's what I did to get subsonic working on a VPS hosted at WiredTree on CentOS
1) Log into the VPS WHM, and click on "ConfigServer Security&Firewall", click on "Firewall Configuration", select TCP_IN and add 8080 or whatever port you wish to use for subsonic. Do the same for TCP_OUT. Click the change button on the bottom of the page.
1) Install Putty and WinSCP
2) Download subsonic rpm
3) Connect to server as root and copy rpm to /tmp using WinSCP
4) Using PuTTY, connect to server as root, cd to tmp folder and run the command:
5) Using WinSCP go to /etc/sysconfig/subsonic and edit with setting similar to these. Create the SUBSONIC_DEFAULT_MUSIC_FOLDER,SUBSONIC_DEFAULT_PODCAST_FOLDER and SUBSONIC_DEFAULT_PLAYLIST_FOLDER on the server if they don't exist.
6) Restart subsonic
7) Go to yourdomain.com:8080 to test and set up subsonic.
1) Log into the VPS WHM, and click on "ConfigServer Security&Firewall", click on "Firewall Configuration", select TCP_IN and add 8080 or whatever port you wish to use for subsonic. Do the same for TCP_OUT. Click the change button on the bottom of the page.
1) Install Putty and WinSCP
2) Download subsonic rpm
3) Connect to server as root and copy rpm to /tmp using WinSCP
4) Using PuTTY, connect to server as root, cd to tmp folder and run the command:
- Code: Select all
sudo yum install --nogpgcheck subsonic-x.x.rpm
5) Using WinSCP go to /etc/sysconfig/subsonic and edit with setting similar to these. Create the SUBSONIC_DEFAULT_MUSIC_FOLDER,SUBSONIC_DEFAULT_PODCAST_FOLDER and SUBSONIC_DEFAULT_PLAYLIST_FOLDER on the server if they don't exist.
- Code: Select all
--max-memory=150 --host=0.0.0.0 --port=8080 --default-music-folder=/home/scmadmin/listen/music/ --default-podcast-folder=/home/scmadmin/listen/music/podcast/ --default-playlist-folder=/home/scmadmin/listen/playlists/
6) Restart subsonic
- Code: Select all
sudo service subsonic restart
7) Go to yourdomain.com:8080 to test and set up subsonic.