Page 1 of 1

Remote Access

PostPosted:Thu Jul 26, 2012 12:24 pm
by susanna
Hi everyone,

I have installed OpenKM 5.1 (open community) on a linux server. We're able to access it by http://<server-address>/8080/OpenKM but only when we have previously run the run.sh from the terminal and the terminal remains opened. I want to make it available without having to use the terminal but just by visiting the server as a client. How is this done?

thanks in advance

/Susanna

Re: Remote Access

PostPosted:Thu Jul 26, 2012 3:21 pm
by jllort

Re: Remote Access

PostPosted:Fri Jul 27, 2012 7:01 am
by susanna
Yes, it is accessible from other computers too, but only when I have started run.sh -b.0.0.0.0 . I want to make it accessible independently of this, say by just having to visit http://openkm.domain-name.com .

Re: Remote Access

PostPosted:Fri Jul 27, 2012 8:55 am
by shaardu
Its easy.

goto jboss folder->bin folder->rename run.sh to batch.sh , now create a run.sh file and add following to it.

batch.sh -b 0.0.0.0

save it. now start as a service!

Re: Remote Access

PostPosted:Fri Jul 27, 2012 10:23 am
by susanna
Hi shaardu,

thanks for the post. i did exactly what you said. but when i run, run.sh (which now contains only batch.sh -b.0.0.0.0 ) i get this.

root@openKM:~# /opt/openkm-5.1/jboss-4.2.3.GA/bin/run.sh
-bash: /opt/openkm-5.1/jboss-4.2.3.GA/bin/run.sh: Ikke tilgang (No Access)

if i run batch, then its the same as before

Re: Remote Access

PostPosted:Fri Jul 27, 2012 11:28 am
by shaardu
I cant help you with this. As I am not expert at linux/unix but the concept is same, call run.sh from some other .sh file .

Note: you should always run as admin! and don forget to install as a service first...

Re: Remote Access

PostPosted:Mon Jul 30, 2012 6:28 am
by susanna
How to install it as a service?

Re: Remote Access

PostPosted:Mon Jul 30, 2012 6:57 am
by okmuser
Follow these steps to install OpenKM as a service.

http://wiki.openkm.com/index.php/Config ... ss_service

Re: Remote Access

PostPosted:Mon Jul 30, 2012 7:16 am
by susanna
it seems like I dont have access to that page..

Re: Remote Access

PostPosted:Mon Jul 30, 2012 10:51 am
by okmuser
search this forum to see any posts related to autostart openkm - there were some discussions before, or else you can simply subscribe to get full access to openkm wiki.

Considering the a usefulness of OpenKM the subscription is very reasonable and I think it will also help OpenKM developers.

Re: Remote Access

PostPosted:Mon Jul 30, 2012 12:12 pm
by shaardu
Since that content is restricted, I am not sure whether I am allowed to write it here. Anyway check in net abt it or subscribe!

Re: Remote Access

PostPosted:Tue Jul 31, 2012 11:03 am
by jllort
Or seach in google about "how to jboss windows service" ( or linux distribution name if it's your case )

Re: Remote Access

PostPosted:Wed Aug 01, 2012 12:09 pm
by susanna
Guys, thank you for the feedback, but I turned to another system than OpenKM.

all the best
/s