Como instalar Aeroo en Open ERP 6.1 en Ubuntu 12.04Esta es una guía modificada basada en este enlace:http://www.alistek.co...
$ sudo nano /etc/init.d/openoffice.shPaste the following below this line--------------------------------------------------...
Nächste SlideShare
Wird geladen in …5
×

Como instalar aeroo en open erp 6

899 Aufrufe

Veröffentlicht am

0 Kommentare
0 Gefällt mir
Statistik
Notizen
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Keine Downloads
Aufrufe
Aufrufe insgesamt
899
Auf SlideShare
0
Aus Einbettungen
0
Anzahl an Einbettungen
3
Aktionen
Geteilt
0
Downloads
10
Kommentare
0
Gefällt mir
0
Einbettungen 0
Keine Einbettungen

Keine Notizen für die Folie

Como instalar aeroo en open erp 6

  1. 1. Como instalar Aeroo en Open ERP 6.1 en Ubuntu 12.04Esta es una guía modificada basada en este enlace:http://www.alistek.com/wiki/index.php/Aeroo_Reports_Linux_server1. Log-in to your OpenERP server using ssh.2. Install Bazaar and download Aeroo module using bzr.$ sudo apt-get update$ sudo apt-get install python-setuptools$ sudo apt-get install bzr$ cd /home/username/$ sudo bzr branch https://launchpad.net/aeroo$ sudo bzr branch https://launchpad.net/aeroolib$ bzr branch lp:aeroolib3. Install Aeroo Reports library - Python module$ cd /home/username/aeroolib/aeroolib$ sudo python ./setup.py install4. Restart your computer$ sudo shutdown -r now5. Download aeroo reports module from this link https://launchpad.net/aeroo. I suggestyou download all four modules related to aeroo reports including the sample. You canalso copy the modules downloaded earlier using bzr from /home/username folder.6. Extract all four modules and paste it to your OpenERP server under this path/usr/lib/pymodules/python2.7/openerp/addons. You can mount your OpenERP server toyour Ubuntu desktop as root using SSH. Ex. ssh://root@openerp-server-IP and paste itto the path I mention. (root should be enabled first in your server to do this)6B. If you are using Ubuntu 12.04 Desktop then chances are you already haveLibreOffice installed, otherwise if you are using Ubuntu 12.04 Server you need toinstall it first before proceeding to the next step. I used aptitude because it is smartenough to know that OpenOffice had been replace by LibreOffice and will use itinstead. (I don’t know the exact commands to install LibreOffice headless anyway.)$ sudo apt-get install aptitude$ sudo aptitude install openoffice.org-headless openoffice.org-writer openoffice.org-draw openoffice.org-calc$ sudo shutdown -r now7. Open your browser and log-in to your OpenERP installation as admin. Make sure youenabled extended view then go to Settings->Modules->Update Module List. Then clickOpen Modules and search for keyword aeroo. Install all the Aeroo report modulesafterwards.8. Now we need to create a script to start LibreOffice headless as a service every timethe OpenERP server boots up.
  2. 2. $ sudo nano /etc/init.d/openoffice.shPaste the following below this line--------------------------------------------------------------#!/bin/bash# openoffice.org headless server script## chkconfig: 2345 80 30# description: headless openoffice server script# processname: openoffice#OOo_HOME=/usr/binSOFFICE_PATH=$OOo_HOME/sofficePIDFILE=/var/run/openoffice-server.pidset -ecase “$1” instart)if [ -f $PIDFILE ]; thenecho “OpenOffice headless server has already started.”sleep 5exitfiecho “Starting OpenOffice headless server”$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=”socket,host=127.0.0.1,port=8100;urp” & > /dev/null 2>&1touch $PIDFILE;;stop)if [ -f $PIDFILE ]; thenecho “Stopping OpenOffice headless server.”killall -9 soffice && killall -9 soffice.binrm -f $PIDFILEexitfiecho “Openoffice headless server is not running.”exit;;*)echo “Usage: $0 {start|stop}”exit 1esacexit 0------------------------------------------------------------------9. Exit the nano editor and save the file you just did. Make the script executable andmake it start automatically at boot$ sudo chmod 0755 /etc/init.d/openoffice.sh$ sudo update-rc.d openoffice.sh defaults$ sudo /etc/init.d/openoffice.sh start10. Go to Settings->Customization->Aeroo Reports->Configure OpenOffice.orgconnection. Click Connect. It should display that connection was successfull and PDFconvertion is working.

×