Custom Installation

For any customization you want to make to the CQ WCM installation, several options are available via the command line. You can either use the available options or rename the Quickstart file for custom uses.

[Note]Note

Available options and renaming conventions are described in the Quickstart help file, which is available through the –help option. To access help, type java -jar cq-wcm-quickstart-<version>.jar –help.

Changing the Port Number by Renaming the File

The default port for CQ WCM is 4502. If that port is not available or already in use, Quickstart automatically configures itself to the first available port number as follows: 4502, 8080, 8081, 8082, 8083, 8084, 8085, 8888, 9362, <random>. You can also set the port number.

To change the port number of a CQ WCM quickstart file, you can rename the file by including a port number, for example, cq-quickstart-4503.jar or cq-quickstart-7503.jar. See Installing an Author instance and Installing a Publish instance for setting up the author and publish instances of CQ WCM. Renaming syntax is covered in detail in the quickstart help file (-help option). You can also change the port number by adding the -port option.

[Note]Note

When you rename the file, it must start with cq or crx as in cq5-publish-7503.jar.

Configuring a Persistence Manager other than TarPM

To configure CQ WCM to use a persistence manager other than the default Tar PM, you must modify the CRX war file before starting installation. to use a persistence manager other than the default Tar PM, you must modify the CRX war file before starting the installation. See Configuring a Persistence Manager other than TarPM in the CRX documentation for detailed instructions.