Last year I removed all my music from Google Play Music and created my own subSonic server. I really like subSonic but don't use it a huge amount, mostly for syncing some music to my phone prior to going on holiday or business. Therefore, I've made a single one time donation to the project rather than the ongoing monthly usage fee.
Installing subSonic on Debian
This is how I install subSonic on Debian Wheezy.
sudo apt-get install tomcat7
apt-get install ffmpeg sudo mkdir /var/subsonic sudo chown tomcat7: /var/subsonic sudo wget -c https://github.com/KHresearch/subsonic/releases/download/v4.9-kang/subsonic.war sudo cp subsonic.war /var/lib/tomcat7/webapps
sudo service tomcat7 restart
Login to subSonic by visiting http://server.example.org:8080/subsonic and
login with the credentials
admin. Make sure you change the
password straight away.
Right, that is it. You can stop here and start filling subSonic with your music.