Fixed API installation procedure
Change-Id: I646ca96d8f6afca77c2f48baaaa1847f605d4ca2
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright (c) 2013 Mirantis, Inc.
|
Copyright (c) 2013 Mirantis, Inc.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -3380,10 +3380,15 @@ http://docbook.org/ns/docbook "
|
|||||||
<title>Install</title>
|
<title>Install</title>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Navigate to the temporary directory and clone Murano API Service from repository
|
<para>Need to work as root</para>
|
||||||
</para>
|
<programlisting>
|
||||||
<para><emphasis>Ubuntu Linux 12.04 / 12.10</emphasis>
|
<![CDATA[
|
||||||
</para>
|
sudo su
|
||||||
|
]]>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>Navigate to the temporary directory and clone Murano API Service from repository</para>
|
||||||
|
<para><emphasis>Ubuntu Linux 12.04 / 12.10</emphasis></para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
mkdir -p /tmp/murano
|
mkdir -p /tmp/murano
|
||||||
@@ -3392,8 +3397,7 @@ apt-get install -y git
|
|||||||
git clone https://github.com/stackforge/murano-api
|
git clone https://github.com/stackforge/murano-api
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para><emphasis>CentOS 6.x</emphasis>
|
<para><emphasis>CentOS 6.x</emphasis></para>
|
||||||
</para>
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
mkdir -p /tmp/murano
|
mkdir -p /tmp/murano
|
||||||
@@ -3405,20 +3409,26 @@ git clone https://github.com/stackforge/murano-api
|
|||||||
|
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Switch to just created directory</para>
|
<para>Switch to just created directory and them perform installation</para>
|
||||||
|
<para><emphasis>Ubuntu Linux 12.04 / 12.10</emphasis></para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
user@work:~/$ cd murano-api
|
cd murano-api
|
||||||
|
chmod +x setup.sh
|
||||||
|
./setup.sh install
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
<para><emphasis>CentOS 6.x</emphasis></para>
|
||||||
<listitem>
|
|
||||||
<para>And them perform installation:</para>
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
user@work:~/murano-api$ chmod +x setup.sh ; sudo ./setup.sh install
|
cd murano-api
|
||||||
|
chmod +x setup.sh
|
||||||
|
yum install -y
|
||||||
|
http://mirror.yandex.ru/epel/6/x86_64/epel-release-6-8.noarch.rpm
|
||||||
|
./setup-centos.sh install
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
@@ -3429,19 +3439,21 @@ user@work:~/murano-api$ chmod +x setup.sh ; sudo ./setup.sh install
|
|||||||
<para> First configure rabbitMQ by adding vhost and user with administrator rights:</para>
|
<para> First configure rabbitMQ by adding vhost and user with administrator rights:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
sudo rabbitmqctl add_user murano murano
|
rabbitmqctl add_user murano murano
|
||||||
sudo rabbitmqctl set_user_tags murano administrator
|
rabbitmqctl set_user_tags murano administrator
|
||||||
sudo rabbitmqctl add_vhost murano
|
rabbitmqctl add_vhost murano
|
||||||
sudo rabbitmqctl set_permissions -p murano murano ".*" ".*" ".*"
|
rabbitmqctl set_permissions -p murano murano ".*" ".*" ".*"
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Copy and edit configuration file:</para>
|
<para>Copy and edit configuration files:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
user@work:~/murano-api$ sudo cp /etc/murano-api/murano-api.conf.sample /etc/murano-api/murano-api.conf
|
cd /etc/murano-api
|
||||||
user@work:~/murano-api$ sudo nano /etc/murano-api/murano-api.conf
|
cp murano-api.conf.sample murano-api.conf
|
||||||
|
cp murano-api-paste.ini.sample murano-api-paste.ini
|
||||||
|
vi murano-api.conf
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
@@ -3484,11 +3496,10 @@ password = murano
|
|||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Copy and edit one more configuration file:</para>
|
<para>Edit one more configuration file:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
user@work:~/murano-api$ sudo cp etc/murano-api/murano-api-paste.ini.sample etc/murano-api/murano-api-paste.ini
|
vi murano-api.conf
|
||||||
user@work:~/murano-api$ sudo nano /etc/murano-api/murano-api-paste.ini
|
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
@@ -3542,7 +3553,7 @@ user@work:~/$ keystone endpoint-create
|
|||||||
<para>Run Murano API and supply valid configuration file:</para>
|
<para>Run Murano API and supply valid configuration file:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
user@work:~/$ sudo service murano-api start
|
service murano-api start
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user