Thursday, February 2, 2012

OpenERP easy installation using SISalp's xoe script

SISalp has developed a script to automate OpenERP server installation, and was kind enough to share it to the public with GPL license. Let's use it to build an OpenERP server based on a clean Turnkey LAPP appliance.

First, update the virtual machine's system.
After installing the virtual machine, which should be pretty straightforward, you might want to update the system. Be aware that there is a known issue with the udev library, causing the update of Turnkey appliances process to freeze. To avoid it you should do the update using:

apt-get update
echo udev hold|dpkg --set-selections
apt-get upgrade

Second, install OpenERP, using SISalp's XOE script.
Following the instructions, logged in as root, execute:

cd /usr/local/bin
chmod 755 install_xoe

And that's it.

The script will create the PostgreSQL database, install the application server, the web server and register them as services. The monitoring and management of the servers can be done through the xoe utility. For example, use xoe --status to check which services are running.

I find very interesting the ability to setup and manage other servers, for training and testing purposes. The documentation also mentions the possibility of setting up backups and e-mail alerts to the system administrator. The tool is rich in features, but it would be nice to have a little more documentation available, such as a good guide for all these functions.

EDIT: install_xoe_openerp is deprecated - install_xoe should be used instead.


  1. hello, im tryng to make a installation using xoe script, everything is ok but there is not webclient available for openerp, any help please?

  2. Hello, i am having a weird issue with the install of OpenERP through your script, whenever i restart the services, either test, production, etc. It says the message that it cannot change the permissiones of the file and a couple of minutes later the instance stops without warning.

    It also mentions something about deleting the pid file but i assume this is intended as the pid file holds the pid of instance proccess right? I have tried a bunch of stuff, like modify the sh file, backup, change permissions, etc, but with no luck. Does someone has encountered this issue before?

  3. Any Updates on adding Version 8 Support to this cool script?

    Thank you for your efforts and making it public..

  4. Please note that I do not maintain it, but I checked the lates version avalilable at, and the change log states support for v8 since march 19th.