-
Notifications
You must be signed in to change notification settings - Fork 116
Install notes for Ubuntu thanks to Enapps
1 – Install java
sudo apt-get install openjdk-6-jre
2 – download apache-tomcat from:
http://apache-mirror.telesys.org.ua/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz
Can use command:
wget http://apache-mirror.telesys.org.ua/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz
3 – unpack tomcat server:
tar -xzf apache-tomcat-6.0.36.tar.gz
4 – open folder:
vim apache-tomcat-6.0.36/conf/ server.xml
5 – change tomcat ports:
find lines:
a) change to
b)
change to
c) change to
6 – install apache libraries:
sudo apt-get install ant
sudo apt-get install ivy
7 – get java_server
download from github: https://github.com/WillowIT/Pentaho-reports-for-OpenERP/tree/master/java_server
8 – copy java_server files to opt/java_server directory
cp —parents -r java_server/* /opt/openerp/
9 – change postgresql version:
vim ivy.xml
and find lines:
a)
change
10 – compile java libraries in java folder:
ant -lib /usr/share/java/ war
1) ant -v -lib /usr/share/java;/usr/include/classpath war
2) ant -lib /usr/share/java/ war
11 – when successful copy it over to /opt/openerp/apache-tomcat/webapps
cp -r build/jar/pentaho-reports-for-openerp.war /opt/openerp/apache-tomcat-6.0.36/webapps
12 – stop and restart tomcat
cd ../apache-tomcat-6.0.36/bin
sudo ./shutdown.sh
sudo ./startup.sh
13 – openerp config:
install pentaho_reports module
go to Settings > Configuration > LowLevel Objects > System Parameters and change pentaho port to 8085
14 – start pentaho automatically:
vim pentaho
#paste shell script
:wq
sudo cp pentaho /etc/init.d
sudo chmod +x /etc/init.d/pentaho
sudo update-rc.d pentaho defaults