This post is just to help anyone trying to move their installation from Windows 
to Ubuntu 9.04, or even installing on Ubuntu for the first time.

Notes:
1. I was unable to get OpenERP working with Python 2.6 (used 2.5)
2. I haven't tried installing the web client yet.
3. My server is a rackspace "cloud server" which seems to work quite well and 
is very inexpensive as you size the server dynamically to your needs.

The basic instructions followed were:
http://www.aulaerp.com/aula/mod/resource/view.php?id=151 (in Spanish) with the 
following variations:

* I edited the configuration files using my windows ftp client (winscp), as I 
couldn't find the linux editor referenced in the instructions.

* Instead of "$ createuser openerp --pwprompt", 
I used "$ createuser openerp -P"

* After "$ sudo apt-get install python2.5 python2.5-dev", I downloaded the 
v5.0.3 installation (from the openerp.com website to my windows machine and 
then ftp to the server), and installed it using:

tar -xzf openerp-server-5.0.3.tar.gz
cd openerp-server-5.0.3
sudo python2.5 setup.py install

* To start openerp-server in test mode, I found it necessary to specify the db 
username and password (alternatively I probably could have specified the 
configuration file location):
$ sudo ./openerp-server -r <username> -w <password>

Once the server was up and running, the next headache was trying to move the 
database. The "trick" is you have to create the database before restoring it, 
like this:

$ createdb -U openerp --encoding=UNICODE <db>
$ pg_restore -U openerp --dbname=<db> <filename>

<filename> is the name of the backup generated by the OpenERP client (or 
pg_dump). You have to move it on to the server using ftp.

That's it, simple once you know how...




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=43828#43828

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to