Skip to content
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MagnusS committed Apr 10, 2015
1 parent 64a6f05 commit 630c422
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@ Although Jitsu can be used with any VM that can be controlled with libvirt, it i

## Getting started ##

Jitsu requires the libraries dns, lwt, libvirt and cmdliner, which can be installed with [opam](https://opam.ocaml.org). Run make to compile:
Jitsu depends on libvirt to manage VMs. To install libvirt on Debian/Ubuntu run `sudo apt-get install libvirt-bin`, on OSX run `brew install libvirt`.
```
To install the OCaml libvirt bindings on OS X we have to set CPPFLAGS first (due to this [bug](https://github.com/ocaml/opam-repository/issues/2621)). This step can be skipped on other platforms.
```
CPPFLAGS="-Wno-error=tautological-compare -Wno-error=unused-function" opam install libvirt
```
Jitsu can now be installed with opam:
```
opam install dns lwt libvirt cmdliner
make
opam pin add jitsu 'https://github.com/MagnusS/jitsu.git'
opam install jitsu
```
You should now be able to start jitsu:
If the installation succeeds you should now be able to start jitsu:
```
sudo ./jitsu www.openmirage.org,192.168.0.22,mirage-www -c xen:///
Expand Down

0 comments on commit 630c422

Please sign in to comment.