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
39 $ source kamaki-env/bin/activate
41 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>`_
46 Package snf-common is part of the synnefo project and is a kamaki dependency since version 0.6.0.
48 .. code-block:: console
50 $ git clone http://code.grnet.gr/git/synnefo
51 $ cd synnefo/snf-common
52 $ ./setup build install
58 .. code-block:: console
60 $ git clone http://code.grnet.gr/git/kamaki
62 $ ./setup build install
64 4. Install progress and/or ansicolors (optional)
65 """"""""""""""""""""""""""""""""""""""""""""""""
67 progress: command-line progress bars (in some commands)
69 ansicolors: color kamaki output (can switched on and off in `setup <setup.html>`_)
71 .. code-block:: console
73 $ pip install progress
74 $ pip install ansicolors
76 Ubuntu and Debian packages
77 ^^^^^^^^^^^^^^^^^^^^^^^^^^
79 The following steps describe a command-line approach, but any graphic package manager can be used instead.
81 1. Add the following to apt sources list
82 """"""""""""""""""""""""""""""""""""""""
86 deb http://apt.dev.grnet.gr/ sid main
90 deb http://apt.dev.grnet.gr/ precise main
95 .. code-block:: console
99 .. note:: Safely ignore a signature verification error like the following, if it emerges:
101 .. 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
106 Since version 0.6.0, the package snf-common (available at synnefo apt repository) will be automatically installed as a dependency.
108 .. code-block:: console
110 $ sudo apt-get install kamaki
112 4. Install ansicolors and/or progress (Optional)
113 """"""""""""""""""""""""""""""""""""""""""""""""
115 .. code-block:: console
117 $ sudo apt-get install python-ansicolors
118 $ sudo apt-get install python-progress
123 Kamaki can be installed on Mac OS X systems from source, by following the steps at :ref:`installing-from-source-ref`.
128 Although it is proven not too tricky to install kamaki on Windows console using `git for windows <http://git-scm.com/downloads>`_, Windows environments are not supported at the time being.