SlideShare a Scribd company logo
OpenERP on
Ubuntu
Iker Coranti
e-mail : ikercoranti@avanzosc.com
Introduction
 1- Install Ubuntu


 2- Install and update packagen you need


 3- Install and config. PostgreSQL


 4- Install OpenERP


 5- Configure OpenERP & Postgres


 6- Run OpenERP
1- Install Ubuntu
›  Download   from source
  ›  http://www.ubuntu.com/download/
      ubuntu/download
  ›  Use ubuntu desktop 10.10

›  Burn
       on a CD o USB and install it on a PC
  or Laptop.
2- Install and update
packagen you need
›  Update      ubuntu’s packages.
  ›  Sistem/Administration/Update
  ›  Download     packages
  ›  Install
2- Install and update
packagen you need
›  The    Extra Packages you need
  ›    lxml : lxml is the most feature-rich and easy-to-use library for working
        with XML and HTML in the Python language.
  ›    mako : Hyperfast and lightweight templating for the Python platform.
  ›    python-dateutil : The dateutil module provides powerful extensions to
        the standard datetime module, available in Python 2.3+.
  ›    psycopg2 : Psycopg is the most popular PostgreSQL adapter for the
        Python programming language.
  ›    pychart : PyChart is a Python library for creating high quality
        Encapsulated Postscript, PDF, PNG, or SVG charts.
  ›    pydot : This module provides a full interface to create, handle,
        modify and process graphs in Graphviz’s dot language.
  ›    pytz : World Timezone Definitions for Python.
  ›    pyyaml : PyYAML is a YAML parser and emitter for Python.
  ›    vobject : VObject simplifies the process of parsing and creating
        iCalendar and vCard objects.
2- Install and update
packagen you need
›  The    Extra Packages you need
  ›    reportlab : The ReportLab Toolkit is the time-proven, ultra-robust,
        open-source engine for programmatically creating PDF documents
        and forms the foundation of RML. It also contains a library for
        creating platform-independent vector graphics. It is a fast, flexible,
        cross-platform solution written in Python.
How to install the Packages
›  Using    Terminal:
  ›    sudo apt-get install python-lxml
  ›    sudo apt-get install python-mako
  ›    sudo apt-get install python-dateutil
  ›    sudo apt-get install python-psycopg2
  ›    sudo apt-get install python-pychart
  ›    sudo apt-get install python-pydot
  ›    sudo apt-get install python-tz
  ›    sudo apt-get install python-reportlab
  ›    sudo apt-get install python-yaml
  ›    sudo apt-get install python-vobject
3- Install and config. Postgres
›  Using       Synaptic:
  ›  Find       Postgres and select the packages:
        ›    Postgesql-client-common
        ›    Postgres-client-8.4
        ›    Libpq5
        ›    Postgresql-common
        ›    Pgagent
        ›    Pgadmin3
        ›    Pgadmin3-data
        ›    Postgresql
        ›    Postgresql-8.4
  ›    Applay changes.
Configure Postgres
›  Postgres   is installed on
  ›  /etc/postgres/

›  Need    to configure:
  ›  1.- First use as Admin (change pass)
  ›  2.- Allowed connections
  ›  3.- Create user for OpenERP
First use as Admin.
›  Use       Terminal:
  ›    $ sudo su postgres –c “psql template1”
  ›    Template1=# ALTER USER postgres WITH PASSWORD
        ‘new_pass’;
  ›    If you recived an ALTER ROLE
        ›    Is done.
  ›    template1=#q
Allowed connection
›  Use   terminal:
  ›  $
      sudo gedit /etc/postgres/8.4/main/
     postgresql.conf
     ›  Active listen_address =‘*’
     ›  Active password_encryption = on

  ›  Restatar    the server to apply
     ›  Sudo   /etc/init.d/postgresql-8.4 restart
Allowd connection
›  Use   Terminal:
  ›  $sudo gedit /etc/postgresql/8.4/main/
      pg_hba.conf
  ›  All to md5.
Create user OpenERP
›  Use   Terminal:
  ›  Log   on as postgres
     ›  postgres@openerp-desktop:/$    createuser --
         createdb --username postgres --no-createrole
         --pwprompt openerp
     ›  Enter password for new role: XXXXXXXXXX
         Enter it again: XXXXXXXXXX
     ›  Shall the new role be a superuser? (y/n) y
         CREATE ROLE
4- Install OpenERP
›  Download     client an server :
  ›  http://www.openerp.com/downloads
  ›  Use   Sources
›  Extract   them on a folder where you want
  ›  /home/openerp/
Install server
›  Use   Terminal:
  ›  $python /home/openerp/openerp-
     server-6.0.3/bin/openerp-server.py –c
Install client
›  User   terminal:
  ›  $ python /home/openerp/openerp-
      client-6.0.3/bin/openerp-client.py –v
  ›  Configure the file with your user for openerp
     ›  The  one you had create 5 minutes ago on
          postgres ;).
Configure OpenERP files
›  Show   the hiden files
›  Find .openerp_serverrc
  ›  Db_password:  your_user
  ›  Db_user: your_pass

›  Restart   server and client
Run OpenERP
›  Everything is done
›  Need to restart the server
›  Run the client
›  Create your firts DB.

More Related Content

What's hot (20)

PDF
OpenNebula and SaltStack - OpenNebulaConf 2013
databus.pro
 
PPTX
Deploying Foreman in Enterprise Environments
inovex GmbH
 
PDF
Haproxy - zastosowania
Łukasz Jagiełło
 
PDF
Fail2ban
Ruslan Conk
 
PDF
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
Puppet
 
PDF
Configuration of BIND DNS Server On CentOS 8
Kaan Aslandağ
 
PDF
Configuration Firewalld On CentOS 8
Kaan Aslandağ
 
PDF
Network namespaces
Marian Marinov
 
TXT
Cluster setup multinode_aws
sparrowAnalytics.com
 
PPT
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
addame
 
PDF
Final_Report_new (1)
Adarsh Burma
 
PDF
The SaltStack Pub Crawl - Fosscomm 2016
effie mouzeli
 
ODP
Linux host orchestration with Foreman, Puppet and Gitlab
Ben Tullis
 
PDF
Phoenix at scale
Sachirou Inoue
 
PDF
Subversion To Mercurial
Ladislav Prskavec
 
PPTX
Linux network namespaces
Mike Wilson
 
PDF
Aws S3 uploading tricks 2016
Bogdan Naydenov
 
PPT
Scalable Systems Management with Puppet
Puppet
 
PDF
FITC - Node.js 101
Rami Sayar
 
OpenNebula and SaltStack - OpenNebulaConf 2013
databus.pro
 
Deploying Foreman in Enterprise Environments
inovex GmbH
 
Haproxy - zastosowania
Łukasz Jagiełło
 
Fail2ban
Ruslan Conk
 
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
Puppet
 
Configuration of BIND DNS Server On CentOS 8
Kaan Aslandağ
 
Configuration Firewalld On CentOS 8
Kaan Aslandağ
 
Network namespaces
Marian Marinov
 
Cluster setup multinode_aws
sparrowAnalytics.com
 
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
addame
 
Final_Report_new (1)
Adarsh Burma
 
The SaltStack Pub Crawl - Fosscomm 2016
effie mouzeli
 
Linux host orchestration with Foreman, Puppet and Gitlab
Ben Tullis
 
Phoenix at scale
Sachirou Inoue
 
Subversion To Mercurial
Ladislav Prskavec
 
Linux network namespaces
Mike Wilson
 
Aws S3 uploading tricks 2016
Bogdan Naydenov
 
Scalable Systems Management with Puppet
Puppet
 
FITC - Node.js 101
Rami Sayar
 

Similar to Open erp on ubuntu (20)

PDF
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
Wirabumi Software
 
PPTX
Linux for programmers
Md. Al Amin
 
PDF
Package Management via Spack on SJTU π Supercomputer
Jianwen Wei
 
PPTX
Installaling Puppet Master and Agent
Ranjit Avasarala
 
ODP
Puppet slides for intelligrape
Sharad Aggarwal
 
PPTX
How to Install Odoo 18 with Pycharm - Odoo 18 Slides
Celine George
 
PDF
linux installation.pdf
MuhammadShoaibHussai2
 
PDF
Jenkins and Docker for native Linux packages
Daniel Paulus
 
PDF
Ansible is the simplest way to automate. SymfonyCafe, 2015
Alex S
 
PPTX
How to Make a Honeypot Stickier (SSH*)
Jose Hernandez
 
PDF
Software Quality Assurance Tooling - Wintersession 2024
Henry Schreiner
 
PDF
Linux Server Deep Dives (DrupalCon Amsterdam)
Amin Astaneh
 
DOCX
Prizm Installation Guide
vjvarenya
 
PDF
Python arch wiki
fikrul islamy
 
PDF
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin
 
PDF
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
Diane Mueller
 
PDF
PyCon 2013 : Scripting to PyPi to GitHub and More
Matt Harrison
 
PDF
PHP Development Tools
Antony Abramchenko
 
PPTX
How to create a secured multi tenancy for clustered ML with JupyterHub
Tiago Simões
 
PDF
Steps to install ns3
DIGITAL PADM
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
Wirabumi Software
 
Linux for programmers
Md. Al Amin
 
Package Management via Spack on SJTU π Supercomputer
Jianwen Wei
 
Installaling Puppet Master and Agent
Ranjit Avasarala
 
Puppet slides for intelligrape
Sharad Aggarwal
 
How to Install Odoo 18 with Pycharm - Odoo 18 Slides
Celine George
 
linux installation.pdf
MuhammadShoaibHussai2
 
Jenkins and Docker for native Linux packages
Daniel Paulus
 
Ansible is the simplest way to automate. SymfonyCafe, 2015
Alex S
 
How to Make a Honeypot Stickier (SSH*)
Jose Hernandez
 
Software Quality Assurance Tooling - Wintersession 2024
Henry Schreiner
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Amin Astaneh
 
Prizm Installation Guide
vjvarenya
 
Python arch wiki
fikrul islamy
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
Diane Mueller
 
PyCon 2013 : Scripting to PyPi to GitHub and More
Matt Harrison
 
PHP Development Tools
Antony Abramchenko
 
How to create a secured multi tenancy for clustered ML with JupyterHub
Tiago Simões
 
Steps to install ns3
DIGITAL PADM
 
Ad

Recently uploaded (20)

PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Ad

Open erp on ubuntu

  • 2. Introduction 1- Install Ubuntu 2- Install and update packagen you need 3- Install and config. PostgreSQL 4- Install OpenERP 5- Configure OpenERP & Postgres 6- Run OpenERP
  • 3. 1- Install Ubuntu ›  Download from source ›  http://www.ubuntu.com/download/ ubuntu/download ›  Use ubuntu desktop 10.10 ›  Burn on a CD o USB and install it on a PC or Laptop.
  • 4. 2- Install and update packagen you need ›  Update ubuntu’s packages. ›  Sistem/Administration/Update ›  Download packages ›  Install
  • 5. 2- Install and update packagen you need ›  The Extra Packages you need ›  lxml : lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language. ›  mako : Hyperfast and lightweight templating for the Python platform. ›  python-dateutil : The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. ›  psycopg2 : Psycopg is the most popular PostgreSQL adapter for the Python programming language. ›  pychart : PyChart is a Python library for creating high quality Encapsulated Postscript, PDF, PNG, or SVG charts. ›  pydot : This module provides a full interface to create, handle, modify and process graphs in Graphviz’s dot language. ›  pytz : World Timezone Definitions for Python. ›  pyyaml : PyYAML is a YAML parser and emitter for Python. ›  vobject : VObject simplifies the process of parsing and creating iCalendar and vCard objects.
  • 6. 2- Install and update packagen you need ›  The Extra Packages you need ›  reportlab : The ReportLab Toolkit is the time-proven, ultra-robust, open-source engine for programmatically creating PDF documents and forms the foundation of RML. It also contains a library for creating platform-independent vector graphics. It is a fast, flexible, cross-platform solution written in Python.
  • 7. How to install the Packages ›  Using Terminal: ›  sudo apt-get install python-lxml ›  sudo apt-get install python-mako ›  sudo apt-get install python-dateutil ›  sudo apt-get install python-psycopg2 ›  sudo apt-get install python-pychart ›  sudo apt-get install python-pydot ›  sudo apt-get install python-tz ›  sudo apt-get install python-reportlab ›  sudo apt-get install python-yaml ›  sudo apt-get install python-vobject
  • 8. 3- Install and config. Postgres ›  Using Synaptic: ›  Find Postgres and select the packages: ›  Postgesql-client-common ›  Postgres-client-8.4 ›  Libpq5 ›  Postgresql-common ›  Pgagent ›  Pgadmin3 ›  Pgadmin3-data ›  Postgresql ›  Postgresql-8.4 ›  Applay changes.
  • 9. Configure Postgres ›  Postgres is installed on ›  /etc/postgres/ ›  Need to configure: ›  1.- First use as Admin (change pass) ›  2.- Allowed connections ›  3.- Create user for OpenERP
  • 10. First use as Admin. ›  Use Terminal: ›  $ sudo su postgres –c “psql template1” ›  Template1=# ALTER USER postgres WITH PASSWORD ‘new_pass’; ›  If you recived an ALTER ROLE ›  Is done. ›  template1=#q
  • 11. Allowed connection ›  Use terminal: ›  $ sudo gedit /etc/postgres/8.4/main/ postgresql.conf ›  Active listen_address =‘*’ ›  Active password_encryption = on ›  Restatar the server to apply ›  Sudo /etc/init.d/postgresql-8.4 restart
  • 12. Allowd connection ›  Use Terminal: ›  $sudo gedit /etc/postgresql/8.4/main/ pg_hba.conf ›  All to md5.
  • 13. Create user OpenERP ›  Use Terminal: ›  Log on as postgres ›  postgres@openerp-desktop:/$ createuser -- createdb --username postgres --no-createrole --pwprompt openerp ›  Enter password for new role: XXXXXXXXXX Enter it again: XXXXXXXXXX ›  Shall the new role be a superuser? (y/n) y CREATE ROLE
  • 14. 4- Install OpenERP ›  Download client an server : ›  http://www.openerp.com/downloads ›  Use Sources ›  Extract them on a folder where you want ›  /home/openerp/
  • 15. Install server ›  Use Terminal: ›  $python /home/openerp/openerp- server-6.0.3/bin/openerp-server.py –c
  • 16. Install client ›  User terminal: ›  $ python /home/openerp/openerp- client-6.0.3/bin/openerp-client.py –v ›  Configure the file with your user for openerp ›  The one you had create 5 minutes ago on postgres ;).
  • 17. Configure OpenERP files ›  Show the hiden files ›  Find .openerp_serverrc ›  Db_password: your_user ›  Db_user: your_pass ›  Restart server and client
  • 18. Run OpenERP ›  Everything is done ›  Need to restart the server ›  Run the client ›  Create your firts DB.