Difference between revisions of "Quick Install"

From OpenKM Documentation
Jump to: navigation, search
(Install Java JDK 1.6)
Line 1: Line 1:
 
{{TOCright}} __TOC__
 
{{TOCright}} __TOC__
  
In less than five minutes you can install OpenKM and run on your own server.
+
In less than five minutes you can install OpenKM and run it on your own server.
  
{{Warning|From OpenKM 5.x there's a property definition in [[OpenKM.cfg]] to create automatically database. Once the tables are created, change the '''hibernate.hbm2ddl''' property from '''create''' to '''none'''. Do it after first time running, in other case all repository it'll be deleted and created in next OpenKM starting.}}
+
{{Warning|From OpenKM 5.x there's a property definition in [[OpenKM.cfg]] to automatically create the OpenKM database. Once the tables are created, change the '''hibernate.hbm2ddl''' property from '''create''' to '''none'''. Do this after running the application for the first time. If you don't, the repository will be deleted and re-created the next time OpenKM starts.}}
  
{{Note|Starting with OpenKM 5.0.3 we recommend to activate '''user.size.cache''' in OpenKM.cfg to experience a better performance.}}
+
{{Note|Starting with OpenKM 5.0.3 we recommend to activate '''user.size.cache''' in OpenKM.cfg to experience better performance.}}
  
 
== Windows ==
 
== Windows ==
 
=== Install Java JDK 1.6 ===
 
=== Install Java JDK 1.6 ===
Go to the Sun download site and select the Java Developer Kit (JDK) 6,the last update. The url is http://java.sun.com/javase/downloads/index.jsp (note this url or version number could be changed since the moment we insert in this wiki). When file has been downloaded, execute it and you’ll install Java on your system with the application wizard.
+
Go to the Oracle Java download site and select to download the Java Developer Kit (JDK) 6, latest update. The url is http://www.oracle.com/technetwork/java/javase/downloads/index.html (Note that the url or version number may change as time goes by). When file has been downloaded, execute it and you’ll install Java on your system.
  
 
=== Install OpenKM ===
 
=== Install OpenKM ===
Download OpenKM 5.0.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress on ''c:\''). If you experience problems uncompressing OpenKM-5.0.x-JBoss-4.2.3.GA.zip, try using the WinRAR application to uncompress it.
+
Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress on ''C:\''). If you experience problems uncompressing OpenKM-5.x_JBoss-4.2.3.GA.zip, try using the WinRAR application to uncompress it.
  
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become a OpenKM power administator. If you have any problem, take a look at [[Troubleshooting]] section.}}
+
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize yourself with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become an OpenKM power administator. If you have any problem, take a look at the [[Troubleshooting]] section.}}
  
 
=== First login ===
 
=== First login ===
 
* Execute the file ''c:\jboss-4.2.3.GA\bin\run.bat'' to run OpenKM + JBoss application server.
 
* Execute the file ''c:\jboss-4.2.3.GA\bin\run.bat'' to run OpenKM + JBoss application server.
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' command line parameter (see [[Basic application knowledge]])
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' command line parameter (see [[Basic application knowledge]])
* Open on a client browser the URL http://localhost:8080/OpenKM/.
+
* On a client browser, open the URL http://localhost:8080/OpenKM/.
* Autenticate to OpenKM using user "okmAdmin" with password "admin".
+
* Log in to OpenKM using user "okmAdmin" with password "admin".
 
* Enjoy OpenKM!
 
* Enjoy OpenKM!
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contract professional support at http://www.openkm.com/Contact.
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contract professional support at http://www.openkm.com/Contact.
  
 
== Linux ==
 
== Linux ==
There’re several ways to install it, we use to install in Ubuntu but can be used any other Linux flavor.
+
There’re several ways to install it. These steps were used to install on Ubuntu but can be used for any other Linux flavor.
  
 
=== Install Java JDK 1.6 ===
 
=== Install Java JDK 1.6 ===
Execute on terminal the command
+
Execute the following command on the terminal
  
 
  $ sudo aptitude install sun-java6-bin sun-java6-jdk sun-java6-jre
 
  $ sudo aptitude install sun-java6-bin sun-java6-jdk sun-java6-jre
  
 
=== Install OpenKM ===
 
=== Install OpenKM ===
Download OpenKM 5.0.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under ''/opt/'').
+
Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under ''/opt/'').
  
 
Execute on terminal the command
 
Execute on terminal the command
  $ unzip OpenKM-5.0.x-JBoss-4.2.3.GA.zip
+
  $ unzip OpenKM-5.x_JBoss-4.2.3.GA.zip
  
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become a OpenKM power administator. If you have any problem, take a look at [[Troubleshooting]] section.}}
+
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize yourself with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become a OpenKM power administator. If you have any problem, take a look at the [[Troubleshooting]] section.}}
  
 
=== First login ===
 
=== First login ===
 
* Execute the file ''/opt/jboss-4.2.3.GA/bin/run.sh'' to run OpenKM + JBoss application server.
 
* Execute the file ''/opt/jboss-4.2.3.GA/bin/run.sh'' to run OpenKM + JBoss application server.
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' command line parameter (see [[Basic application knowledge]])
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' command line parameter (see [[Basic application knowledge]])
* Open on a client browser the URL http://localhost:8080/OpenKM/.
+
* On a client browser, open the URL http://localhost:8080/OpenKM/.
* Autenticate to OpenKM using user "okmAdmin" with password "admin".
+
* Log in to OpenKM using user "okmAdmin" with password "admin".
 
* Enjoy OpenKM!
 
* Enjoy OpenKM!
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contract professional support at http://www.openkm.com/Contact.
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contract professional support at http://www.openkm.com/Contact.
Line 50: Line 50:
  
 
== Mac OS X ==
 
== Mac OS X ==
'''You dont need to install Java for OS X...''' Java is installed by default and shipped in every OS X. The only important thing is you update your version of Java to the latest, through OS X System Software update, this is to ensure you got the latest Java version, specially in OS X 10.6.6 & above, which make your version of Java(SE) capable of 32bit & 64bit.
+
'''You dont need to install Java for OS X...''' Java is installed by default and shipped with every OS X. The only important thing is to update your version of Java to the latest, through OS X System Software update. This is to ensure you have the latest Java version, especially for OS X 10.6.6 & above, which makes your version of Java(SE) capable of 32bit & 64bit.
  
Note: Don't attempt to go to Java or Sun website to acquire java. Apple Supplies and maintain Java for OS X... this is true as of java 1.6 though this practice might change once java 1.7 came out, Bec. Apple maintain their own java... every Java application in OS X looks and perform like native cocoa application.
+
Note: Don't go to the Java or Oracle website to acquire Java. Apple supplies and maintains Java for OS X. This is true as of java 1.6 though this practice might change with Java 1.7. Because Apple maintains their own Java, every Java application in OS X looks and performs like a native cocoa application.
  
 
=== JDK 1.6 for Mac OS X? ===
 
=== JDK 1.6 for Mac OS X? ===
The whole JDK (JRE,JVM, Class Libraries, Development tools such as compiler) are built in to every OS X, thus making installation of OpenKM the easiest of all 3(Win,Linux,MacOS X) Platform - '''No need to install Java from any website''', Extract & Run your OpenKM installation.
+
The whole JDK (JRE,JVM, Class Libraries, Development tools such as compiler) are built into every OS X, thus making installation of OpenKM the easiest of all 3 (Win,Linux,MacOS X) platforms - '''No need to install Java from any website'''.  Just extract & run your OpenKM installation.
  
 
=== Install OpenKM ===
 
=== Install OpenKM ===
Download OpenKM 5.0.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under ''/Library'') or alternatively copy, move by OS X GUI, open a new finder window and browse your Macintosh HD, Locate and move/copy OpenKM 5.0.x + JBoss 4.2.3.GA inside the Library folder.
+
Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under ''/Library'') or alternatively copy, move by OS X GUI, open a new finder window and browse your Macintosh HD, Locate and move/copy OpenKM 5.x + JBoss 4.2.3.GA inside the Library folder.
  
In OS X, Open Terminal application by browsing through Finder and navigate to Applications/Utilities folder and double click Terminal application.
+
In OS X, open the Terminal application by browsing through Finder and navigate to Applications/Utilities folder and double click Terminal application.
  
Execute the command on the terminal OR alternatively, just double click the zip file you have copied/moved in the finder and it will extract itself! Same result and '''no need to type or use Terminal commands.'''
+
Execute the following command on the terminal OR alternatively, just double click the zip file you have copied/moved in the finder and it will extract itself! Same result and '''no need to type or use Terminal commands.'''
  $ unzip OpenKM-5.0.x-JBoss-4.2.3.GA.zip
+
  $ unzip OpenKM-5.x_JBoss-4.2.3.GA.zip
  
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become a OpenKM power administrator. If you have any problem, take a look at [[Troubleshooting]] section.}}
+
{{Advice|Once installed, please read [[Basic application knowledge]] and [[User Guide]] to familiarize yourself with OpenKM, [[Application configuration]] for configuration details, or [[Administration Guide]] to become a OpenKM power administrator. If you have any problem, take a look at the [[Troubleshooting]] section.}}
  
 
=== First login ===
 
=== First login ===
 
* Execute the file ''/Library/jboss-4.2.3.GA/bin/run.sh'' to run OpenKM + JBoss application server.
 
* Execute the file ''/Library/jboss-4.2.3.GA/bin/run.sh'' to run OpenKM + JBoss application server.
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' as command line parameter Ex. ''run.sh -b 0.0.0.0'' (see [[Basic application knowledge]])
 
* If you want your OpenKM installation to be accessed from other computers add the ''-b 0.0.0.0'' as command line parameter Ex. ''run.sh -b 0.0.0.0'' (see [[Basic application knowledge]])
* Open on a client browser and enter http://localhost:8080/OpenKM/ .
+
* On a client browser, open the URL http://localhost:8080/OpenKM/.
* Autenticate to OpenKM using user "okmAdmin" with password "admin".
+
* Log in to OpenKM using user "okmAdmin" with password "admin".
 
* Enjoy OpenKM!
 
* Enjoy OpenKM!
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contact professional support at http://www.openkm.com/Contact.
 
* Please take a look at http://forum.openkm.com/ if you have any problem or contact professional support at http://www.openkm.com/Contact.
  
 
[[Category: Quick Install]]
 
[[Category: Quick Install]]

Revision as of 07:36, 14 October 2011

In less than five minutes you can install OpenKM and run it on your own server.


Nota advertencia.png From OpenKM 5.x there's a property definition in OpenKM.cfg to automatically create the OpenKM database. Once the tables are created, change the hibernate.hbm2ddl property from create to none. Do this after running the application for the first time. If you don't, the repository will be deleted and re-created the next time OpenKM starts.


Nota clasica.png Starting with OpenKM 5.0.3 we recommend to activate user.size.cache in OpenKM.cfg to experience better performance.

Windows

Install Java JDK 1.6

Go to the Oracle Java download site and select to download the Java Developer Kit (JDK) 6, latest update. The url is http://www.oracle.com/technetwork/java/javase/downloads/index.html (Note that the url or version number may change as time goes by). When file has been downloaded, execute it and you’ll install Java on your system.

Install OpenKM

Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress on C:\). If you experience problems uncompressing OpenKM-5.x_JBoss-4.2.3.GA.zip, try using the WinRAR application to uncompress it.


Nota idea.png Once installed, please read Basic application knowledge and User Guide to familiarize yourself with OpenKM, Application configuration for configuration details, or Administration Guide to become an OpenKM power administator. If you have any problem, take a look at the Troubleshooting section.

First login

Linux

There’re several ways to install it. These steps were used to install on Ubuntu but can be used for any other Linux flavor.

Install Java JDK 1.6

Execute the following command on the terminal

$ sudo aptitude install sun-java6-bin sun-java6-jdk sun-java6-jre

Install OpenKM

Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under /opt/).

Execute on terminal the command

$ unzip OpenKM-5.x_JBoss-4.2.3.GA.zip

Nota idea.png Once installed, please read Basic application knowledge and User Guide to familiarize yourself with OpenKM, Application configuration for configuration details, or Administration Guide to become a OpenKM power administator. If you have any problem, take a look at the Troubleshooting section.

First login


Mac OS X

You dont need to install Java for OS X... Java is installed by default and shipped with every OS X. The only important thing is to update your version of Java to the latest, through OS X System Software update. This is to ensure you have the latest Java version, especially for OS X 10.6.6 & above, which makes your version of Java(SE) capable of 32bit & 64bit.

Note: Don't go to the Java or Oracle website to acquire Java. Apple supplies and maintains Java for OS X. This is true as of java 1.6 though this practice might change with Java 1.7. Because Apple maintains their own Java, every Java application in OS X looks and performs like a native cocoa application.

JDK 1.6 for Mac OS X?

The whole JDK (JRE,JVM, Class Libraries, Development tools such as compiler) are built into every OS X, thus making installation of OpenKM the easiest of all 3 (Win,Linux,MacOS X) platforms - No need to install Java from any website. Just extract & run your OpenKM installation.

Install OpenKM

Download the OpenKM 5.x + JBoss 4.2.3.GA bundle and uncompress on your file system disk (a good option is to uncompress under /Library) or alternatively copy, move by OS X GUI, open a new finder window and browse your Macintosh HD, Locate and move/copy OpenKM 5.x + JBoss 4.2.3.GA inside the Library folder.

In OS X, open the Terminal application by browsing through Finder and navigate to Applications/Utilities folder and double click Terminal application.

Execute the following command on the terminal OR alternatively, just double click the zip file you have copied/moved in the finder and it will extract itself! Same result and no need to type or use Terminal commands.

$ unzip OpenKM-5.x_JBoss-4.2.3.GA.zip

Nota idea.png Once installed, please read Basic application knowledge and User Guide to familiarize yourself with OpenKM, Application configuration for configuration details, or Administration Guide to become a OpenKM power administrator. If you have any problem, take a look at the Troubleshooting section.

First login

  • Execute the file /Library/jboss-4.2.3.GA/bin/run.sh to run OpenKM + JBoss application server.
  • If you want your OpenKM installation to be accessed from other computers add the -b 0.0.0.0 as command line parameter Ex. run.sh -b 0.0.0.0 (see Basic application knowledge)
  • On a client browser, open the URL http://localhost:8080/OpenKM/.
  • Log in to OpenKM using user "okmAdmin" with password "admin".
  • Enjoy OpenKM!
  • Please take a look at http://forum.openkm.com/ if you have any problem or contact professional support at http://www.openkm.com/Contact.