Due to network problems, the virtual machine cannot solve the Server problem. For now, try Ubuntu10.10Desktop. The steps should be the same. First modify the source, find a 10.10 source, and then sudocp/etc/apt/sources. list/etc/apt/sources. list. baksudogedit/etc/apt/sources. list to modify the source, and then sudoapt-getupda
Due to network problems, the virtual machine cannot solve the Server problem. For now, try a Ubuntu 10.10 Desktop, and the steps should be the same.
First modify the source, find a 10.10 source, and then
Sudo cp/etc/apt/sources. list/etc/apt/sources. list. bak
Sudo gedit/etc/apt/sources. list
Modify the source, and then
Sudo apt-get update
Install postgresql
Sudo apt-get install postgresql
Create an account:
Sudo su postgres
Createuser-P
* ** Createuser -- createdb -- username S -- no-createrole -- pwprompt openerp (not tested)
For python installation, the desktop should already contain the python2.6 basics.
Sudo apt-get install python-lxml python-mako python-egenix-mxdatetime python-dateutil python-psycopg2 python-pychart python-pydot python-tz python-reportlab python-yaml python-vobject python- setuptools
(Sudo apt-get-f install may be required here)
Decompress openerp-server and openerp-web, enter the corresponding directory, and execute:
Sudo python setup. py install
Modify the server conf file
Sudo gedit/usr/local/share/doc/openerp-server-6.0.2/openerp-server.conf
Db_host = localhost
Db_password = password set when you create openerp
DB Port = 5432
When you use the tar file to install openerp-server, you may need to add -- db_user = openerp -- db_password = Password
Whether you use tar or deb for installation, there is a problem. Configuration errors also need to be solved.
However, it is better and convenient to use the deb file for installation.