Project

General

Profile

Debian-Ubuntu installation by packages » History » Version 1

Romain Vrignaud, 11/17/2011 08:52 AM

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