-
Notifications
You must be signed in to change notification settings - Fork 60
Develop ubuntu
osnet edited this page Aug 4, 2012
·
5 revisions
This is a quick-start guide to compiling and running a copy of supersonic/subsonic for Ubuntu/Debian.
- $ sudo apt-get install git
- $ sudo apt-get install maven2 openjdk-6-jdk
- $ sudo apt-get install lintian
- $ sudo apt-get install rpm (optional)
- $ sudo apt-get install fakeroot (not preinstalled on Ubuntu Server)
- Sign up For a github account
- git clone https://[email protected]/YOU/supersonic.git
The RPM target requires rpmlint, which is not available, so I just remove the
RPM target. Edit pom.xml and remove this line : <module>subsonic-installer-rpm</module>
You might also remove the modules for windows and mac. There is no need for them.
- cd supersonic
- mvn clean -P full
- sudo service stop subsonic
- sudo service stop supersonic
- mv /tmp/subsonic /tmp/subsonic.old
- mvn install -P full
- sudo cp /usr/bin/subsonic /usr/bin/subsonic.save
- mv /tmp/subsonic /tmp/subsonic.build
- sudo dpkg -i `ls -tr subsonic-installer-debian/target/supersonic*.deb | head -1`
- vim /usr/bin/supersonic and put any settings back that are in /usr/bin/subsonic.save
- sudo -i
- service supersonic stop
- rm /etc/default/supersonic
- ln -s /etc/default/subsonic /etc/default/supersonic
- vim /usr/bin/supersonic and change
/var/supersonic
to/var/subsonic
- service supersonic start