SlideShare a Scribd company logo
1 of 18
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

OpenNebula and SaltStack - OpenNebulaConf 2013
OpenNebula and SaltStack - OpenNebulaConf 2013OpenNebula and SaltStack - OpenNebulaConf 2013
OpenNebula and SaltStack - OpenNebulaConf 2013databus.pro
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environmentsinovex GmbH
 
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, PuppetPuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, PuppetPuppet
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Kaan Aslandağ
 
Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Kaan Aslandağ
 
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...addame
 
Final_Report_new (1)
Final_Report_new (1)Final_Report_new (1)
Final_Report_new (1)Adarsh Burma
 
The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016effie mouzeli
 
Linux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and GitlabLinux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and GitlabBen Tullis
 
Linux network namespaces
Linux network namespacesLinux network namespaces
Linux network namespacesMike Wilson
 
Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Bogdan Naydenov
 
Scalable Systems Management with Puppet
Scalable Systems Management with PuppetScalable Systems Management with Puppet
Scalable Systems Management with PuppetPuppet
 
FITC - Node.js 101
FITC - Node.js 101FITC - Node.js 101
FITC - Node.js 101Rami Sayar
 

What's hot (20)

OpenNebula and SaltStack - OpenNebulaConf 2013
OpenNebula and SaltStack - OpenNebulaConf 2013OpenNebula and SaltStack - OpenNebulaConf 2013
OpenNebula and SaltStack - OpenNebulaConf 2013
 
Puppet
PuppetPuppet
Puppet
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environments
 
Haproxy - zastosowania
Haproxy - zastosowaniaHaproxy - zastosowania
Haproxy - zastosowania
 
Fail2ban
Fail2banFail2ban
Fail2ban
 
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, PuppetPuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
PuppetConf 2016: High Availability for Puppet – Russ Mull & Zack Smith, Puppet
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
 
Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8
 
Network namespaces
Network namespacesNetwork namespaces
Network namespaces
 
Cluster setup multinode_aws
Cluster setup multinode_awsCluster setup multinode_aws
Cluster setup multinode_aws
 
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...
 
Final_Report_new (1)
Final_Report_new (1)Final_Report_new (1)
Final_Report_new (1)
 
The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016The SaltStack Pub Crawl - Fosscomm 2016
The SaltStack Pub Crawl - Fosscomm 2016
 
Linux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and GitlabLinux host orchestration with Foreman, Puppet and Gitlab
Linux host orchestration with Foreman, Puppet and Gitlab
 
Phoenix at scale
Phoenix at scalePhoenix at scale
Phoenix at scale
 
Subversion To Mercurial
Subversion To MercurialSubversion To Mercurial
Subversion To Mercurial
 
Linux network namespaces
Linux network namespacesLinux network namespaces
Linux network namespaces
 
Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016Aws S3 uploading tricks 2016
Aws S3 uploading tricks 2016
 
Scalable Systems Management with Puppet
Scalable Systems Management with PuppetScalable Systems Management with Puppet
Scalable Systems Management with Puppet
 
FITC - Node.js 101
FITC - Node.js 101FITC - Node.js 101
FITC - Node.js 101
 

Similar to Install and Configure OpenERP on Ubuntu in 6 Steps

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmersMd. Al Amin
 
Package Management via Spack on SJTU π Supercomputer
Package Management via Spack on SJTU π SupercomputerPackage Management via Spack on SJTU π Supercomputer
Package Management via Spack on SJTU π SupercomputerJianwen Wei
 
Installaling Puppet Master and Agent
Installaling Puppet Master and AgentInstallaling Puppet Master and Agent
Installaling Puppet Master and AgentRanjit Avasarala
 
Puppet slides for intelligrape
Puppet slides for intelligrapePuppet slides for intelligrape
Puppet slides for intelligrapeSharad Aggarwal
 
Jenkins and Docker for native Linux packages
Jenkins and Docker for native Linux packagesJenkins and Docker for native Linux packages
Jenkins and Docker for native Linux packagesDaniel Paulus
 
Ansible is the simplest way to automate. SymfonyCafe, 2015
Ansible is the simplest way to automate. SymfonyCafe, 2015Ansible is the simplest way to automate. SymfonyCafe, 2015
Ansible is the simplest way to automate. SymfonyCafe, 2015Alex S
 
How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)Jose Hernandez
 
Software Quality Assurance Tooling - Wintersession 2024
Software Quality Assurance Tooling - Wintersession 2024Software Quality Assurance Tooling - Wintersession 2024
Software Quality Assurance Tooling - Wintersession 2024Henry Schreiner
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Amin Astaneh
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guidevjvarenya
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce Diane Mueller
 
PyCon 2013 : Scripting to PyPi to GitHub and More
PyCon 2013 : Scripting to PyPi to GitHub and MorePyCon 2013 : Scripting to PyPi to GitHub and More
PyCon 2013 : Scripting to PyPi to GitHub and MoreMatt Harrison
 
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubHow to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubTiago Simões
 
Steps to install ns3
Steps to install ns3Steps to install ns3
Steps to install ns3DIGITAL PADM
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...OpenShift Origin
 

Similar to Install and Configure OpenERP on Ubuntu in 6 Steps (20)

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
 
Package Management via Spack on SJTU π Supercomputer
Package Management via Spack on SJTU π SupercomputerPackage Management via Spack on SJTU π Supercomputer
Package Management via Spack on SJTU π Supercomputer
 
Installaling Puppet Master and Agent
Installaling Puppet Master and AgentInstallaling Puppet Master and Agent
Installaling Puppet Master and Agent
 
Puppet slides for intelligrape
Puppet slides for intelligrapePuppet slides for intelligrape
Puppet slides for intelligrape
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Jenkins and Docker for native Linux packages
Jenkins and Docker for native Linux packagesJenkins and Docker for native Linux packages
Jenkins and Docker for native Linux packages
 
Ansible is the simplest way to automate. SymfonyCafe, 2015
Ansible is the simplest way to automate. SymfonyCafe, 2015Ansible is the simplest way to automate. SymfonyCafe, 2015
Ansible is the simplest way to automate. SymfonyCafe, 2015
 
How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)
 
Software Quality Assurance Tooling - Wintersession 2024
Software Quality Assurance Tooling - Wintersession 2024Software Quality Assurance Tooling - Wintersession 2024
Software Quality Assurance Tooling - Wintersession 2024
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
 
Python arch wiki
Python   arch wikiPython   arch wiki
Python arch wiki
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
 
PyCon 2013 : Scripting to PyPi to GitHub and More
PyCon 2013 : Scripting to PyPi to GitHub and MorePyCon 2013 : Scripting to PyPi to GitHub and More
PyCon 2013 : Scripting to PyPi to GitHub and More
 
PHP Development Tools
PHP  Development ToolsPHP  Development Tools
PHP Development Tools
 
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHubHow to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHub
 
Steps to install ns3
Steps to install ns3Steps to install ns3
Steps to install ns3
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
 

Recently uploaded

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Install and Configure OpenERP on Ubuntu in 6 Steps

  • 1. OpenERP on Ubuntu Iker Coranti e-mail : ikercoranti@avanzosc.com
  • 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.