AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.
start script is available under the <cq-installation>/bin directory. Both Unix and Windows versions are provided. The script starts the instance installed in <cq-installation> directory.
Those two versions support a list of environment variables that could be used to start and tune the AEM instance.
|CQ_PORT||TCP port used for stop and status scripts
|CQ_INTERFACE||Interface that this server should listen to
|CQ_RUNMODE||Runmode(s) separated by comma
|CQ_JARFILE||Name of the jarfile
|CQ_USE_JAAS||Use of JAAS (if true)
|CQ_JAAS_CONFIG||Path of the JAAS configuration
|CQ_JVM_OPTS||Default JVM options
Note that some run modes, among them author and publish, need to be set before first starting AEM and can not be changed afterwards. Before setting up an AEM instance that is supposed to be used in production, please see the run modes documentation for details.
SET CQ_PORT=1234 & ./start.bat
The start script launches the AEM Quickstart installed under the <cq-installation>/app folder.
To stop AEM, do one of the following:
Depending on the platform you are using:
If you started AEM by double-clicking the jar file, click the On button on the startup window (the button then changes to Off) to shut down the server.
stop script is available under the <cq-installation>/bin directory. Both Unix and Windows versions are provided. The script stops the running instance installed in <cq-installation> directory.
If you just want to preconfigure the repository (without relocating it) you only have to:
repository.xml to the required location
repository.xml as required
bootstrap.properties and define
Again, before starting the actual installation.