by Dheeraj Khanna
When you install a new instance of Adobe Experience Manager a bunch of content is provided as Sample content. By sample content I am referring to the Geometrixx sites (Geometrixx, Geometrixx Mobile, Geometrixx Outdoors and Geometrixx Outdoors Mobile) that are provided as samples and references. They can be removed by uninstalling packages available in AEM. It is also a recommendation to Uninstall example content and users as part of the Adobe Experience Manager 5.6.1 Security Checklist specially in your Production environment.
The good part is that now we also have a run mode option for installing or not installing the sample content while installing CQ from command line. These modes allow you to control the use of sample content. The sample content is defined before the quickstart is built and can include packages, configurations, etc:
Installation run modes are provided out-of-the-box:
Environment in which I have successfully used it had:
- Oracle Linux
- java version “1.6.0_65”
- 64 bit VM
These are two pairs of mutually exclusive run modes; for example, you can:
- define either author or publish, not both at the same time
- combine author with either samplecontent or nosamplecontent (but not both)
Command line installation:
- You will need to configure your -XX:MaxPermSize and Xmx based on 32bit or 64bit VM and how much memory you can use.
- I have renamed my CQ 561 jar to cq56-author-p4502.jar for author instance and cq56-publish-p4503.jar for publish instance.
Author instance installation command:
java -server -XX:MaxPermSize=256m -Xmx1024M -jar cq56-author-p4502.jar -r author, nosamplecontent
Publish instance installation command:
java -server -XX:MaxPermSize=256m -Xmx1024M -jar cq56-publish-p4503.jar -r publish, nosamplecontent
Once CQ gets installed you verify that none of the Geometrixx related content should have got installed.