INSTALL AEROOLIB
cd ~
wget https://launchpad.net/aeroolib/trunk/1.0.0/+download/aeroolib.tar.gz
tar xfvz aeroolib.tar.gz
cd aeroolib
sudo python setup.py install
*https://github.com/Numigi/aeroo_reports
INSTALL OPENOFFICE
sudo add-apt-repository ppa:libreoffice/ppa
apt-get install libreoffice libreoffice-writer
OR
sudo apt-get install openoffice.org-headless openoffice.org-writer openoffice.org-draw
sudo nano /etc/init.d/openoffice.sh
Paste the following code into that file:
#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid
set -e
case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
Exit the nano text editor saving the file as you do.
Now make the script executable:
sudo chmod 0755 /etc/init.d/openoffice.sh
Make it start automatically on reboot by executing this command:
sudo update-rc.d openoffice.sh defaults
Now start the service by running
sudo /etc/init.d/openoffice.sh start
INSTALL AEROREPORT
sudo apt-get install python-setuptools
sudo apt-get install python-genshi python-cairo python-lxml -y
sudo apt-get install libreoffice-script-provider-python -y
sudo mkdir /opt/aeroo
cd /opt/aeroo
git clone https://github.com/aeroo/aeroolib.git
cd /opt/aeroo/aeroolib
sudo python3 setup.py install
wget git clone https://github.com/aeroo/currency2text.git
cd /opt/aeroo/currency2text
sudo python3 setup.py install
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 cp /opt/aeroo/aeroo_docs/aeroo-docs /etc/init.d/aeroo-docs
sudo update-rc.d aeroo-docs defaults
sudo service aeroo-docs start
sudo chmod 0755 /etc/init.d/openoffice.sh
sudo chmod 0755 /etc/init.d/aeroo-docs
TESTING
goto setting, technical, Aerodoc connection, test connect
taraaaa.....
refs :
*http://weltbilder.forumnews.com/cBUZZ.IO/aeroo_reports/src/branch/master?lang=zh-CN
*https://serpentcs.com/serpentcs-setup-aeroo-report-engine-for-openerp-272
*http://www.hitechnologia.com/forum/odoo-forum-1/question/odoo-openerp-how-to-setup-install-configure-aeroo-reports-in-odoo-openerp-v8-148
..show all:.
.
INSTALL AEROOLIB
cd ~
wget https://launchpad.net/aeroolib/trunk/1.0.0/+download/aeroolib.tar.gz
tar xfvz aeroolib.tar.gz
cd aeroolib
sudo python setup.py install
*https://github.com/Numigi/aeroo_reports
INSTALL OPENOFFICE
sudo add-apt-repository ppa:libreoffice/ppa
apt-get install libreoffice libreoffice-writer
OR
sudo apt-get install openoffice.org-headless openoffice.org-writer openoffice.org-draw
sudo nano /etc/init.d/openoffice.sh
Paste the following code into that file:
#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid
set -e
case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
Exit the nano text editor saving the file as you do.
Now make the script executable:
sudo chmod 0755 /etc/init.d/openoffice.sh
Make it start automatically on reboot by executing this command:
sudo update-rc.d openoffice.sh defaults
Now start the service by running
sudo /etc/init.d/openoffice.sh start
INSTALL AEROREPORT
sudo apt-get install python-setuptools
sudo apt-get install python-genshi python-cairo python-lxml -y
sudo apt-get install libreoffice-script-provider-python -y
sudo mkdir /opt/aeroo
cd /opt/aeroo
git clone https://github.com/aeroo/aeroolib.git
cd /opt/aeroo/aeroolib
sudo python3 setup.py install
wget git clone https://github.com/aeroo/currency2text.git
cd /opt/aeroo/currency2text
sudo python3 setup.py install
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 cp /opt/aeroo/aeroo_docs/aeroo-docs /etc/init.d/aeroo-docs
sudo update-rc.d aeroo-docs defaults
sudo service aeroo-docs start
sudo chmod 0755 /etc/init.d/openoffice.sh
sudo chmod 0755 /etc/init.d/aeroo-docs
TESTING
goto setting, technical, Aerodoc connection, test connect
taraaaa.....
refs :
*http://weltbilder.forumnews.com/cBUZZ.IO/aeroo_reports/src/branch/master?lang=zh-CN
*https://serpentcs.com/serpentcs-setup-aeroo-report-engine-for-openerp-272
*http://www.hitechnologia.com/forum/odoo-forum-1/question/odoo-openerp-how-to-setup-install-configure-aeroo-reports-in-odoo-openerp-v8-148
No comments:
Post a Comment