## Current and stable version of OBM
Modify your /etc/apt/sources.list by adding "contrib" and "non-free" to the Debian repositories. Then add the last OBM stable repository:
deb http://ftp.fr.debian.org/debian/ wheezy main non-free
deb-src http://ftp.fr.debian.org/debian/ wheezy main non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ wheezy-updates main
deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main
# Stable repository with current version 3.1
deb http://deb.obm.org/31/stable obm obm
deb http://deb.obm.org/31/contrib wheezy obm
## Installation on Debian Wheezy
OBM now fully supports both Sun java jdk or Openjdk.
Remove exim4 because of conflicts with postfix:
apt-get remove exim4 exim4-config
If your locale isanything else but en_US.UTF8 (command line **locale**), be aware that postgresql cannot be installed if no other compatible locale is installed first.
The correct workaround is:
dpkg-reconfigure locales
Then select **en_US.UTF-8 UTF-8** (with the space key). You can keep fr_FR.UTF8 as your default locale for the system.
Please ensure you have a fully-qualified domain name.
Example of something you mustn't have :
$ hostname -f
hostname: Name or service not known
If you got this message, it seems that you have a different hostname setup in /etc/hostname and /etc/hosts.
And finally :
wget -q http://deb.obm.org/obmgpg.pub -O - | apt-key add -
aptitude update
aptitude install obm-full
With PostgreSQL, you may need to modify **/etc/postgresql/[VERSION]/main/postgresql.conf** and replace the default value of _"max_prepared_transactions"_ (_"0"_ per default, which disables prepared transaction) by setting its value to something larger (which should get at least as large as _"max_connections"_, in any case):
max_prepared_transactions = 100
... and restart postgresql
/etc/init.d/postgresql restart
## What about Opush?
Starting with OBM 3.0, Opush isn't packaged with OBM so you must install it on its own. There's a dedicated documentation page available [here](/docs/opush/opush.html). You may also be interested in Opush 3 [release notes](/docs/opush/releases/opush-3.0.0.html).
##What about Imap Archive Module?
Starting with OBM 3.1, the Imap archive package is a new package installed with a obm-full (read the [annoucement](/blog/obm-310-new-imap-archive-service-released)). Once installed you must configure imap archive and cyrus. Don't panic, there's a dedicated documentation page available [here](http://docs.obm.org/obm-imap-archive/imap-archive.html).
##**Known issues**
You may read [this](/wiki/known-issues), which describes known issues with obm installation and functionalities.
Then it's done! You should now read the [Getting Started](/wiki/getting-started) guide.Nike Air Max 97