Installing OpenERP 6.1 and trunk on Fedora Linux

OpenERP is a comprehensive suite of business applications including Sales, CRM, Project management, Warehouse management, Manufacturing, Financial management and Human Resources just to name a few. Over 2000+ OpenERP modules are available on OpenERP Apps Store for free.

Install and Configure PostgreSQL Server

Go to Applications > System Tools > Add/Remove Software, type postgresql-server into search field and press Find OR go to Applications > System Tools > Terminal and type in this command to get PostgreSQL server installed:

$ sudo yum install postgresql-server postgresql

Select package postgresql-server and click on Apply. System will offer you two extra packages – postgresql and postgresql-libs – select Continue to continue. You also will be asked to provide root’s password.

After installing the packages, a database needs to be initialized and configured. To do this use Terminal (in fact, do not close current Terminal window during the installation process). First of all, log in as posgresql user using command

If you’re not logged in as a root user, do it now, oherwise you won’t be able to login as postgres user:
su postgres

and then initialize the database using command
$ initdb /var/lib/pgsql/data

Leave postgresql’s shell:
$ exit

The following commands will start PostgreSQL server and check for running PostgreSQL processes:
$ sudo service postgresql start
ps -eZ | grep postgres

Add postgresql server to startup list:
$ sudo chkconfig –level 235 postgresql on

Add current user to PostgreSQL
After installation of PostgreSQL is finished, we must create a PostgreSQL user. It have to be the same user as your system user, in other words, be called the same name. In my case it’s user donatas. This user will be the owner of all tables created by OpenERP.

$ su –
$ su postgres
$ createuser mantavya NOTE: use the name of your system user instead of donatas!
Shall the new role be a superuser? (y/n) y

Let’s now check what tables has been created so far:
$ psql -l

If you can see the table template1 on the list, you have done successfully.

Download and Install OpenERP 6.1

Let’s first install required Python libraries:

$ sudo yum install python-devel pychart python-dateutil python-reportlab python-lxml python-psycopg2 python-mako python-setuptools pytz PyYAML graphviz pydot python-imaging pywebdav python-vobject vim system-config-firewall-tui wget

OpenERP 6.1 specific packages
$ yum install python-babel python-gdata python-ldap python-openid python-werkzeug python-vatnumber

Now we can download OpenERP Server. You can download the latest nightly release of OpenERP 6.1 from here, extract it, jump to the installation folder and run installation script

$ wget
$ sudo tar -xvf openerp-6.1-latest.tar.gz
$ cd /openerp-6.1-latest
$ ./openerp-server

Configure other parameters like smtp host, db filters from .openerprc_server

Configure OpenERP server parameters

$ cd
$ gedit .openerprc_server

addons_path = /home/mga/openerp/openerp61/addons,/home/mga/openerp/openerp61/web/addons
admin_passwd = admin
assert_exit_level = error
cache_timeout = 100000
cpu_time_limit = 60
csv_internal_sep = ,
db_host = False
db_maxconn = 64
db_name = False
db_password = False
db_port = False
db_template = template0
db_user = mantavya
dbfilter = .*
debug_mode = False
demo = {}
email_from = False
import_partial =
list_db = True
log_handler = [‘:INFO’]
log_level = info
logfile = None
login_message = False
logrotate = True
max_cron_threads = 4
netrpc = True
netrpc_interface =
netrpc_port = 8070
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = None
proxy_mode = False
reportgz = False
secure_cert_file = server.cert
secure_pkey_file = server.pkey
server_wide_modules = None
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
static_http_document_root = None
static_http_enable = False
static_http_url_prefix = None
syslog = False
test_commit = False
test_disable = False
test_file = False
test_report_directory = False
timezone = False
translate_modules = [‘all’]
unaccent = False
virtual_memory_limit = 805306368
virtual_memory_reset = 671088640
without_demo = False
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
xmlrpcs = True
xmlrpcs_interface =
xmlrpcs_port = 8071


One thought on “Installing OpenERP 6.1 and trunk on Fedora Linux

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s