OpenERP 5.0.3 All-in-one installer for Ubuntu
This script automates the setting up of openerp-server-5.0.3 & openerp-client-5.0.3 & openerp-web-5.0.3 on Ubuntu 8.04.3 LTS (Server and Desktop).
The Goal is to provide an All in one installer of OpenERP for Linux with a Unix philosophy: “Do one thing, and do it well”.
New Update! OpenERP graphical installer For Dummies: http://opensourceconsulting.wordpress.com/2009/09/09/openerp-5-0-3-installer-for-dummies/
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 in a Linux terminal:
$ gzip -d openerp-allinone-setup-5.0.3.sh.gz
$ chmod +x openerp-allinone-setup-5.0.3.sh
You can also run the script on Ubuntu Desktop through the Graphical User Interface: uncompress the file, make openerp-allinone-setup-5.0.3.sh icon executable with “right click -> properties”, double click on the icon and “run in a terminal”.
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.3 has been tested by Tiny and Axelor on Debian Etch and Ubuntu Hardy.
- python-xml is broken in Ubuntu 9.04. This package has been deleted from karmic repository (lack of maintenance).
- OpenERP >= 5.0.2-0-3 drops old python-xml dependency. python-xml cannot be removed from this script (I couldn’t connect to openerp-server without this package)
- 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.3.
- OpenERP 5.0.3 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 on Red Hat Enterprise platforms: python-reportlab is not available in EPEL repository . This package is available in Fedora 11, but not yet in RHEL 5.3. EPEL stands for Extra Packages for Enterprise Linux, a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages for Red Hat Enterprise (RHEL) and its compatible spinoffs such as CentOS or Scientific Linux. Fedora is the upstream of RHEL and add-on packages for EPEL are sourced from the Fedora repository primarily and built against RHEL. More info at https://fedoraproject.org/wiki/EPEL
- OpenERP 5.0.3 All-in-one installer for windows is recommended for beginners.
- This script eases the setting up of OpenERP 5.0.3 for Linux, but still requires some technical knowledge (and custom improvements?). OpenERP for Ubuntu Linux is recommended on production systems.
- Desktop Icons for openerp-client and openerpweb URL are made (only on Ubuntu Desktop)
- Available IP addresses are shown to ease the IP address input. The first configured IP is marked as default one (Sep 8th 2009)
- The installation process can be as simple as “Pressing Enter” for each question.
The script ends pointing out the URL of your OpenERP Web and its corresponding passwords. An OpenERP-README.txt file is created with this information.
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.