Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to setup AEM on a ubuntu VM for a POC of website

Heena91
Level 3
Level 3

Hi All,

 

Currently I am trying to setup an AEM website on a ubuntu VM machine. What steps I need to follow for doing this:
1. I have Apache tomcat installed on port 8080
2. Apache httpd server on port 80 (for dispatcher) Not sure how to setup this. Did not find proper instruction for setting up dispatcher using Apache httpd on Linux. (Where I can download dispatcher file, Do I need to request dispatcher file from Adobe for Linux??)
3. AEM 6.5 standalone install jar file.
 
Thanks in Advance!
 
1 Accepted Solution
Singaiah_Chintalapudi
Correct answer by
Community Advisor
Community Advisor

My below articles will give you an overview of the setup:

 

Installing AEM:

https://chintalapudi4.medium.com/installing-aem-as-a-service-linux-centos-7-x-7d879259747d

 

Setting up Dispatcher: Try using docker for easy setup but you'll get an idea from this article if you want to setup dispatcher by itself.

 

https://chintalapudi4.medium.com/setting-up-dispatcher-2-0-on-docker-centos-7-x-e4033bb5fba7

View solution in original post

5 Replies
Singaiah_Chintalapudi
Correct answer by
Community Advisor
Community Advisor

My below articles will give you an overview of the setup:

 

Installing AEM:

https://chintalapudi4.medium.com/installing-aem-as-a-service-linux-centos-7-x-7d879259747d

 

Setting up Dispatcher: Try using docker for easy setup but you'll get an idea from this article if you want to setup dispatcher by itself.

 

https://chintalapudi4.medium.com/setting-up-dispatcher-2-0-on-docker-centos-7-x-e4033bb5fba7

View solution in original post

Heena91
Level 3
Level 3

Hi @Singaiah_Chintalapudi 

 

Thanks for the reply, I have below queries:

 

Running AEM as service is fine but first we want to to know how to install AEM on ubuntu server using quickstart.jar file
 
To run AEM as service, we have to run AEM first, Our requirement is how to install AEM on ubuntu server using quickstrat.jar
 
Getting Below error msg while running jar on server:
aem@aemserver-virtual-machine:~$ java -XX:MaxPermSize=256m -Xmx1024M -jar /mnt/c                                                                                                                                                             rx/author/aem-author-p4502.jar
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was                                                                                                                                                              removed in 8.0
Picked up _JAVA_OPTIONS: -Xmx1130m
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork argume                                                                                                                                                             nts=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 1004 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename '/mnt/crx/author/aem-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename aem-author-p4502.ja                                                                                                                                                             r
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to /home/aem/crx-quickstart/logs/stdout.log
Redirecting stderr to /home/aem/crx-quickstart/logs/stderr.log
Press CTRL-C to shutdown the Quickstart server...
 
 
Thanks
Singaiah_Chintalapudi
Community Advisor
Community Advisor
The article briefly talks about installing the AEM server first and this is straight forward before configuring it as a service as well in one of its section. What version of Java are you using and the AEM version?
Singaiah_Chintalapudi
Community Advisor
Community Advisor
This is just a notification since Java 8 removed the MaxPermSize and this is expected and should work fine. Also, were you able to login to the AEM server after startup? Your server was starting successfully but throwing that warning since its removed since Java 8.