Prerequisites
JDK
Versions used
OpenKM 5.1.7
Oracle JDK 1.6.0_21
Steps
- Download the zip package from the openkm website, openkm.com
- Extract the zip file to a directory of your choice e.g. c:\openkm
- Create a file in the C:\openkm\jboss-4.2.3.GA\bin directory named start.bat with the following contents
run.bat -b 0.0.0.0
- Create a file in the C:\openkm\jboss-4.2.3.GA\bin directory named stop.bat with the following contents
shutdown.bat -S
- Run the start.bat file in the C:\openkm\jboss-4.2.3.GA\bin directory
- Wait for jboss to finish starting (until "server started in ..." is displayed)
- Using a browser, navigate to localhost:8080/OpenKM
- Use the username/password combination of okmAdmin/admin to log in. The username is case sensitive.
- Use the File | Exit menu to logout
- Edit the C:\openkm\jboss-4.2.3.GA\OpenKM.cfg file, changing the hibernate.hbm2ddl line from create to none so that it looks as follows
hibernate.hbm2ddl=none
- Stop openkm by running the stop.bat file in the C:\openkm\jboss-4.2.3.GA\bin directory
- Restart openkm by running the start.bat file in the C:\openkm\jboss-4.2.3.GA\bin directory
- Installation is complete
Increasing permgen space
- Edit the run.bat file in the C:\openkm\jboss-4.2.3.GA\bin directory. Edit the line
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512mSo that it looks something like this
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m
No comments:
Post a Comment