OpenKM Linux - Basic questions
PostPosted:Fri Aug 27, 2010 2:48 pm
Hi All,
I'm a brand new OpenKM user, doing my first installation this afternoon
I downloaded it from the web site and installed it on a RHEL5.5 VM.
Everything went fine and I can reach OpenKM on port 8080
However I still have basic questions, for which I didn't found any answer neither on this forum nor in the documentation.
That's why I decided to make this small post, thinking that could help me
Thanks in advance for your help
Kaz
I'm a brand new OpenKM user, doing my first installation this afternoon

I downloaded it from the web site and installed it on a RHEL5.5 VM.
Everything went fine and I can reach OpenKM on port 8080

However I still have basic questions, for which I didn't found any answer neither on this forum nor in the documentation.
That's why I decided to make this small post, thinking that could help me

- On Linux should OpenKM run as root or can we start it with an other user? Basically after a standard installation run.sh works as root but not as an other user
- I guess that the user running OpenKM will be the repository owner in the FileSystem, isn't it? So if I run OpenKM as root, the repository folder will be owned by root
- Is there any best practice about which user should be used to run OpenKM?
- How do we configure OpenKM to automatically start with the server, how should the startup script look like? As run.sh doesn't give the prompt back, I guess
that it should be started in nohup & in the startup script (in init.d) - How do we make a stop script for OpenKM when the server shutdown? Usually in the init.d script there is a case which manage the start and the stop signals.
Which command to use to stop the application? Is not necessary to stop OpenKM on server shutdown/restart? - I can see often in the documentation a variable JBOSS_HOME. Where is this variable set? I tried an echo on it but it is empty. SHould I set it in the .profile?

Thanks in advance for your help
Kaz