Added generic Yum docs.

This commit is contained in:
Joe Brockmeier 2012-10-21 09:30:09 -05:00
parent 9d29143b9a
commit 43bd3c3a17

View File

@ -25,21 +25,24 @@
<section id="configure-package-repository">
<title>Configure package repository</title>
<para>&PRODUCT; is only distributed from source from the official mirrors.
If you didn't follow the steps to build your own packages from source
in the sections for <xref linkend="sect-source-buildrpm" /> or
<xref linkend="sect-source-builddebs" /> you can find pre-build
DEB and RPM packages for your convience by third-parties.
However, members of the CloudStack community may build convenience binaries
so that users can install Apache CloudStack without needing to build from
source.
</para>
<para>
When installing &PRODUCT; it is recommended you use these package
repositories for easy installation.
If you didn't follow the steps to build your own packages from source
in the sections for <xref linkend="sect-source-buildrpm" /> or
<xref linkend="sect-source-builddebs" /> you may find pre-built
DEB and RPM packages for your convience linked from the
<ulink url="http://incubator.apache.org/cloudstack/downloads.html">downloads</ulink>
page.
</para>
<note>
<para>These repositories contain both the Management Server and KVM Hypervisor packages.</para>
</note>
<section id="configure-package-repository-deb">
<title>DEB package repository</title>
<para>You can add a DEB package repository to your apt sources with the following commands. Please note that currently only packages for Ubuntu 12.04.1 LTS (precise) are being build.</para>
<para>You can add a DEB package repository to your apt sources with the following commands. Please note that currently only packages for Ubuntu 12.04 LTS (precise) are being build.</para>
<para>Use your preferred editor and open (or create) <filename>/etc/apt/sources.list.d/cloudstack</filename>. Add the community provided repository to the file:</para>
<programlisting>deb http://cloudstack.apt-get.eu/ubuntu precise 4.0</programlisting>
<para>We now have to add the public key to the trusted keys.</para>
@ -50,6 +53,20 @@
</section>
<section id="configure-package-repository-rpm">
<title>RPM package repository</title>
<para>TODO</para>
<para>If you're using an RPM-based system, you'll want to add the Yum repository so that you can install CloudStack with Yum.</para>
<para>Yum repository information is found under <filename>/etc/yum.repos.d</filename>. You'll see several <filename>.repo</filename> files in this directory, each one denoting a specific repository.</para>
<para>To add the CloudStack repository, visit the <ulink url="http://incubator.apache.org/cloudstack/downloads.html">downloads page</ulink> for the repository information. It will look something like this:</para>
<programlisting>
[cloudstack]
name=cloudstack
baseurl=<replaceable>http://server.url/downloads/rpm/stable/</replaceable>
enabled=1
gpgcheck=1
</programlisting>
<para>Next you'll want to add the GPG key:</para>
<screen>
<command># rpm --import http://server.url/downloads/RPM-GPG-KEY.txt</command>
</screen>
<para>Now you should be able to install CloudStack using Yum.</para>
</section>
</section>