DebianUbuntu installation by packages

Version 1 (Romain Vrignaud, 11/17/2011 08:51 am)

1 1
h1. DebianUbuntu installation by packages
2 1
3 1
4 1
5 1
The Foreman packages should work on the following Debian-based Linux distributions:
6 1
7 1
* Debian Linux 5.0 (Lenny), see [[Installation_instructions#Debian-Linux-50-Lenny]]
8 1
* Debian Linux 6.0 (Squeeze)
9 1
* Ubuntu Linux 10.04 LTS (Lucid Lynx)
10 1
* Ubuntu Linux 10.10 (Maverick Meerkat)
11 1
* Ubuntu Linux 11.04 (Natty Narwhal)
12 1
13 1
If you encounter any errors during the installation, please file a bug report!
14 1
15 1
16 1
Add one of the following lines to your @/etc/apt/sources.list@ (alternatively in a separate file in @/etc/apt/sources.list.d/foreman.list@):
17 1
18 1
<pre>
19 1
# Stable packages
20 1
deb http://deb.theforeman.org/ stable main
21 1
22 1
# Testing packages
23 1
deb http://deb.theforeman.org/ testing main
24 1
25 1
# Nightly builds. Beware: HERE BE DRAGONS
26 1
deb http://deb.theforeman.org/ nightly main
27 1
</pre>
28 1
29 1
The public key for "secure APT":http://wiki.debian.org/SecureApt can be downloaded "here":http://deb.theforeman.org/foreman.asc
30 1
31 1
You can add this key with
32 1
<pre>
33 1
apt-key add foreman.asc
34 1
</pre>
35 1
36 1
or combine downloading and registering:
37 1
<pre>
38 1
wget -q http://deb.theforeman.org/foreman.asc -O- | apt-key add -
39 1
</pre>
40 1
41 1
The key fingerprint is
42 1
<pre>
43 1
1DCB 15D1 2CA1 40EE F494  7E57 66CF 053F E775 FF07
44 1
Foreman Archive Signing Key <packages@theforeman.org>
45 1
</pre>
46 1
47 1
To install Foreman, run
48 1
49 1
<pre>
50 1
sudo apt-get update
51 1
52 1
# Depending on the database you want to use with Foreman,
53 1
# install one of these meta-packages:
54 1
sudo apt-get install foreman-mysql
55 1
sudo apt-get install foreman-pgsql
56 1
sudo apt-get install foreman-sqlite3
57 1
58 1
# or install the foreman main package and configure the
59 1
# database manually in /etc/foreman/database.yml
60 1
sudo apt-get install foreman
61 1
</pre>
62 1
63 1
The only purpose of the meta-packages @foreman-mysql@, @foreman-pgsql@, and @foreman-sqlite3@ is to pull in any dependencies on the respective database system during the package installation. If you don't want to run the Foreman database on the same host, please use the @foreman@ package and configure the database settings in @/etc/foreman/database.yml@. You cannot use @dbconfig-common@ in this case.
64 1
65 1
66 1
h3. Debian Linux 5.0 (Lenny)
67 1
68 1
Users of Debian Lenny will have to install "rake":http://packages.debian.org/lenny-backports/rake and "libsinatra-ruby":http://packages.debian.org/lenny-backports/libsinatra-ruby from @lenny-backports@.
69 1
70 1
See http://backports.debian.org/Instructions/ for instructions on how to add @lenny-backports@ to your list of repositories and install a package from it.