Friday, September 18, 2015

Cara install Aeroo Report

Langkah install Aeroo Report simple.







UPDATE DOLOO

sudo apt-get install python-relatorio python-genshi python-yaml
uno-libs3 ure python-cairo python-pycha python-setuptools

sudo apt-get install  libreoffice

sudo apt-get install bzr

sudo bzr branch https://launchpad.net/aeroo

sudo bzr branch https://launchpad.net/aeroolib

sudo nautilus    --> Pindahkan folder /usr/src/aeroolib/aeroolib ke /usr/src/aeroolib

cd aeroolib

sudo python ./setup.py install

cd /usr/lib/libreoffice/program

/libreoffice
./soffice -nologo -nofirststartwizard -headless -norestore -invisible "-accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;" &

sudo apt-get install git

sudo apt-get install git

Install AerooLib:
 
sudo apt-get install python-setuptools
 
sudo apt-get install python-genshi python-cairo python-lxml
 
sudo apt-get install libreoffice-script-provider-python
 
sudo mkdir /opt/aeroo
 
cd /opt/aeroo
 
sudo git clone https://github.com/aeroo/aeroolib.git
 
cd /opt/aeroo/aeroolib
 
sudo python setup.py install

sudo pico -w /etc/init.d/office
 
Paste script dibawah:

#!/bin/sh
/usr/bin/soffice --nologo --nofirststartwizard --headless --norestore --invisible "--accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;" &
 
sudo chmod +x /etc/init.d/office
 
sudo update-rc.d office defaults
 
sudo /etc/init.d/office
 
telnet localhost 8100
 
You should see something like the following message (this means it has established a connection successfully):
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
e--'com.sun.star.bridge.XProtocolPropertiesUrpProtocolProperties.UrpProtocolPropertiesTidE--L


Install AerooDOCS (see: https://github.com/aeroo/aeroo_docs/wiki/Installation-example-for-Ubuntu-14.04-LTS for original post):
 
sudo apt-get install python3-pip
 
sudo pip3 install jsonrpc2 daemonize
 
cd /opt/aeroo
 
sudo git clone https://github.com/aeroo/aeroo_docs.git
 
sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf
 
sudo ln -s /opt/aeroo/aeroo_docs/aeroo-docs /etc/init.d/aeroo-docs
 
sudo update-rc.d aeroo-docs defaults
 
sudo service aeroo-docs start

sudo service aeroo-docs stop

sudo service aeroo-docs start

No comments:

Post a Comment