CKFinder Installation

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Intro and Tomcat sections added)
 
(Jetty section added)
Line 13: Line 13:
 
By default Tomcat has the <code>autoDeploy="true"</code> option enabled (check the <code>Host</code> element in the <code>server.xml</code> file). If this option was not changed, running the application should also be possible after you copy it to the <code>webapps</code> folder without stopping the server.
 
By default Tomcat has the <code>autoDeploy="true"</code> option enabled (check the <code>Host</code> element in the <code>server.xml</code> file). If this option was not changed, running the application should also be possible after you copy it to the <code>webapps</code> folder without stopping the server.
  
By deafult, the application should be available under the following URL:
+
By deafult, the application should be available under the following URL in your browser:
 
<code><nowiki>http://localhost:8080/CKFinderJava-2.0/</nowiki></code>
 
<code><nowiki>http://localhost:8080/CKFinderJava-2.0/</nowiki></code>
  
 
Please note that the HTTP <code>8080</code> port of the sample URL is the default Tomcat port. If you changed this value while configuring your Tomcat installation, you will need to use a modified port value to run the sample application.
 
Please note that the HTTP <code>8080</code> port of the sample URL is the default Tomcat port. If you changed this value while configuring your Tomcat installation, you will need to use a modified port value to run the sample application.
 +
 +
=== Jetty ===
 +
Place the CKFinder Java <code>.war</code> file in the Jetty <code>webapps</code> folder. In the command line go to the root of the Jetty server and start it with a <code>java -jar start.jar</code> command.
 +
 +
By deafult, the application should be available under the following URL in your browser:
 +
<code><nowiki>http://localhost:8080/CKFinderJava-2.0/</nowiki></code>
 +
 +
Please note that the HTTP <code>8080</code> port of the sample URL is the default Jetty port. If you changed this value while configuring your Jetty installation, you will need to use a modified port value to run the sample application.
 +
 +
Go to the [http://docs.codehaus.org/display/JETTY/Quick+Start Jetty Quick Start guide] for more information about using this server.

Revision as of 13:40, 1 April 2011

To install CKFinder, download the CKFinder Java distribution package (a .war file) from the official download site.

Running the Sample Application

A test application is available in the _samples folder of the distribution package.

After you download CKFinder, follow the steps described below for all compatible servers.

Tomcat

Place the CKFinder Java .war file in the Tomcat webapps folder. Go to Tomcat bin folder and run the startup script file for your operating system — startup.bat for Windows or startup.sh for Linux. When you are running Tomcat as a service, restart the server.

By default Tomcat has the autoDeploy="true" option enabled (check the Host element in the server.xml file). If this option was not changed, running the application should also be possible after you copy it to the webapps folder without stopping the server.

By deafult, the application should be available under the following URL in your browser: http://localhost:8080/CKFinderJava-2.0/

Please note that the HTTP 8080 port of the sample URL is the default Tomcat port. If you changed this value while configuring your Tomcat installation, you will need to use a modified port value to run the sample application.

Jetty

Place the CKFinder Java .war file in the Jetty webapps folder. In the command line go to the root of the Jetty server and start it with a java -jar start.jar command.

By deafult, the application should be available under the following URL in your browser: http://localhost:8080/CKFinderJava-2.0/

Please note that the HTTP 8080 port of the sample URL is the default Jetty port. If you changed this value while configuring your Jetty installation, you will need to use a modified port value to run the sample application.

Go to the Jetty Quick Start guide for more information about using this server.