Install OBM on Debian Lenny

# OBM on Debian Lenny

## Current and stable version of OBM

Modify your /etc/apt/sources.list by adding "contrib" and "non-free".
You should have something like this:

deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

Add an OBM repository :

# Stable repository with current version 2.4.1:
deb http://deb.obm.org/24/stable obm obm

# Oncommit build (can be broken at any time):
deb http://deb.obm.org/24/oncommit obm obm

## Named repositories for old versions
Those are the repositories for old obm versions :

# Only stable versions here
deb http://deb.obm.org/23 obm obm
deb http://deb.obm.org/22 obm obm
deb http://deb.obm.org/21 obm obm

Be carefull, those packages are built to run on dedicated obm servers.
Oncommit packages require manual install/update database from scripts ("/usr/share/obm/www/scripts/...") **WIP**

## Installation on Debian Lenny

For sun-java6-jdk you need to have contrib and non-free.
Just add the chosen repository to your /etc/apt/source.list :

deb http://deb.obm.org[VERSION] obm obm

and

wget -q http://deb.obm.org/obmgpg.pub -O - | apt-key add -
aptitude update
aptitude install obm

Alternatively, if you want opush and all OBM features on a single server, you can use the "obm-full" package:

wget -q http://deb.obm.org/obmgpg.pub -O - | apt-key add -
aptitude update
aptitude install obm-full

Then it's done! You should now read the [Getting Started](/wiki/getting-started) guide.Buty dziecięce