Nuxeo/Blogs

Product & Development / All about the Nuxeo Platform, from strategy to feature highlights to dev tricks

New beta Nuxeo DM package for Debian / Ubuntu

with 4 comments

We have made a new .deb package of Nuxeo DM for Debian and Ubuntu. Deb

It’s available for Debian 5.0 “Lenny” (and probably works for Squeeze too), and for Ubuntu 10.04 LTS “Lucid” and 10.10 “Maverick”.

There are a few major changes over the previous (5.3.2) packages:

  • There is now only one package, instead of two, and it is now called “nuxeo-dm”, not “nuxeo-dm-tomcat” or “nuxeo-dm-jboss”. We choose to base it on Tomcat, and we won’t do a JBoss-based .deb package in the foreseeable future (if you want to install Nuxeo on top of JBoss 5, you can still download it as an EAR from nuxeo.com).

  • The package is now able to set up a PostgreSQL 8.4 database, which is the open source database we use and recommend for production settings with the correct tuning and customization needed to make Nuxeo DM work with it. Alternatively, you can connect your Nuxeo DM instance to an existing PostgreSQL / MySQL / Oracle / MS-SQL instance, but you’re on your own to set it up properly, using the information in our Installing and configuring the backend database software knowledge base entry.

  • Once the server is started, you can use the Nuxeo Admin Center to fine-tune the configuration, or to download (with the appropriate subscription) extensions from the Nuxeo Marketplace.

Since this is still a recent development, we ask those with a Debian or Ubuntu machine suitable for deploying test software to try to install the package and report any issue you might find.

To do so:

  • Either add “deb http://apt.nuxeo.org/ lenny releases” to your /etc/apt/sources.list file (substitute “lucid” or “maverick” for “lenny” if you’re using Ubuntu), then run “apt-get update” and “apt-get install nuxeo-dm” (or use a graphical package manager).

  • Or download the package from http://apt.nuxeo.org/pool/releases/nuxeo-dm_5.4.0.1-02_all.deb, install it with “dpkg -i” (and install the needed dependencies if it complains).

Note that on Debian Lenny, you might need to enable the backports if you run into errors such as “nuxeo-dm: Depends: postgresql (>= 8.4) but 8.3.12-0lenny1 is to be installed”.

To do so, add “deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free” to your /etc/apt/sources.list

Note that at this point, these packages come with absolutely NO WARRANTY. We can’t promise that it won’t break your system, erase your data, etc.

ALWAYS BACKUP YOUR DATA before running an install or an upgrade, and perform the install first on a test server before deploying it in production.

One last thing: we have, according to the logs of the apt.nuxeo.org server, at least 2000 deployed instances of Nuxeo on Debian or Ubuntu. With this new, much improved version, we hope to gain many more users in the Debian and Ubuntu communities and hope you will help us with the final QA steps needed to deliver production-grade packages.

For Linux users of other distributions than Debian and Ubuntu: I’m sure you are also interested in having RPMs for Red Hat / Fedora / CentOS / Mandriva / OpenSuSE. If you’re willing to help us with the task of creating this or these packages, drop me an email. I’m sure that parts of the scripts that have been written for Debian / Ubuntu can be reused.

The source code for the installer lives in http://hg.nuxeo.org/tools/nuxeo-packaging/ BTW.

December 13th, 2010 at 3:49 pm

  • camille

    bonjour,
    après plusieurs essais réalisés chez nous par plusieurs personnes sur plusieurs machines… je voudrais refaire une installation de Nuxeo, et enfin la mettre en “production” avec nos quelques développements réalisés sous Studio.
    Ce sera sur un Ubuntu 10.04, aussi je pensais télécharger le package que vous mentionnez dans cet article, mais avant j’aurais 2 questions :
    - sur cette machine j’ai installé la v9 de PostgreSQL. Conseillez-vous de repasser à la v8.4 pour Nuxeo ? (PostgreSQL n’est pas utilisé par d’autres applications sur cette machine)
    - pourquoi Tomcat uniquement, et pas Jboss ? (je n’ai pas d’a priori, mais lors d’une formation chez vous il y a 1 an, on nous avait conseillé Jboss… je ne sais plus pour quelle raison)
    merci pour vos réponses !
    Camille

  • http://profile.typepad.com/sfermigier Sfermigier

    Hi, thanks for your feedback. I will reply in english.
    1. The PosgreSQL version is currently hardcoded to 8.4 because it’s the one that ships with Ubuntu. If you’ve installed PostgreSQL 9 (which is probably better than 8.4), you can still install the package but only by forcing the installation.
    2. “Why Tomcat when we advised you to use JBoss instead 1 year ago?” Well, this was 1 year ago, and things have changed since. We’ve worked a lot on the Tomcat packaging, and we think it’s a best option for small to medium installation. If you want to use JBoss for a large scale installation, of course you’re still welcome.
    Regards,
    S.

  • camille

    being quite new to all this stuff, I will actually go for Tomcat and go back to PostgreSQL v8.4
    thanks for your fast answer!
    Camille

  • Pingback: New beta Nuxeo DM package for Debian / Ubuntu – Stefane … | Pici's Ubuntu Blog