Skip to content

Commit

Permalink
Merge pull request #513 from grycap/devel
Browse files Browse the repository at this point in the history
Update Docs
  • Loading branch information
micafer authored Dec 18, 2017
2 parents 105184b + 422a417 commit 383e3b4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
23 changes: 18 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ It works for the most recent version of the main Linux distributions (RHEL, Cent
In case that you O.S. does not work with this install script see next sections.

1.3.2 From PIP
-----------------------------------
--------------

**WARNING**: In some GNU/Linux distributions (RHEL 6 or equivalents) you must uninstall
the packages python-paramiko and python-crypto before installing the IM with pip.
Expand All @@ -88,13 +88,13 @@ First you need to install pip tool and some packages needed to compile some of t
To install them in Debian and Ubuntu based distributions, do::

$ apt update
$ apt install gcc python-dev libffi-dev libssl-dev python-pip sshpass python-mysqldb python-pysqlite2
$ apt install gcc python-dev libffi-dev libssl-dev python-pip sshpass python-pysqlite2 python-requests

In Red Hat based distributions (RHEL, CentOS, Amazon Linux, Oracle Linux,
Fedora, etc.), do:

$ yum install epel-release
$ yum install which gcc python-devel libffi-devel openssl-devel python-pip sshpass MySQL-python python-sqlite3dbm
$ yum install which gcc python-devel libffi-devel openssl-devel python-pip sshpass python-sqlite3dbm

For some problems with the dependencies of the apache-libcloud package in some systems (as ubuntu 14.04 or CentOS 6)
this package has to be installed manually:
Expand All @@ -106,7 +106,8 @@ Then you only have to call the install command of the pip tool with the IM packa
$ pip install IM

Pip will also install the, non installed, pre-requisites needed. So Ansible 1.4.2 or later will
be installed in the system.
be installed in the system. Some of the optional packages are also installed please check if some
of IM features that you need requires to install some of the packages of section OPTIONAL PACKAGES.

You must also remember to modify the ansible.cfg file setting as specified in the
REQUISITES section.
Expand All @@ -124,6 +125,10 @@ You must have the epel repository enabled::
Then install the downloaded RPMs::

$ yum localinstall IM-*.rpm RADL-*.rpm

Azure python SDK is not available in CentOS. So if you need the Azure plugin you have to manually install them using pip::

$ pip install msrest msrestazure azure-common azure-mgmt-storage azure-mgmt-compute azure-mgmt-network azure-mgmt-resource azure-mgmt-dns

1.3.4 From Deb package (Tested with Ubuntu 14.04 and 16.04)
-----------------------------------------------------------
Expand All @@ -136,7 +141,15 @@ You can download it from their corresponding PPAs. But here you have some links:

* python-backports.ssl-match-hostname: http://archive.ubuntu.com/ubuntu/pool/universe/b/backports.ssl-match-hostname/python-backports.ssl-match-hostname_3.4.0.2-1_all.deb
* python-scp: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-scp/python-scp_0.10.2-1_all.deb
* python-libcloud: http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcloud/python-libcloud_0.20.0-1_all.deb
* python-libcloud: http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcloud/python-libcloud_2.2.1-1_all.deb
* python-xmltodict: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-xmltodict/python-xmltodict_0.11.0-1_all.deb

Also Azure python SDK is not available in Ubuntu 16.04. So if you need the Azure plugin you have to manually install them.
You can download it from their corresponding PPAs. But here you have some links:

* python-msrestazure: https://launchpad.net/ubuntu/+archive/primary/+files/python-msrestazure_0.4.3-1_all.deb
* python-msrest: https://launchpad.net/ubuntu/+archive/primary/+files/python-msrest_0.4.4-1_all.deb
* python-azure: https://launchpad.net/ubuntu/+archive/primary/+files/python-azure_2.0.0~rc6+dfsg-2_all.deb

It is also recommended to configure the Ansible PPA to install the newest versions of Ansible (see Ansible installation - http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntu):

Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ You can download it from their corresponding PPAs. But here you have some links:

* python-backports.ssl-match-hostname: http://archive.ubuntu.com/ubuntu/pool/universe/b/backports.ssl-match-hostname/python-backports.ssl-match-hostname_3.4.0.2-1_all.deb
* python-scp: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-scp/python-scp_0.10.2-1_all.deb
* python-libcloud: http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcloud/python-libcloud_0.20.0-1_all.deb
* python-xmltodict: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-xmltodict/python-xmltodict_0.9.2-3_all.deb
* python-libcloud: http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcloud/python-libcloud_2.2.1-1_all.deb
* python-xmltodict: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-xmltodict/python-xmltodict_0.11.0-1_all.deb

Also Azure python SDK is not available in Ubuntu 16.04. So if you need the Azure plugin you have to manually install them.
You can download it from their corresponding PPAs. But here you have some links:
Expand Down

0 comments on commit 383e3b4

Please sign in to comment.