Odoo en Ubuntu 12.04

Vamos a empezar por instalar y configurar postgres

$ sudo apt-get install postgresql

Nos logueamos como superusuario en ubuntu

$ sudo -s

Nos logueamos como superusuario en postgres

# su - postgres

Vamos a ver que cambia el prompt. Creamos un usuario con el mismo nombre del usuario con el que iniciamos la sesión en ubuntu (en mi caso, victor)

 
postgres@victor-desktop:~$ createuser victor

a la siguiente pregunta, respondemos con: y


Shall the new role be a superuser? (y/n) y

Nos conectamos a la BD postgres con el usuario postgres
postgres@dani-desktop:~$ psql -d postgres -U postgres
psql (9.1.14)
Type "help" for help.

cambiamos la contraseña por 'postgres'

postgres=# ALTER USER postgres with password 'postgres';
ALTER ROLE
postgres=# \q

Salimos de la linea de comandos de postgres con exit

Deberia haber quedado el prompt del root (#), nuevamente escribimos exit para volver a nuestro usuario

Reiniciamos el servicio postgres


$ sudo /etc/init.d/postgresql restart

Instalamos pgadmin, para gestionar nuestras bases de datos

$ sudo apt-get install pgadmin3

Ahora, instalamos todos los paquetes necesarios para correr el servidor Odoo

$ sudo apt-get install python-xlwt python-vobject python-vatnumber python-pypdf python-pyparsing python-pydot python-pybabel python-passlib python-libxslt1 python-ldap python-feedparser python-psutil python-decorator python-requests python-lxml python-tz python-psycopg2 python-werkzeug python-yaml python-unittest2 python-pychart python-jinja2 python-docutils python-openid build-essential libffi-dev python-genshi python-dev swig
Descargamos el servidor de la siguiente direccion
https://drive.google.com/file/d/0BzwcSWloJP2LWUVZdGNpT0lZQ0E/view?usp=sharing

Descomprimimos el archivo tar.gz y lo dejamos por ejemplo en nuestra home (/home/victor/odoo)

Arrancamos el servidor y deberiamos ver algo similar a esto
victor@victor-desktop:~$ /home/victor/odoo/odoo.py
2015-11-18 21:45:40,583 22403 INFO ? openerp: OpenERP version 8.0
2015-11-18 21:45:40,583 22403 INFO ? openerp: addons paths: ['/home/victor/.local/share/Odoo/addons/8.0', u'/home/victor/odoo/openerp/addons', u'/home/victor/odoo/addons']
2015-11-18 21:45:40,584 22403 INFO ? openerp: database hostname: localhost
2015-11-18 21:45:40,584 22403 INFO ? openerp: database port: 5432
2015-11-18 21:45:40,584 22403 INFO ? openerp: database user: victor
2015-11-18 21:45:40,899 22403 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

en un navegador web escribimos la siguiente direccion
http://localhost:8069

y ya podemos empezar a trabajar con Odoo







 






Comentarios