Revision bd205d0e
b/INSTALL | ||
---|---|---|
45 | 45 |
Installation of the software |
46 | 46 |
============================ |
47 | 47 |
|
48 |
To install, simply do ``./configure --localstatedir=/var && make && make install`` |
|
48 |
To install, simply do ``./configure --localstatedir=/var --sysconfdir=/etc && \ |
|
49 |
make && make install`` |
|
49 | 50 |
|
50 | 51 |
This will install the software under /usr/local. You then need to copy |
51 | 52 |
ganeti.init to /etc/init.d/ganeti and integrate it into your boot sequence |
b/doc/install.sgml | ||
---|---|---|
577 | 577 |
<screen> |
578 | 578 |
tar xvzf ganeti-1.2b1.tar.gz |
579 | 579 |
cd ganeti-1.2b1 |
580 |
./configure --localstatedir=/var |
|
580 |
./configure --localstatedir=/var --sysconfdir=/etc
|
|
581 | 581 |
make |
582 | 582 |
make install |
583 | 583 |
mkdir /srv/ganeti/ /srv/ganeti/os /srv/ganeti/export |
... | ... | |
585 | 585 |
|
586 | 586 |
<para> |
587 | 587 |
You also need to copy the file |
588 |
<filename>docs/examples/ganeti.initd</filename>
|
|
588 |
<filename>doc/examples/ganeti.initd</filename> |
|
589 | 589 |
from the source archive to |
590 | 590 |
<filename>/etc/init.d/ganeti</filename> and register it with |
591 | 591 |
your distribution's startup scripts, for example in Debian: |
... | ... | |
597 | 597 |
to setup a cron job run the |
598 | 598 |
<computeroutput>ganeti-watcher</computeroutput> program. A |
599 | 599 |
sample cron file is provided in the source at |
600 |
<filename>docs/examples/ganeti.cron</filename> and you can
|
|
600 |
<filename>doc/examples/ganeti.cron</filename> and you can |
|
601 | 601 |
copy that (eventually altering the path) to |
602 | 602 |
<filename>/etc/cron.d/ganeti</filename> |
603 | 603 |
</para> |
Also available in: Unified diff