System Requirements:
- 2GB free disk space in the deployment directory.
- 1.5GB memory (RAM); Please increase your head size.
Prerequisites:
- The Java Runtime Environment (JRE). Version 1.6.X is preferred.
- The CQ quickstart JAR file and license.properties file.
Note: JRE 1.7.X version is not supported.
Installing CQ Author and Publish instances using Quickstart:
Generally, when you set up Adobe CQ. You need to set up an Author and Publish instance.
Lets first see installation of Author instance:
Installing Author instance:
- Create a directory and name it author. (Generally we follow C:\cq\author ).
- Copy cq5-version.jar file into author directory.
- Rename cq5-version.jar to cq5-author-p4502.jar (recommended). If you need different port this can be set in the filename.
- Copy license.properties file into author directory.
Note: If you do not provide the license.properties file, CQ will redirect you to the Welcome screen when starting the application, where you can enter a valid license key. You will need to request a valid license key from Adobe if you do not yet have one.
- You can start CQ quickstart either by double clicking the jar file or by following command:
java -Xmx1024M -jar cq5-author-p4502.jar (32 bit machine)
Or
java -XX:MaxPermSize=256m -Xmx1024M -jar cq5-author-p4502.jar (64 bit)
- When the installation is completed, you are automatically presented with a new web browser window opening http://localhost:<port>/
Installing Publish instance:
- Create a directory and name it publish. (Generally we follow C:\cq\publish ).
- Copy cq5-version.jar file into author directory.
- Rename cq5-version.jar to cq5-author-p4503.jar (recommended). If you need different port this can be set in the filename.
- Copy license.properties file into author directory.
Note: If you do not provide the license.properties file, CQ will redirect you to the Welcome screen when starting the application, where you can enter a valid license key. You will need to request a valid license key from Adobe if you do not yet have one.
- You can start CQ quickstart either by double clicking the jar file or by following command:
java -Xmx1024M -jar cq5-author-p4503.jar (32 bit machine)
Or
java -XX:MaxPermSize=256m -Xmx1024M -jar cq5-author-p4503.jar (64 bit)
- When the installation is completed, you are automatically presented with a new web browser window opening http://localhost:<port>/ to Geometrixx page.
How to start and stop your CQ instance:
There is more than one way of starting or stopping your CQ instance:
Starting CQ Instance:
- You can start your CQ instance by double clicking on the quickstart jar as you did for installing CQ server.
- You can start your CQ instance by navigating to bin folder inside crx-quickstart folder (which is created after installation of CQ) and click on start.bat file.
- You can start your CQ instance by typing the above java command in command prompt.
Stopping CQ instance:
- If you have started the server by double-clicking on jar then click on off button on the startup window of CQ.
- If you have started your instance by command prompt or start.bat then press Ctrl+C.
Registering CQ as a Windows service:
To register your CQ instance as a service, follow the below steps:
- Go to your installation folder and navigate to “\crx-quickstart\opt\helpers” and edit instsrv.bat file.
- Search for cq_runmode property; if you want to register an Author instance as service then give cq_runmodes=”author” or
if you want to register publish instance as service then provide cq_runmode=”publish”.
- Search for cq_port property and modify accordingly with the port your instance is running.
- Open command prompt (Run as Administrator) go to “<author/publish>\crx-quickstart\opt\helpers” and type “instsrv.bat cqauthor” for author and “”instsrv.bat cqpublish” for publish.
- Go to run mode (windows key+R) and type “services.msc”, you should see a services window and find cqauthor and cqpublish services.
Port Management:
If you want to change port of your CQ instance, follow the below steps:
- Modify the name of the CQ quickstart jar file and add the port number of your choice.
- Edit start.bat file and modify “cq_port” with the port number of your choice.
- Edit instsrv.bat file and modify “cq_port” with the port number of your choice.
- Restart server and your CQ instance will be running on updated port number.
Let me know if any questions. Thanks!
Leave a reply to Yogesh Cancel reply