Escolar Documentos
Profissional Documentos
Cultura Documentos
Instalação Do OpenERP 7 Com Localização Brasileira
Instalação Do OpenERP 7 Com Localização Brasileira
4
Este tutorial parte do pressuposto que voc j tem uma instalao do CentOS 6.4 mnima. No
objetivo deste tutorial, apresentar a instalao do CentOS 6.4. H diversos tutoriais muito bons na
internet.
Para facilitar a instalao, coloquei os comandos abaixo para serem copiados e colados diretamente
no terminal. Fernando Possebon
yum -y install wget unzip
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm
yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz \
python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \
pychart pydot python-reportlab python-devel python-imaging python-vobject \
hippo-canvas-python mx python-gdata python-ldap python-openid \
python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \
python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \
python python-devel python-psutil python-docutils make bzr python-simplejson \
automake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav
yum -y install postgresql92-libs postgresql92-server postgresql92 python-yaml python-unittest2
python-mock python-jinja2 mlocate
service postgresql-9.2 initdb
chkconfig postgresql-9.2 on
DATABASE
USER
ADDRESS
METHOD
all
all
trust
all
all
0.0.0.0/0
trust
::1/128
md5
all
all
Salve o arquivo.
Salve o arquivo.
--superuser openerp"
cd /tmp
wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip
unzip gdata-2.0.17.zip
rm -rf gdata-2.0.17.zip
cd gdata*
python setup.py install
cd /tmp
adduser openerp --system --create-home --home-dir=/opt/openerp
mkdir -p /opt/openerp/7.0
chown openerp:openerp /opt/openerp -R
chmod 770 /opt/openerp -R
su openerp --shell=/bin/bash
cd /opt/openerp/7.0
Agora voc dever estar executando os comandos com o usurio openerp. A sequncia abaixo,
demora. Pode levar mais de 2 horas para ter tudo concludo.
bzr branch lp:openerp-web/7.0 web
bzr branch lp:openobject-addons/7.0 addons
bzr branch lp:openobject-server/7.0 server
bzr branch lp:~account-payment-team/account-payment/7.0/ account-payment
bzr branch lp:~account-core-editors/openerp-fiscal-rules/7.0/ fiscal-rules
bzr branch lp:~openerp-brazil-core-team/openerp.pt-br-localiz/openerp.pt-br-localiz-v7.0/ br
Depois que terminar de baixar o cdigo, continue ainda com o usurio openerp.
cd /opt/openerp/7.0/server
./openerp-server --db_host=False --db_user=openerp --db_password=False --addonspath=/opt/openerp/7.0/addons,/opt/openerp/7.0/web/addons --config=openerp-server.conf --save
A ltima linha de comando faz com que o servidor do OpenERP seja iniciado com as configuraes
default e tambm salve estas configuraes no arquivo de configuraes openerp-server.conf
No campo Default language escolha Ingls (quando criei o database diretamente em portugus, por
alguma razo no apareceram as customizaes para serem instaladas)
Agora vem a parte que eu descobri por acaso, depois de muito tentar encontrar como instalar a
localizao (no encontrei isto em nenhum tutorial na Internet)
V em Mdulos Instalados
E espere.... isto vai levar algum tempo! Aproveite as mensagens bem humoradas que so exibidas
Pronto agora voc pode usufruir de uma instalao fresquinha do OpenERP 7.0 j com as
localizaes brasileira.
Utilizei como referncia, alguns links:
http://forum.openerp.com/forum/topic36094.html
http://mileo.co/install-openerp-7/