Statistics
| Branch: | Tag: | Revision:

root / 10_install_server / 11_install_root_server_debian.txt @ ee189abb

History | View | Annotate | Download (2.4 kB)

1
=== Install Rudder Root server on Debian
2

    
3
==== Add the main, contrib and non-free components
4

    
5
Ensure that the +apt+ package manager is configured to use these three components,
6
by checking that +/etc/apt/sources.list+ contains the following lines:
7

    
8
----
9

    
10
deb http://ftp.fr.debian.org/debian/ $(lsb_release -cs) main contrib non-free
11
deb http://security.debian.org/ $(lsb_release -cs)/updates main contrib non-free
12

    
13
----
14

    
15
[TIP]
16

    
17
====
18

    
19
Your mirror may differ, +ftp.fr.debian.org+ is only an example. Also, please
20
adapt the distribution name if needed.
21

    
22
The Rudder Root server needs a compatible Java Runtime Environment to run.
23

    
24
On Debian Squeeze and Debian Lenny, the available package is Oracle(TM) Java 6
25
JRE, namely sun-java-6-jre, which is in the non-free component.
26

    
27
On Debian Wheezy and above, the available package is OpenJDK 7 JRE, namely
28
openjdk-7-jre.
29

    
30
You can get the Java JRE 6 here : http://www.java.com
31
====
32

    
33
==== Update the system
34

    
35
Prior to beginning the installation of your Rudder Server, we recommend that you
36
update your Debian system with the latest versions of available packages.
37
Especially, since the release of Debian 6.0 (Squeeze), the signing key of
38
packages repositories has changed. If you haven't already done it, you should
39
force the upgrade of the +debian-archive-keyring+ package to fetch the new key:
40

    
41
----
42

    
43
root@rudder-server:~# aptitude update
44
root@rudder-server:~# aptitude install debian-archive-keyring
45
root@rudder-server:~# aptitude update
46
root@rudder-server:~# aptitude safe-upgrade
47

    
48
----
49

    
50
==== Add the Rudder packages repository
51

    
52
To validate the content of the Normation repository, you should import the GPG
53
key used to sign it:
54

    
55
----
56

    
57
root@rudder-server:~# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 474A19E8
58

    
59
----
60

    
61
Then add the URL of the Normation repository, by typing the next command:
62

    
63
----
64

    
65
root@rudder-server:~# echo 'deb http://www.rudder-project.org/apt-stable/ $(lsb_release -cs) main contrib non-free' > /etc/apt/sources.list.d/rudder.list
66

    
67
----
68

    
69
Then, update your local package database to retrieve the list of packages
70
available on our repository:
71

    
72
----
73

    
74
root@rudder-server:~# aptitude update
75

    
76
----
77

    
78
==== Install your Rudder Root Server
79

    
80
To begin the installation, you should simply install the rudder-server-root
81
metapackage, which will install the required components:
82

    
83
----
84

    
85
root@rudder-server:~# aptitude install rudder-server-root
86

    
87
----
88

    
89
Rudder uses the Oracle Java virtual machine. To install it, you must accept
90
its license.
91