Coder Social home page Coder Social logo

openerp-install's Introduction

OpenERP-Install

Introduction
Requirements
Installing with `install`
  * install server
  * install client
  * install web
Starting & Stopping
Other Information
  openERP installation files
    * server.sh
    * client.sh
    * web.sh
  init-files
    * openerp-server
    * openerp-server.cfg
    * openerp-web
To-do List

Introduction

Install OpenERP software (Server, Client and Web) on your Ubuntu system. Currently installs OpenERP 6.0.3

These install files are not intended to be elegant, merely functional.

The impetus for writing these files was the sheer number of manual steps required in this link.

The installation resulting from these files would be good for a demo or proof-of-concept environment but would not be recommended for production.

These scripts are maintained at the Github repo. They are released under a GNU General Public License. If you have improvements, please contribute via github.

For more information, please visit http://gainroot.co/solutions/openerp

Requirements

I tested with two fairly vanilla Ubuntu 10.04 LTS installations.

2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011 i686 GNU/Linux

2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux

Check yours with uname -rvmo

Your mileage may vary.

Installing with install

While some of the scripts are useful individually, all are accessible through install

Usage: install [server|client|web]

install server

Installs PostgreSQL and the OpenERP Server on your host. Creates a Postgres superuser openerp with password of postgres to get you started.

These settings (db_user, db_password and db_host) are added as options to the OpenERP Server rc file, .openerp_serverrc and also to /etc/openerp-server.cfg

Creates a system user openerp to run the openerp-server Adds openERP Server to the boot sequence as a managed service.

Creates a log file in your home directory. You can watch it by typing:

tail -f ~/openERP_server_install.log

install client

Installs the OpenERP Client on your host. One of the first things needed will be to create a database:

 File -> Databases -> New database

Creates a log file in your home directory. You can watch it by typing:

tail -f ~/openERP_client_install.log

install web

Install the OpenERP Web client/server on your host. (It acts like a client to the OpenERP Server and yet it serves web pages.)

Adds openERP Web to the boot sequence as a managed service.

Creates a log file in your home directory. You can watch it by typing:

tail -f ~/openERP_web_install.log

Starting & Stopping

OpenERP Server

Usage: sudo /etc/init.d/openerp-server start|stop|restart

Config file: /etc/openerp-server.cfg

Log file: /var/log/openerp/openerp-server.log

OpenERP Client

Usage: /usr/local/bin/openerp-client

Config file: ~/.openerprc

Log file: unknown

Notes: Make certain you're connected to a windowing environment (X11, etc.) before starting this process. One of the first things needed will be to create a database:

	  File -> Databases -> New database

OpenERP Web

Usage: sudo /etc/init.d/openerp-web start|stop|restart

Config file: /etc/openerp-web.cfg`

Log file: /var/log/openerp/web-access.log

		`/var/log/openerp/web-error.log`

Other Information

openERP installation files

The files in the openERP directory are called by install to do the actual installation.

server.sh

Corresponds to ./install server but does NOT call code to install /etc/init.d/openerp-server

client.sh

Corresponds to ./install client

web.sh

Corresponds to ./install web but does NOT call code to install /etc/init.d/openerp-web

init-files

The following files are installed by install to add openerp-server and openerp-web to the boot sequence as managed services.

openerp-server

Gets installed as: /etc/init.d/openerp-server

Depends on PostgreSQL

Usage: sudo /etc/init.d/openerp-server start|stop|restart

openerp-server.cfg

Gets installed as: /etc/openerp-server.cfg

Used by /etc/init.d/openerp-server

openerp-web

Gets installed as: /etc/init.d/openerp-web

Depends on openerp-server

Usage: sudo /etc/init.d/openerp-web start|stop|restart

openerp-web.cfg

Gets installed as: /etc/openerp-web.cfg

Used by /etc/init.d/openerp-web

To-Do

  • Each install file spits all output (stderr and stout) to a named logfile

  • OpenERP Server and OpenERP Web log files are properly stored, rotated & maintained

  • Make it possible to specify passwords to use rather than accepting the defaults

=== END

openerp-install's People

Contributors

jgifford avatar jrgifford avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.