OpenERP Appliance

Collaboration Works

openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh

This script automates the setting up of openerp-server 5.0.0-3-1 + openerp-client 5.0.0-3-1 + openerp-web 5.0.1 for Ubuntu Server 9.0.4 and Ubuntu Desktop 9.0.4

This post is now obsolete. Please consider the following update: http://opensourceconsulting.wordpress.com/2009/08/13/openerp-allinone-setup-5-0-2-0-sh/

Requirements: A fresh installation of Ubuntu Server 9.0.4 or Ubuntu Desktop 9.0.4. In both scenarios Apache & Postgres are installed by this script. This means that the script expects these programs to have their default config files. TIP: test this script within a Virtual Machine after installing Ubuntu 9.04 from scratch.

Run the script as non-root with the following commands:

$ sudo apt-get install gzip
$ gzip -d openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh.gz
$ chmod +x openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh
$ ./openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh

You will be asked for:
1) OpenERP Administrator’s password
2) IP address your OpenERP Web service will be listening on
3) Your LANG

The installation process will stop with the following warning if you launch the script through a SSH session:
“This command may affect the current SSH connections. Do you want to continue (y | n)?”
Solution: Press “y” to complete the rest of the process.

The output of the script ends with:

————————————————————————————————————————————————
THE REMAINING STEPS CAN BE CONFIGURED FROM THE WEB INTERFACE (OPENERP WEB)

1. Register the DNS Name “openerpweb.com” with its corresponding IP address (192.168.x.x).
“openerpweb.com” is the external URL of OpenERP Web. Make sure this URL is reachable by your Web clients (Open ERP users)
In Linux this can be done locally by adding the following line to /etc/hosts file:

192.168.x.x openerpweb.com

The hosts file is located in different locations in different operating systems and versions: “http://en.wikipedia.org/wiki/Hosts_file”
The hosts file is a computer file used to store information on where to find a node on a computer network.
This file maps hostnames to IP addresses. The hosts file is used as a supplement to (or a replacement of) the Domain Name System (DNS) on networks of varying sizes. Unlike DNS, the hosts file is under the control of the local computer’s administrator

2. Check with a browser your OpenERP Web URL: “http://openerpweb.com”

3. WELCOME TO OPENERP: -> Click on “Databases” -> CREATE A NEW DATABASE:
3.1  Super Administrator Password: admin
3.2  New Name of the database: xxx
3.3  Load Demo Data (y/n)
3.4  Default language: xxx
3.5  Administrator Password: xxx
3.6  Confirm Administrator Password: xxx

4. WELCOME TO OPENERP:
4.1 Database: xxx
4.2 Administrator Username: admin
4.3 Administrator Password:  xxx
4.4 Click on “Login”

5. INSTALLATION & CONFIGURATION. You will now be asked to install and configure modules and users required by your Enterprise
5.1 Click on “Logout”

6. WELCOME TO OPENERP: You can now log in with the following users
6.1 User “demo” / Password “demo”, in case you clicked on “Load Demo Data”
6.2 User “admin” / Password “xxx”
6.3 Users created by you during step #4
————————————————————————————————————————————————

This script automates the setting up of openerp-server 5.0.0-3-1 + openerp-client 5.0.0-3-1 + openerp-web 5.0.1 for Ubuntu Server 9.0.4 and Ubuntu Desktop 9.0.4

Requirements: A fresh installation of Ubuntu Server 9.0.4 or Ubuntu Desktop 9.0.4. In both scenarios Apache & Postgres are installed by this script. This means that the script expects these programs to have their default config files. TIP: test this script within a Virtual Machine after installing Ubuntu 9.04 from scratch.

Run the script with the following commands:

$ chmod +x openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh
$ ./openerp-server-5.0-openerp-web-5.0.1-installation-script-on-ubuntu-9.0.4.sh

You will be asked for:
1) OpenERP Administrator’s password
2) IP address your OpenERP Web service will be listening on
3) Your LANG

The installation process will stop with the following warning if you launch the script through a SSH session:
“This command may affect the current SSH connections. Do you want to continue (y | n)?”
Solution: Press “y” to complete the rest of the process.

The output of the script ends with:

————————————————————————————————————————————————
THE REMAINING STEPS CAN BE CONFIGURED FROM THE WEB INTERFACE (OPENERP WEB)

1. Register the DNS Name “openerpweb.com” with its corresponding IP address (192.168.x.x).
“openerpweb.com” is the external URL of OpenERP Web. Make sure this URL is reachable by your Web clients (Open ERP users)
In Linux this can be done locally by adding the following line to /etc/hosts file:

192.168.x.x openerpweb.com

The hosts file is located in different locations in different operating systems and versions: “http://en.wikipedia.org/wiki/Hosts_file”
The hosts file is a computer file used to store information on where to find a node on a computer network.
This file maps hostnames to IP addresses. The hosts file is used as a supplement to (or a replacement of) the Domain Name System (DNS) on networks of varying sizes. Unlike DNS, the hosts file is under the control of the local computer’s administrator

2. Check with a browser your OpenERP Web URL: “http://openerpweb.com”

3. WELCOME TO OPENERP: -> Click on “Databases” -> CREATE A NEW DATABASE:
3.1  Super Administrator Password: admin
3.2  New Name of the database: xxx
3.3  Load Demo Data (y/n)
3.4  Default language: xxx
3.5  Administrator Password: xxx
3.6  Confirm Administrator Password: xxx

4. WELCOME TO OPENERP:
4.1 Database: xxx
4.2 Administrator Username: admin
4.3 Administrator Password:  xxx
4.4 Click on “Login”

5. INSTALLATION & CONFIGURATION. You will now be asked to install and configure modules and users required by your Enterprise
5.1 Click on “Logout”

6. WELCOME TO OPENERP: You can now log in with the following users
6.1 User “demo” / Password “demo”, in case you clicked on “Load Demo Data”
6.2 User “admin” / Password “xxx”
6.3 Users created by you during step #4
————————————————————————————————————————————————

June 29, 2009 Posted by | ERP, Scripting, Turnkey, Ubuntu Desktop, Ubuntu Server Canonical | , | 32 Comments

   

Follow

Get every new post delivered to your Inbox.

Join 30 other followers