(Jetty section added) |
(GlassFish section added) |
||
Line 27: | Line 27: | ||
Go to the [http://docs.codehaus.org/display/JETTY/Quick+Start Jetty Quick Start guide] for more information about using this server. | Go to the [http://docs.codehaus.org/display/JETTY/Quick+Start Jetty Quick Start guide] for more information about using this server. | ||
+ | |||
+ | === GlassFish === | ||
+ | The GlassFish server can be started from the command line. Go to the server <code>bin</code> folder and run the <code>asadmin</code> script. Next you need to start the domain which is a pre-requisite to upload the application or use the administrator's console. In this example we are going to use the test domain that is deployed with the servr. Run the <code>start-domain</code> command to start it. | ||
+ | |||
+ | The application can be uploaded to the server by using the command line or the administrator's console. | ||
+ | |||
+ | When using the command line, run the following:<br /> | ||
+ | |||
+ | <source>deploy relativePath/ CKFinderJava-2.0.war</source> | ||
+ | |||
+ | Please note that the path to the CKFinder Java <code>.war</code> file is relative to the <code>asadmin</code> script that is located in the <code>bin</code> server of GlassFish. | ||
+ | |||
+ | When using the administrator's console, log in and go to the '''Applications''' tab. Specify the location of the CKFinder Java <code>.war</code> file and set the application type to '''Web Application'''. | ||
+ | |||
+ | The applic | ||
+ | |||
+ | W przypadku konsoli administratora, po zalogowaniu należy przejść do zakładki „Applications” , określić lokalizację (Location) pliku CKFinderJava-2.0.war oraz ustawić typ aplikacji (Type) jako „Web Application” i wcisnąć przycisk OK. | ||
+ | |||
+ | 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 GlassFish port. If you changed this value while configuring your GlassFish installation, you will need to use a modified port value to run the sample application. | ||
+ | |||
+ | Go to the [http://download.oracle.com/docs/cd/E19798-01/821-1757/index.html Oracle GlassFish Server Quick Start Guide] for more information about using this server. |
Revision as of 12:49, 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.
GlassFish
The GlassFish server can be started from the command line. Go to the server bin
folder and run the asadmin
script. Next you need to start the domain which is a pre-requisite to upload the application or use the administrator's console. In this example we are going to use the test domain that is deployed with the servr. Run the start-domain
command to start it.
The application can be uploaded to the server by using the command line or the administrator's console.
When using the command line, run the following:
deploy relativePath/ CKFinderJava-2.0.war
Please note that the path to the CKFinder Java .war
file is relative to the asadmin
script that is located in the bin
server of GlassFish.
When using the administrator's console, log in and go to the Applications tab. Specify the location of the CKFinder Java .war
file and set the application type to Web Application.
The applic
W przypadku konsoli administratora, po zalogowaniu należy przejść do zakładki „Applications” , określić lokalizację (Location) pliku CKFinderJava-2.0.war oraz ustawić typ aplikacji (Type) jako „Web Application” i wcisnąć przycisk OK.
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 GlassFish port. If you changed this value while configuring your GlassFish installation, you will need to use a modified port value to run the sample application.
Go to the Oracle GlassFish Server Quick Start Guide for more information about using this server.