- Instalar Postgres
sudo
apt-get install postgresql postgresql-client
sudo gedit /etc/postgresql/9.1/main/pg_hba.conf
el 9.1 puede variar por la version de postgres instalada por usted
En
el archivo localizar la linea
#
"local" is for Unix domain socket connections only
local
all all peer
y
reemplazar peer por md5 asi
#
"local" is for Unix domain socket connections only
local
all all md5
Instalar
pg admin
sudo
apt-get install pgadmin 3
Crean
un usario de postgresql para el ejemplo creare uno llamado openerp el
nombre lo deciden ustedes
sudo
su postgres
create
user –pwprompt openerp
en
contraseña le pueden poner lo que quieran en este caso le ponde lo
mismo openerp
Instalar
los complementos de python
python-ldap
python-libxslt1 python-lxml python-mako python-openid python-psycopg2
\
python-pybabel
python-pychart python-pydot python-pyparsing python-reportlab \
python-simplejson
python-tz python-vatnumber python-vobject python-webdav \
python-xlwt
python-yaml python-zsi
sudo
apt-get install python-pip
sudo
pip install werkzeug
luego
estos
sudo
apt-get install python-dateutil python-docutils python-feedparser
python-gdata \
python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \
python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \
python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \
python-webdav python-werkzeug python-xlwt python-yaml python-zsi
python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \
python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \
python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \
python-webdav python-werkzeug python-xlwt python-yaml python-zsi
Es
importante que esten instalados todos caso contrario no saldra
Descarga
de el openerp
En
el home se crea una carpeta llamada Tools
mediante
terminal accedemos a Tools asi
cd
Tools
una
vez alli descargamos el Open Erp asi
cuando
se acabe la descarga accedemos a la carpeta Tools y el archivo que se
descarga le damos click en extraer aqui y cambiamos el nombre de la
carpeta le dejamos solamente openerp-7.0
Bueno
lo siguiente es la configuracion en la terminal accediendo a la
carpeta Tools
Es
para iniciar el servidor
openerp-7.0/openerp-server -s
Saldra
algo parecido a esto
Hacemos
control +C para detener el proceso
Luego
ponemos lo siguiente
sudo
gedit /home/yeferson/.openerp_serverrc
en
el archivo modificamos las lineas
db_host
= False por localhost quedando db_host = localhost
db_password
= False por openerp porque el usuario de postgres que creamos tenia
esa contraseña quedando db_password = openerp
db_user=
yeferson
por openerp porque el usuario de postgres que creamos se llamaba
openerp quedando db_password = openerp
El
paso final es openerp-7.0/openerp-server
Como
se observa en la penultima linea sale una direccio 0.0.0.0:8069
copiamos eso y lo ponemos en un navegador
Debe
salir algo así sino revisen que algo hicieron mal
ahí creen una nueva base de datos escogen una contraseña en el idioma le
ponen español Ecuador y click en Crear Base de Datos
Y
Si les sale eso ya esta
No hay comentarios:
Publicar un comentario