Command Line Start and Stop command-line-start-and-stop

Starting Adobe Experience Manager from the Command Line starting-adobe-experience-manager-from-the-command-line

The 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 Adobe Experience Manager (AEM) instance.

Environment variable
TCP port used for stop and status scripts
Host name
Interface that this server should listen to
Run modes separated by comma
Name of the jarfile
Use of JAAS (if true)
Path of the JAAS configuration
Default JVM options
Some run modes, among them author and publish, must be set before first starting AEM and cannot be changed afterwards. Before setting up an AEM instance that is used in production, see run modes documentation for details.

Windows platform start.bat script example windows-platform-start-bat-script-example

SET CQ_PORT=1234 & ./start.bat

UNIX® platform start script example unix-platform-start-script-example

CQ_PORT=1234 ./start
The start script launches the AEM Quickstart installed under the <cq-installation>/app folder.

Stopping Adobe Experience Manager stopping-adobe-experience-manager

To stop AEM, do one of the following:

  • Depending on the platform that you use:

    • If you started AEM from either a script or the command line, press Ctrl+C to shut down the server.
    • If you have used the start script on UNIX®, you must use the stop script to stop AEM.
  • 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.


Stopping Adobe Experience Manager from the Command Line stopping-adobe-experience-manager-from-the-command-line

The 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.

UNIX® platform stop script example unix-platform-stop-script-example


Windows platform stop.bat script example windows-platform-stop-bat-script-example


If you only want to preconfigure the repository (without relocating it), you only have to:

  • Extract repository.xml to the required location

  • update repository.xml as required

  • create and define repository.config

Again, before starting the actual installation.