Created
December 11, 2015 09:09
-
-
Save algotrader-dotcom/64977810de4d6cf16485 to your computer and use it in GitHub Desktop.
Install CQ5 with basic authention
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Intall | |
http://www.praveenmodi.com/how-to-install-adobe-cq-5-6-aem-5-6-on-amazon-aws/ | |
Install Java 1.7 | |
AEM 5.6.x required Java 1.7. Verify if the machine has the right version of Java | |
$java -version | |
If Java 1.7 is not available, you can install it using the following command | |
sudo yum install java-1.7.0-openjdk | |
Once the Java is install, configure it as a default version of Java for your instance: | |
sudo alternatives --config java | |
This will show all the version of Java on your instance, so choose Java 1.7. | |
Install the CQ jar file | |
Use the following command to install CQ Jar file: | |
$java -XX:MaxPermSize=512m -Xmx2048M -jar cq-author-4502.jar | |
Update the start script so it preserves the memory setting when you restart CQ next time | |
$vi /crx-quickstart/bin/start | |
Change the CQ_JVM_OPTS variable value to: | |
CQ_JVM_OPTS='-server -Xmx2048m -XX:MaxPermSize=512M' | |
Press ‘Esc’ and than type :wq to save the file. | |
Start CQ | |
Once the start script is updated, start the CQ server | |
$sudo ./start.sh | |
Keep an eye on the standard output while CQ is starting up. You can tail the output using: | |
$tail -f /crx-quickstart/logs/stdout.log | |
Check the error logs: /crx-quickstart/logs/error.log | |
It will take few minutes for CQ to come up.You can access the authoring console using http://localhost:4502/ | |
2. Reverse proxy with basic auth | |
RequestHeader unset Authorization | |
http://stackoverflow.com/questions/26290330/cq-basic-authentication |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment