Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Scenario, installing Knowage in AWS EC2 Ubuntu 16.04 LTS instance. There is no user GUI. I can run the installer script, but I don't know the correct response to the questions the installer prompts the user to answer. Please assist, and thank you.
Environment Knowage 6.1 CE, Ubuntu 16.04 LTS - no GUI, server is basic LAMP using Apache and MySQL
in Installer by (230 points)

1 Answer

+2 votes
 
Best answer

Please carefully watch the webinar to see how to setup Knowage via command line on Ubuntu 16.04.

https://www.youtube.com/watch?v=0TTe-TZodok

by (15.2k points)

That was mostly perfect and while I installed everything almost exactly like the video:
##modifications were to the install location. I used /var/www instead of /home/ubuntu   and I installed Charts.js

Java version is 
ubuntu@ip-10-7-130-206:~$ javac -version
javac 1.8.0_151
I also checked my JAVA_HOME variable
ubuntu@ip-10-7-130-206:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java                    and that appears good.##

However after starting Knowage via the startup.sh script in /var/www/Knowage-Server-CE/bin/ folder

I get this from my webpage http://54.156.232.37:8080/knowage/   

This site can’t be reached

54.156.232.37 refused to connect.

ERR_CONNECTION_REFUSED

note: I tried this on Chrome, Edge, Firefox, and IE 11
-----------------

I thought to do a configcheck from the configcheck.sh script, these are the results:
ubuntu@ip-10-7-130-206:~$ sudo /var/www/Knowage-Server-CE/bin/configtest.sh
Using CATALINA_BASE:   /var/www/Knowage-Server-CE
Using CATALINA_HOME:   /var/www/Knowage-Server-CE
Using CATALINA_TMPDIR: /var/www/Knowage-Server-CE/temp
Using JRE_HOME:        /lib/jvm/java-8-openjdk-amd64/jre/bin/java
Using CLASSPATH:       /var/www/Knowage-Server-CE/bin/bootstrap.jar:/var/www/Knowage-Server-CE/bin/tomcat-juli.jar
/var/www/Knowage-Server-CE/bin/catalina.sh: 1: eval: /lib/jvm/java-8-openjdk-amd64/jre/bin/java/bin/java: not found
Configuration error detected!

Did I miss a step?

Please set $JAVA_HOME to /usr/lib/jvm/java-8-openjdk-amd64/

That was it!

Thank you!

-Ian

...