2. If you are configuring a 64-bit Windows server, replace all instances of prunsrv with one of the following commands, according to your operating system:
prunsrv_amd64
prunsrv_ia64
3. This command invokes the appropriate script that starts the Windows service daemon in 64-bit Java instead of 32-bit Java.
4. To prevent the process from forking into more than one process, increase the maximum heap size and the PermGen JVM parameters. Locate the set jvm_options command and set the value as follows:
set jvm_options=-XX:MaxPermSize=256M;-Xmx1792m
5. Open Command Prompt, change the current directory to the crx-quickstart/opt/helpers folder of the AEM installation, and enter the following command to create the service:
instsrv.bat cq5
6. To verify that the service is created, open Services in the Administrative Tools control panel or type start services.msc in Command Prompt. The cq5 service appears in the list.
Start the service by doing one of the following:
1. In the Services control panel, click cq5 and click Start.
2. In the command line, type net start cq5.
3. Windows indicates that the service is running. AEM starts and the prunsrv executable appears in Task Manager. In your web browser, navigate to AEM, for example, http://localhost:4502 to start using AEM.
3. Windows indicates that the service is running. AEM starts and the prunsrv executable appears in Task Manager. In your web browser, navigate to AEM, for example, http://localhost:4502 to start using AEM.
Note:
The property values in the instsrv.bat file are used when creating the Windows service. If you edit the property values in instsrv.bat, you must uninstall and then reinstall the service.
Note:
When installing AEM as service, you must provide the absolute path for the logs directory in com.adobe.xmp.worker.files.ncomm.XMPFilesNComm from Configuration Manager.
How to Uninstall CQ5 service from the window system
To uninstall the service, either click Stop in the Services control panel or in the command line, navigate to the folder and type instsrv.bat -uninstall cq5. The service gets removed from the list in the Services control panel or from the list in the command line when you type net start.
References:
https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/custom-standalone-install.html
The property values in the instsrv.bat file are used when creating the Windows service. If you edit the property values in instsrv.bat, you must uninstall and then reinstall the service.
Note:
When installing AEM as service, you must provide the absolute path for the logs directory in com.adobe.xmp.worker.files.ncomm.XMPFilesNComm from Configuration Manager.
How to Uninstall CQ5 service from the window system
To uninstall the service, either click Stop in the Services control panel or in the command line, navigate to the folder and type instsrv.bat -uninstall cq5. The service gets removed from the list in the Services control panel or from the list in the command line when you type net start.
References:
https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/custom-standalone-install.html
No comments:
Post a Comment
If you have any doubts or questions, please let us know.