From 422a4176e7581d19792bb5dbda6b2d901857b1ba Mon Sep 17 00:00:00 2001 From: micafer Date: Mon, 18 Dec 2017 10:02:15 +0100 Subject: [PATCH] Update Docs --- INSTALL | 23 ++++++++++++++++++----- README | 4 ++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 4d62df87b..af8e2c021 100644 --- a/INSTALL +++ b/INSTALL @@ -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. @@ -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: @@ -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. @@ -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) ----------------------------------------------------------- @@ -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): diff --git a/README b/README index d27b55c4d..f3fcedc28 100644 --- a/README +++ b/README @@ -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: