4 This guide describes the standard installation process for kamaki, with the aspiration of covering as much cases as possible. Although kamaki was initially targeted to advanced Linux/Unix-like users, it should be quite straightforward to install and have it up and running in most popular platforms.
7 * Kamaki repository: `http://code.grnet.gr/git/kamaki <http://code.grnet.gr/git/kamaki>`_
9 * Synnefo Linux packages: `http://apt.dev.grnet.gr <http://apt.dev.grnet.gr>`_
11 Linux and Unix-like enviroments
12 -------------------------------
14 .. _installing-from-source-ref:
16 Installing from source (git repos.)
17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 * Python 2.6 or better [http://www.python.org]
25 * Python setuptools [http://pypi.python.org/pypi/setuptools]
29 * VirtualEnv (python-virtualenv) [http://www.virtualenv.org]
31 1. Setup a virtual enviroment (optional)
32 """"""""""""""""""""""""""""""""""""""""
34 With virtualenv users can setup kamaki and synnefo services in a sandbox environment.
36 .. code-block:: console
38 $ virtualenv kamaki-env
40 $ source kamaki-env/bin/activate
42 A more detailed example of using virtual env can be found at the `snf-image-creator setup guide <http://docs.dev.grnet.gr/snf-image-creator/latest/install.html#python-virtual-environment>`_
47 Package snf-common is part of the synnefo project and is a kamaki dependency since version 0.6.0.
49 .. code-block:: console
51 $ git clone http://code.grnet.gr/git/synnefo
53 $ cd synnefo/snf-common
55 $ ./setup build install
62 .. code-block:: console
64 $ git clone http://code.grnet.gr/git/kamaki
68 $ ./setup build install
70 4. Install progress and/or ansicolors (optional)
71 """"""""""""""""""""""""""""""""""""""""""""""""
73 progress: command-line progress bars (in some commands)
75 ansicolors: color kamaki output (can switched on and off in `setup <setup.html>`_)
77 .. code-block:: console
79 $ pip install progress
81 $ pip install ansicolors
83 Ubuntu and Debian packages
84 ^^^^^^^^^^^^^^^^^^^^^^^^^^
86 The following steps describe a command-line approach, but any graphic package manager can be used instead.
88 1. Add the following to apt sources list
89 """"""""""""""""""""""""""""""""""""""""
93 deb http://apt.dev.grnet.gr/ sid main
97 deb http://apt.dev.grnet.gr/ precise main
102 .. code-block:: console
104 $ sudo apt-get update
106 .. note:: Safely ignore a signature verification error like the following, if it emerges:
108 .. warning:: GPG error: http://apt.dev.grnet.gr precise/sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXX
113 Since version 0.6.0, the package snf-common (available at synnefo apt repository) will be automatically installed as a dependency.
115 .. code-block:: console
117 $ sudo apt-get install kamaki
119 4. Install ansicolors and/or progress (Optional)
120 """"""""""""""""""""""""""""""""""""""""""""""""
122 .. code-block:: console
124 $ sudo apt-get install python-ansicolors
126 $ sudo apt-get install python-progress
131 Kamaki can be installed on Mac OS X systems from source, by following the steps at :ref:`installing-from-source-ref`.
136 It has proven possible (and not too tricky) to install kamaki on Windows console using some auxiliary applications, but Windows users are not the target audience for the time being.