cloudstack/docs/tmp/en-US/html/configure-package-repository.html

37 lines
5.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>4.4. Configure package repository</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Installation_Guide-4.0.0-incubating-en-US-1-" /><link rel="home" href="index.html" title="CloudStack Installation Guide" /><link rel="up" href="installation.html" title="Chapter 4. Installation" /><link rel="prev" href="minimum-system-requirements.html" title="4.3. Minimum System Requirements" /><link rel="next" href="management-server-install-flow.html" title="4.5. Management Server Installation" /></head><body><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="minimum-system-requirements.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="management-server-install-flow.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="configure-package-repository" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="configure-package-repository">4.4. Configure package repository</h2></div></div></div><div class="para">
CloudStack is only distributed from source from the official mirrors. However, members of the CloudStack community may build convenience binaries so that users can install Apache CloudStack without needing to build from source.
</div><div class="para">
If you didn't follow the steps to build your own packages from source in the sections for <a class="xref" href="sect-source-buildrpm.html">Section 3.6, “Building RPMs”</a> or <a class="xref" href="sect-source-builddebs.html">Section 3.5, “Building DEB packages”</a> you may find pre-built DEB and RPM packages for your convience linked from the <a href="http://incubator.apache.org/cloudstack/downloads.html">downloads</a> page.
</div><div class="note"><div class="admonition_header"><h2>Note</h2></div><div class="admonition"><div class="para">
These repositories contain both the Management Server and KVM Hypervisor packages.
</div></div></div><div class="section" id="configure-package-repository-deb"><div class="titlepage"><div><div><h3 class="title" id="configure-package-repository-deb">4.4.1. DEB package repository</h3></div></div></div><div class="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.
</div><div class="para">
Use your preferred editor and open (or create) <code class="filename">/etc/apt/sources.list.d/cloudstack</code>. Add the community provided repository to the file:
</div><pre class="programlisting">deb http://cloudstack.apt-get.eu/ubuntu precise 4.0</pre><div class="para">
We now have to add the public key to the trusted keys.
</div><pre class="programlisting">$ <span class="perl_BString">wget</span> -O - http://cloudstack.apt-get.eu/release.asc<span class="perl_Keyword">|</span>apt-key add -</pre><div class="para">
Now update your local apt cache.
</div><pre class="programlisting">$ apt-get update</pre><div class="para">
Your DEB package repository should now be configured and ready for use.
</div></div><div class="section" id="configure-package-repository-rpm"><div class="titlepage"><div><div><h3 class="title" id="configure-package-repository-rpm">4.4.2. RPM package repository</h3></div></div></div><div class="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.
</div><div class="para">
Yum repository information is found under <code class="filename">/etc/yum.repos.d</code>. You'll see several <code class="filename">.repo</code> files in this directory, each one denoting a specific repository.
</div><div class="para">
To add the CloudStack repository, visit the <a href="http://incubator.apache.org/cloudstack/downloads.html">downloads page</a> for the repository information. It will look something like this:
</div><pre class="programlisting">
[cloudstack]
name=cloudstack
baseurl=<em class="replaceable"><code>http://server.url/downloads/rpm/stable/</code></em>
enabled=1
gpgcheck=1
</pre><div class="para">
Next you'll want to add the GPG key:
</div><pre class="screen">
<code class="command">$ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt</code></pre><div class="para">
Now you should be able to install CloudStack using Yum.
</div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="minimum-system-requirements.html"><strong>Prev</strong>4.3. Minimum System Requirements</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="management-server-install-flow.html"><strong>Next</strong>4.5. Management Server Installation</a></li></ul></body></html>