How to install AEM author or Publisher server with or without Sample content through command line

Statement - Install AEM author or publisher without sample content

Pre-requisite - 
                     -  JRE 1.8 setup is done
                     -  AEM 5.6.1 Quickstart jar file is downloaded
                     -  Windows 
                   
Solution - 
  1. Make sure JRE 1.8 is installed and verified through command prompt - Java -version
  2. Create a folder author or publisher & copy the downloaded AEM quickstart jar file to this folder
  3. Rename the AEM Jar file aem-author-p4502.jar or aem-publish-p5403.jar
  4. Use the below command for the Author/publish server installation with No sample content
  5. Author instance installation command:
             java -server -XX:MaxPermSize=256m -Xmx1024M -jar aem-author-p4502.jar -r author,                             nosamplecontent
     6. Publish instance installation command:
            java -server -XX:MaxPermSize=256m -Xmx1024M -jar aem-publish-p4503.jar -r publish,                            nosamplecontent

Where 
          -  Author and Publish is out of the box run modes provided by AEM
          -  Cannot use both run modes at the same time for the installation.
          -  Combine author with Samplecontent or Nosamplecontent but not both

          -  Combine publish with Samplecontent or Nosamplecontent but not both
       

No comments:

Post a Comment