forked from Mach5/supersonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
99 lines (60 loc) · 2.59 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
To build and install from source there are different steps depending on what
platform you are on and how you want the resulting binary packaged.
Linux
=====
First install the packages needed to build Supersonic. It depends on Java and
the Maven build environment:
Debian/Ubuntu/Mint
sudo apt-get install maven2 openjdk-6-jdk lintian
RedHat/Fedora
su -c "yum install java-1.6.0-openjdk-devel maven2"
OpenSUSE
sudo zypper install java-1_6_0-openjdk-devel-1.6.0 maven2
ArchLinux
sudo pacman -Sy openjdk6
You will then have to get Maven from AUR: https://aur.archlinux.org/packages.php?ID=44684
Change directory into the folder which holds the Supersonic source code and run
Maven to install a binary package for your distribution:
cd <supersonic source folder>
If you would like to install a specific project only use the following syntax and replace <project> accordingly.
Each project name is specified by its POM file and happens to match the directory name in Supersonic. For instance,
to build the Debian project replace <project> with subsonic-installer-debian.
mvn -P full -pl <project> -am install
To build for every available platform do
mvn clean -P full; mvn install -P full
In case of dependency issues, try
mvn install -P full -U
Then install the now built binary package for your distribution:
Debian/Ubuntu/Mint
sudo dpkg -i subsonic-installer-debian/target/supersonic-<version number>.deb
Fedora/RedHat
su -c "rpm -i subsonic-installer-rpm/supersonic-<version number>.rpm"
OpenSUSE
sudo zypper install subsonic-installer-rpm/supersonic-<version number>.rpm
Archlinux
<Instructions yet missing>.
Starting Supersonic:
Once Supersonic is installed it may be started automatically depending on your
specific distro. An manual start may be triggered like this:
Debian/Ubuntu/Mint/OpenSUSE
sudo /etc/init.d/supersonic restart
Fedora/RedHat
su -c "service supersonic restart"
Archlinux
sudo /etc/rc.d/supersonic restart
Windows
=======
Download and install Java JDK from Oracle:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download and install Apache Maven: http://maven.apache.org/
Installation instructions: http://maven.apache.org/download.html#Installation_Instructions
Build the sourcecode with Maven. This assumes that you have followed the
installation instructions provided above for Maven:
Open the start menu and enter:
cmd
When the command prompt appears switch to the folder in which you downloaded
the Supersonic sourcecode:
cd <folder containing Supersonic>
Then build Supersonic with:
mvn install
<Instructions on how to start Supersonic on Windows yet missing>.