OpenKM Installation Guide for Windows
PostPosted:Tue Jul 08, 2008 7:15 am
For Windows Installation
Install Java JDK 1.5
Go to http://java.sun.com/javase/downloads/index_jdk5.jsp and select the Java Developer Kit (JDK) 5.0
Update 15. When file has been downloaded, execute it and you will install Java on your system with the
application wizard.
Install OpenKM
Download OpenKM 2.0 from http://sourceforge.net/project/showfile ... _id=180733 and uncompress on
your hard disk (a good option is to uncompress on c:\\ ). If you experiment some problems uncompressing
OpenKM-2.0_JBoss-4.2.2.GA.zip, try to install WinRAR application to uncompress it.
Set Java Home
If you uncompressed to c:\\, then your JBOSS_HOME directory would be C:\\OpenKM-2.0_JBoss-4.2.2.GA\\. Now go
to C:\\OpenKM-2.0_JBoss-4.2.2.GA\\bin and edit run.bat with notepad or any text editor. Add this line:
set JAVA_HOME=C:\\Program Files\\Java\\jdk1.5.0_15
before the line:
if not \"%JAVA_HOME%\" == \"\" goto ADD_TOOLS
then save the file.
Adding / Editing User Names
Go to C:\\OpenKM-2.0_JBoss-4.2.2.GA\\server\\default\\conf\\props\\ and open the following files with notepad:
openkm-users.properties ----->Contains the usernames and passwords
openkm-roles.properties ----->Contains the usernames and their appropriate role(AdminRol & UserRol are default).
openkm-emails.properties ----->Contains the usernames and the corresponding email addresses for the email notification feature.
Then add the usernames, passwords, and emails of the users who want to access OpenKM. The user \"system\" is the default administrator. AdminRol and UserRol are the default user roles recognized by OpenKM. Only \"system\" should have the AdminRol and all users should have UserRol properties.
Create a startup batch file
Open notepad or any text editor and create a new batch file with this line:
C:\\OpenKM-2.0_JBoss-4.2.2.GA\\bin\\run.bat -b 0.0.0.0
Then save the batch file. The command run.bat -b 0.0.0.0 is used so that OpenKM can be accessed from any computer in your network. The batch file can be then copied to the Startup to enable automatic startup of OpenKM.
Login
Open your web browser and go to http://localhost:8080/OpenKM where \"localhost\" should be the IP address or hostname of the server or computer running OpenKM. Also take note that the url address of OpenKM is case-sensitive. Meaning, the url should be http://localhost:8080/OpenKM and NOT:
http://localhost:8080/openkm
http://localhost:8080/Openkm
http://localhost:8080/OpenKm
http://localhost:8080/openKM etc.
When the Login page appears, enter your username and password in the spaces provided.
Install Java JDK 1.5
Go to http://java.sun.com/javase/downloads/index_jdk5.jsp and select the Java Developer Kit (JDK) 5.0
Update 15. When file has been downloaded, execute it and you will install Java on your system with the
application wizard.
Install OpenKM
Download OpenKM 2.0 from http://sourceforge.net/project/showfile ... _id=180733 and uncompress on
your hard disk (a good option is to uncompress on c:\\ ). If you experiment some problems uncompressing
OpenKM-2.0_JBoss-4.2.2.GA.zip, try to install WinRAR application to uncompress it.
Set Java Home
If you uncompressed to c:\\, then your JBOSS_HOME directory would be C:\\OpenKM-2.0_JBoss-4.2.2.GA\\. Now go
to C:\\OpenKM-2.0_JBoss-4.2.2.GA\\bin and edit run.bat with notepad or any text editor. Add this line:
set JAVA_HOME=C:\\Program Files\\Java\\jdk1.5.0_15
before the line:
if not \"%JAVA_HOME%\" == \"\" goto ADD_TOOLS
then save the file.
Adding / Editing User Names
Go to C:\\OpenKM-2.0_JBoss-4.2.2.GA\\server\\default\\conf\\props\\ and open the following files with notepad:
openkm-users.properties ----->Contains the usernames and passwords
openkm-roles.properties ----->Contains the usernames and their appropriate role(AdminRol & UserRol are default).
openkm-emails.properties ----->Contains the usernames and the corresponding email addresses for the email notification feature.
Then add the usernames, passwords, and emails of the users who want to access OpenKM. The user \"system\" is the default administrator. AdminRol and UserRol are the default user roles recognized by OpenKM. Only \"system\" should have the AdminRol and all users should have UserRol properties.
Create a startup batch file
Open notepad or any text editor and create a new batch file with this line:
C:\\OpenKM-2.0_JBoss-4.2.2.GA\\bin\\run.bat -b 0.0.0.0
Then save the batch file. The command run.bat -b 0.0.0.0 is used so that OpenKM can be accessed from any computer in your network. The batch file can be then copied to the Startup to enable automatic startup of OpenKM.
Login
Open your web browser and go to http://localhost:8080/OpenKM where \"localhost\" should be the IP address or hostname of the server or computer running OpenKM. Also take note that the url address of OpenKM is case-sensitive. Meaning, the url should be http://localhost:8080/OpenKM and NOT:
http://localhost:8080/openkm
http://localhost:8080/Openkm
http://localhost:8080/OpenKm
http://localhost:8080/openKM etc.
When the Login page appears, enter your username and password in the spaces provided.