forked from agentultra/openstack-guest-agents-unix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
44 lines (32 loc) · 1.31 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
The following packages are required for building:
Debian/Ubuntu:
apt-get install autoconf build-essential python-cjson libxen3-dev
apt-get install python-anyjson python-pip python-crypto
pip install pyxenstore
CentOS/RedHat, etc:
(Will update this later. Use the packages above as a guide)
The following is needed for make install or make bintar:
patchelf -- You can find a package for it here:
http://hydra.nixos.org/project/patchelf/jobstatus
Click the number to the left of the correct package
To build on Linux:
1) sh autogen.sh
2) ./configure
(default prefix is /usr which means that the agent will be installed
into /usr/share/nova-agent/<version>. A symlink will be created in
/usr/sbin for nova-agent)
3) make
4) make check
5) sudo make install (or sudo make bintar)
6) ln -s /usr/share/nova-agent/<VERSION>/etc/nova-agent.init /etc/init.d/nova-agent
7) update-rc.d to add to appropriate runlevels
To build on FreeBSD:
1) sh autogen.sh
2) ./configure
(default prefix is /usr which means that the agent will be installed
into /usr/share/nova-agent/<version>. A symlink will be created in
/usr/sbin for nova-agent)
3) gmake
4) gmake check
5) sudo gmake install (or sudo make bintar)
6) ln -s /usr/share/nova-agent/<VERSION>/etc/nova-agent.freebsd.init /etc/rc.d/nova-agent