CQ5.6 Installation? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ChrisTr3

Hi Mahesh,

You can find some installation instructions as well as a lot more information on http://docs.day.com .

Specifically for installation it would be:  http://dev.day.com/docs/en/cq/current/deploying/installing_cq.html#Installing%2520CQ

Chris

15 replies

ChrisTr3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Mahesh,

You can find some installation instructions as well as a lot more information on http://docs.day.com .

Specifically for installation it would be:  http://dev.day.com/docs/en/cq/current/deploying/installing_cq.html#Installing%2520CQ

Chris

Level 3
October 16, 2015

Thanks for you reply chris.

I have followed the instructions aswell but while installing the publish instance it is taking 4502 port after renaming the jar with 4503.

Changed the start script aswell on publish instance.

Let me know how to resolve it.

 

Thanks in advance.

Mahesh

Level 6
October 16, 2015

In some windows system, when you copy-paste the file name (that is common way of renaming it when you read the manual), you get double .jar extension so the file name of the jar actually is cq5-publish-p4503.jar.jar. And then it will start as an author instance.

Make sure that the file name is that.

I actually don't use that method to install anymore. I use the expand command, java -jar cq5-publish-p4503.jar -unpack and then alter the start.bat or start.sh files so that they correspond to what I need.

Edit: Once you have installed an instance, it can't change into the other type of instance. An author is an author, even if you change port and type.

/Ove

Adobe Employee
October 16, 2015

Hello Mahesh,

It looks like you are starting CQ by executing a start-up script from /crx-quickstart/bin directory. Therefore you need to edit the script and change an argument for TCP port used for stop and status scripts: CQ_PORT=4503.

Regards,

Level 3
October 16, 2015

You are right.

 

I checked for that also .jar.jar but i am sure it is with only one extension.

Level 3
October 16, 2015

Thanks i got it for windows.

 

But for linux it is taking diff port.

Level 6
October 16, 2015

Q: You are changing the .sh file and not the .bat?

Q: You don't have the CQ_PORT defined as a system parameter? That will then take precedence over what you type in the bat/sh.

Level 3
October 16, 2015

First the version is CQ5.6

Let me explain the process what am following for publish.

1)Am using the below command to install

java -XX:MaxPermSize=256m -Xmx1024M -jar cq5-publish-p4503.jar

2)Am getting this after executing the above command

Option '-r' set to 'publish' from filename cq5.6-publish-p4503.jar
Setting 'sling.run.modes' to 'publish' from filename.
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to /root/CQ5/publish/./crx-quickstart/logs/stdout.log
Redirecting stderr to /root/CQ5/publish/./crx-quickstart/logs/stderr.log
Press CTRL-C to shutdown the Quickstart server...


After that it is starting automatically http://localhost:4503/content/geometrixx-outdoors-mobile/en.html

3) Next am unpacking using this java -jar cq5-publish-p4503.jar -unpack

4)Later changing the port no in start script for publish instance to 4503 and runmode is publish.

5) After changing that am executing the start script of publish instance , it is starting with 4502 port.

Level 6
October 16, 2015

Well, you should use ONE of the ways of installing a publisher. Either you unpack, change the script accordingly and start the server for the first time and that will create all the repositories and data files and stuff in the correct publish instance way. Or you start it with quickstart as in step 1 and that will create all the repositories and data files and stuff in the correct publish instance way, alter the start scripts and run, but don't re-unpack.

Level 3
October 16, 2015

I tried both ways as you said

1) I did unpack and changed the start script(with 4503 and publish) and executed the start script of publish instance.

It is starting with 4502 port only.

2)Second is executed java -XX...........

and changed the script of quickstart for 4503 and executed.

it is starting with 4503.

But my question is what is the need of start script.

When i change the start script of publish instance with 4503 it is taking 4502 port . why?

Thanks for helping