This script automates the setting up of openerp-server-5.0.2-0 & openerp-client-5.0.2-0 & openerp-web-5.0.2-0 on Ubuntu 8.04.3 LTS (Server and Desktop).
The Goal is to provide an All in one installer of OpenERP for Linux.
This post is now obsolete. Please consider the following update: http://opensourceconsulting.wordpress.com/2009/08/25/openerp-5-0-3-all-in-one-installer-for-ubuntu/
Requirements: A fresh installation of Ubuntu 8.04.3 LTS Server or Desktop without Apache nor Postgres. Only the core of the system is needed, so during the installation of your Ubuntu Server don’t select software to install like LAMP Server or PostgreSQL Server in the “Software Selection” menu (except for OpenSSH Server). This script installs Apache and Postgres and expects to deal with default config files.
TIP: test this script within a Virtual Machine after installing Ubuntu 8.04.3 LTS from scratch. Run the virtual machine in a bridged network (host and guest have same subnet and can be reached from the LAN).
- Ubuntu 8.04.3 LTS Server, computer platform amd64 (64 bits)
- Ubuntu 8.04.3 LTS Desktop, computer platform i386 (32 bits)
Run this script as non-root with the following commands:
$ gzip -d openerp-allinone-setup-5.0.2-0.sh.gz
$ chmod +x openerp-allinone-setup-5.0.2-0.sh
You will be asked for:
1) DNS name of your URL
2) IP address your OpenERP Web service will be listening on
3) OpenERP Database Admin Password
4) SSL Certificate settings of Apache SSL
- Before running the script set up the network of your Ubuntu system. It should be reachable from your PC (client side) via ping. Make a note of the correct IP address.
- While running the script enter the previous IP address.
- The script only modifies the server side. The DNS system needs to be updated on your LAN’s DNS server or your PC’s hosts file (http://en.wikipedia.org/wiki/Hosts_file). Take a look at the end of the script as important info is given.
- The “invalid security certificate” error message is correct as the SSL certificate has been created for testing purposes.
- /opt is the working directory where .tar.gz files are downloaded.
- Apache is configured as a front-end for OpenERP Web and redirects all the incoming HTTP traffic to HTTPS.
- Ubuntu’s firewall is setup with the following ports open: SSH, HTTP, HTTPS, 8069 & 8070 (for remote access of OpenERP GTK clients).
- Startup/init scripts for openerp-server and openerp-web are added.
- OpenERP Web 5.0.2 has been tested by Tiny and Axelor on Debian Etch and Ubuntu Hardy.
- Package python-xml is broken in Ubuntu 9.04
- Ubuntu 9.04 is not LTS (Long Term Support)
- Ubuntu 8.04.3 LTS provides Postgresql 8.3 & Python 2.5.2, which are compatible with OpenERP 5.0.2.
- OpenERP 5.0.2 is not yet compatible with Ubuntu 9.04′s default python 2.6, but it can be run on 9.04 with /usr/bin/python2.5 (package python2.5).
- OpenERP 5.0.2 All-in-one installer for windows is recommended for beginners.
- This script eases the setting up of OpenERP 5.0.2 for Linux, but still requires some technical knowledge (and custom improvements?). OpenERP for Ubuntu Linux is recommended on production systems.
The script ends pointing out the URL of your OpenERP Web and its corresponding passwords.
Disclaimer: Although this new installer is simpler than the one I created for OpenERP Web 5.0.1 on Ubuntu 9.04, more testing is recommended. At the moment I’m happy with the initial results.
Sorry, the comment form is closed at this time.