Você está na página 1de 2

#!

/bin/bash
###########################################
## Setting UP Open ERP Server,eTiny
#
## Server and OpenERP Client On CentOS 5.2#
###########################################
### Do this FIRST!!
#
* As root, cd /etc/yum.repos.d
#
* Edit distro's .repo file:
#
o On CentOS, edit CentOS-Base.repo, [base] and [updates] sections.
#
* Add
#
exclude=postgresql*
#
to the bottom of the sections.
## posted by Japan Shah http://openerp-on-centos.blogspot.com/
# 1. Enable EPEL (Extra Packages for Enterprise Linux) Repository
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noar
ch.rpm
# 2. Install dependencies
yum -y install subversion
yum -y install bzr
yum -y install vim-enhanced.x86_64
yum -y install python-psycopg2.x86_64
yum -y install pytz.noarch
yum -y install python-psycopg2
yum -y install PyXML.x86_64
yum -y install mx.x86_64
yum -y install libxslt-python.x86_64
yum -y install python-imaging.x86_64
rpm -Uvh http://centos.karan.org/el5/extras/testing/x86_64/RPMS/python-psycopg-1
.1.21-7.el5.kb.x86_64.rpm
yum -y install pygtk2.x86_64
yum -y install python-matplotlib
yum -y install TurboGears
# 3. Build Repository file pgdg-82-centos.repo
rpm -Uvh http://yum.pgsqlrpms.org/reporpms/8.2/pgdg-centos-8.2-4.noarch.rpm
# 4. Install PostgreSQL 8.2
yum -y install postgres
yum -y install postgresql-server.x86_64
service postgresql initdb
-----------------------------------------------------------# 2. Install dependencies
yum -y install subversion
yum -y install bzr
yum -y install vim-enhanced
yum -y install python-psycopg2
yum -y install pytz.noarch
yum -y install python-psycopg2
yum -y install PyXML
yum -y install mx
yum -y install libxslt-python
yum -y install python-imaging
#rpm -Uvh http://centos.karan.org/el5/extras/testing/x86_64/RPMS/python-psycopg1.1.21-7.el5.kb.x86_64.rpm

rpm -Uvh http://centos.karan.org/el5/extras/testing/i386/RPMS/python-psycopg-1.1


.21-7.el5.kb.i386.rpm
yum -y install pygtk2
yum -y install python-matplotlib
yum -y install TurboGears
# 3. Build Repository file pgdg-82-centos.repo
rpm -Uvh http://yum.pgsqlrpms.org/reporpms/8.2/pgdg-centos-8.2-4.noarch.rpm
# 4. Install PostgreSQL 8.2
yum -y install postgresql
yum -y install postgresql-server
service postgresql initdb

Você também pode gostar