forked from holland-backup/holland
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
60 lines (32 loc) · 1.69 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
FIXME: This is rough and to the point.... needs fluff.
UNPACK THE SOURCE:
you@linuxbox ~]$ tar -zxvf holland-x.y.z.tar.gz
LOCAL DEVELOPMENT INSTALLATION:
you@linuxbox ~] cd ./holland-x.y.z
you@linuxbox holland-x.y.z] ./scripts/mkvirtenv.sh
Optionally, for target testing... add the --no-deps option to force
holland to rely on system dependencies (such as MySQL-python).
SOURCE INSTALLATION:
Install Holland Core:
you@linuxbox ~]$ cd ./holland-x.y.z/holland-core
you@linuxbox holland-core]$ sudo python setup.py install
Install Holland Core Plugins:
you@linuxbox holland-x.y.z]$ cd plugins/holland.lib.common
you@linuxbox holland.lib.common]$ sudo python setup.py install
you@linuxbox holland-x.y.z]$ cd plugins/holland.lib.mysql
you@linuxbox holland.lib.mysql]$ sudo python setup.py install
Install Optional Plugins (see plugins/ACTIVE):
you@linuxbox holland-x.y.z]$ cd plugins/<plugin_dir>
you@linuxbox holland.<plugin_dir>]$ sudo python setup.py install
UBUNTU INSTALLATION:
you@linuxbox holland-x.y.z]$ cp -a contrib/ubuntu/ubuntu.jaunty debian
you@linuxbox holland-x.y.z]$ dpkg-buildpackage -us -uc
REDHAT/FEDORA/CENTOS/ETC INSTALLATION:
root@linuxbox ~]# cp -a holland-x.y.z/contrib/holland.spec /usr/src/redhat/SPECS
root@linuxbox ~]# cp -a holland-x.y.z.tar.gz /usr/src/redhat/SOURCES
root@linuxbox ~]# cd /usr/src/redhat
root@linuxbox /usr/src/redhat]# rpmbuild -ba SPECS/holland.spec
Alternatively you can use a build script:
you@linuxbox ~]$ tar -zxvf holland-x.y.z
you@linuxbox ~]$ cd holland-x.y.z
you@linuxbox ~]$ python scripts/build_rpms.py