Difference between revisions of "Test OpenKM installation"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
Once you have configured OpenKM and JBoss you can start them. You can run JBoss from the command line from the $JBOSS_HOME folder:
+
Once you have configured OpenKM and Tomcat you can start them. You can run Tomcat from the command line from the $TOMCAT_HOME folder:
  
  $ ./bin/run.sh
+
  $ ./bin/catalina.sh start
  
This command will launch JBoss application server and start the OpenKM application. By default JBoss only listens on localhost, so OpenKM will only be accessible from http://localhost:8080/OpenKM. You will see a login screen like this:
+
This command will launch Tomcat and start the OpenKM application. By default Tomcat only listens on localhost, so OpenKM will only be accessible from http://localhost:8080/OpenKM. You will see a login screen like this:
  
  
 
[[File:Okm_user_guide_001.jpeg|317px|center]]
 
[[File:Okm_user_guide_001.jpeg|317px|center]]
 +
 +
To binding all network interfaces you should modify $TOMCAT_HOME/conf/server.xml
 +
 +
<source lang="xml">
 +
<Connector address="'''0.0.0.0'''" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
 +
</source>
  
  

Revision as of 17:59, 24 October 2012

Once you have configured OpenKM and Tomcat you can start them. You can run Tomcat from the command line from the $TOMCAT_HOME folder:

$ ./bin/catalina.sh start

This command will launch Tomcat and start the OpenKM application. By default Tomcat only listens on localhost, so OpenKM will only be accessible from http://localhost:8080/OpenKM. You will see a login screen like this:


Okm user guide 001.jpeg

To binding all network interfaces you should modify $TOMCAT_HOME/conf/server.xml

<Connector address="'''0.0.0.0'''" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>


You can log into OpenKM with okmAdmin user (default password is "admin"). If you want OpenKM to be accessible from others computers in your network, try to start JBoss with the -b parameter. This parameter means “bind” and with this command:

$ ./bin/run.sh -b 0.0.0.0

JBoss will bind to all network interfaces of the computer. Now OpenKM can be accessed from another computer using http://your-domain.com:8080/OpenKM.


Nota advertencia.png Don't close the terminal or JBoss will shutdown and OpenKM application will stop.

If you have configured JBoss service in your Debian / Ubuntu box, you can launch it this way:

$ /etc/init.d/jboss start

You can watch the server log to see OpenKM messages.

$ tail -f $TOMCAT_HOME/logs/catalina.log

{{Note| In jboss OpenKM installation path is $JBOSS_HOME/server/default/log/server.log