Difference between revisions of "Test OpenKM installation"
Line 3: | Line 3: | ||
$ ./bin/run.sh | $ ./bin/run.sh | ||
− | This command will launch JBoss application server and start the OpenKM application. By default JBoss only | + | 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: |
Line 13: | Line 13: | ||
$ ./bin/run.sh -b 0.0.0.0 | $ ./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 | + | 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. |
{{Warning|Don't close the terminal or JBoss will shutdown and OpenKM application will stop.}} | {{Warning|Don't close the terminal or JBoss will shutdown and OpenKM application will stop.}} |
Revision as of 14:08, 10 November 2011
Once you have configured OpenKM and JBoss you can start them. You can run JBoss from the command line from the $JBOSS_HOME folder:
$ ./bin/run.sh
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:
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.
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 $JBOSS_HOME/server/default/log/server.log