Installing CQ On Unix
Installing CQ
Installing CQ
Installing CQ on Unix Based System
1) Install JDK and set up Java Home
- http://www.java.com/en/download/help/download_options.xml
- http://docs.oracle.com/cd/E19182-01/821-0917/inst_set_jdk_korn_bash_t/index.html
2) Get CQ jar file from Adobe
3) Install CQ as Author
- Open terminal
- Rename jar file as cq5-author-p4502 (<anything>-<mode>-p<port number>.jar)
- Use command java -jar cq5-author-p4502 -unpack
- Once file unpacked go to crx-quickstart/bin folder
- Open start script and make sure that CQ_RUNMODE='author'
- start CQ using start script. Run command ./start
- This is install CQ as author on port 4502 on that server.
4) Install CQ as publish
- Open terminal
- Rename jar file as cq5-publish-p4503 (<anything>-<mode>-p<port number>.jar)
- Use command java -jar cq5-publish-p4503 -unpack
- Once file unpacked go to crx-quickstart/bin folder
- Open start script and make sure that CQ_RUNMODE='publish'
- start CQ using start script. Run command ./start
- This is install CQ as publish on port 4503 on that server.
5) Change default JVM param
- Open to /crx-quickstart/bin/start in any editor of your choice
- Search for "set CQ_JVM_OPTS"
- Change JVM option based on your need
- You can also set run mode using CQ_JVM_OPTS=-Dsling.run.modes=publish,dev
JVM_PARAM Variable has following meaning
6) Stop CQ
- You can stop CQ using stop script.Run stop script as ./stop