Instalación openerp en ubuntu server

Páginas: 5 (1241 palabras) Publicado: 23 de enero de 2012
Aplicación de gestión y contabidad
OpenERP

Índice
Instalación OpenERP Requisitos Configuración scripts inicio Configuración scripts de OPENERP Configuración de la base de datos Creación de la base de datos inicial Instalación de módulos adicionales Aeroo reports

Instalación OpenERP
Requisitos
Se descargan los paquetes de la página oficial: http://www.openerp.com/downloadshttp://www.openerp.com/download/stable/deb/openerp-server-6.0.3-0_all.deb http://www.openerp.com/download/stable/source/openerp-web-6.0.3.tar.gz Se instalan antes las siguientes dependencias: apt-get install debconf adduser python python-dateutil python-libxslt1 python-lxml pythonpsycopg2 python-pydot python-pychart python-reportlab python-tz python-pyparsing pythonyaml python-mako postgresql-clientpostgresql-8.4 Se instala manualmente el paquete del servidor: dpkg -i openerp-server-6.0.3-0_all.deb Se descomprimen las fuentes de openerp-web y se ejecuta en el directorio: python setup.py install

Configuración scripts inicio
Los scripts de inicio contendrán las siguientes líneas: /etc/init.d/openerp-server #!/bin/sh ### BEGIN INIT INFO # Provides: openerp-server # Required-Start: $remote_fs$syslog # Required-Stop: $remote_fs $syslog # Should-Start: $network # Should-Stop: $network # Default-Start: 2345 # Default-Stop: 016 # Short-Description: Enterprise Resource Management software # Description: Open ERP is a complete ERP and CRM software. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/openerp-server

NAME=openerp-server DESC=openerp-server USER=openerp test-x ${DAEMON} || exit 0 set -e case "${1}" in start) echo -n "Starting ${DESC}: " start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ --chuid ${USER} --background --make-pidfile \ --exec ${DAEMON} -- --config=/etc/openerp-server.conf \ --logfile=/var/log/openerp-server.log echo "${NAME}." ;; stop) echo -n "Stopping ${DESC}: " start-stop-daemon --stop --quiet --pidfile/var/run/${NAME}.pid \ --oknodo echo "${NAME}." ;; restart|force-reload) echo -n "Restarting ${DESC}: " start-stop-daemon --stop --quiet --pidfile /var/run/${NAME}.pid \ --oknodo sleep 1 start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ --chuid ${USER} --background --make-pidfile \ --exec ${DAEMON} -- --config=/etc/openerp-server.conf \ --logfile=/var/log/openerp-server.log echo "${NAME}." ;;*) N=/etc/init.d/${NAME} echo "Usage: ${NAME} {start|stop|restart|force-reload}" >&2 exit 1 ;; esac

exit 0

/etc/init.d/openerp-web #!/bin/sh -x ### BEGIN INIT INFO # Provides: openerp-web # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $network # Should-Stop: $network # Default-Start: 2345 # Default-Stop: 016 # Short-Description: OpenERP Web - the Web Client of theOpenERP # Description: OpenERP is a complete ERP and CRM software. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/local/bin/openerp-web NAME=openerp-web DESC=openerp-web # Specify the user name (Default: openerp). USER="openerp" # Specify an alternate config file (Default: /etc/openerp-web.cfg). CONFIGFILE="/etc/openerp-web.cfg" # pidfile PIDFILE=/var/run/$NAME.pid # Additionaloptions that are passed to the Daemon. DAEMON_OPTS="-c $CONFIGFILE" [ -x $DAEMON ] || exit 0 [ -f $CONFIGFILE ] || exit 0 checkpid() { [ -f $PIDFILE ] || return 1 pid=`cat $PIDFILE` [ -d /proc/$pid ] && return 0 return 1} if [ -f /lib/lsb/init-functions ] || [ -f /etc/gentoo-release ] ; then do_start() { start-stop-daemon --start --quiet --pidfile $PIDFILE \ --chuid $USER --background --make-pidfile \ --exec $DAEMON -- $DAEMON_OPTS RETVAL=$? sleep 5 # wait for few seconds return $RETVAL } do_stop() { start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo RETVAL=$? sleep 2 # wait for few seconds rm -f $PIDFILE # remove pidfile return $RETVAL } do_restart() { start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo sleep 2 # wait for few seconds rm -f $PIDFILE # remove pidfile...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Instalación OpenERP v7 en Ubuntu
  • instalación de Ubuntu server
  • Manual de Instalación de Ubuntu server 12.04
  • Instalacion De Supervisor Kvm En Ubuntu Server 12.04Lts
  • Arranque de la instalación de Ubuntu Server 10.04 LTS con PXE
  • Instalación De Nfs4 Server En Ubuntu
  • UBUNTU SERVER
  • Instalación ubuntu

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS