How to Install multiple instances of confluence on same machine-( Linux )

Is that possible to install two instances of confluence or jira on same Linux os

4 answers

1 accepted

6 votes
Accepted answer

Hey Justin,

You can download the Standalone (TAR.GZ Archive) from here (under the Linux tab): https://www.atlassian.com/software/confluence/download . Extract the standalone package in 2 different locations, then navigate to both their ConfluenceInstallationDirectory/conf/ folders respectively. Modify both their server.xml and make sure that the Server port and Connector port are *unique:



<Server port="8421" shutdown="SHUTDOWN" debug="0">
    <Service name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8420" minProcessors="5"
                   maxProcessors="75"
                   enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8"/>

For the example above, Confluence runs on Server Port of 8421, and Connector port of 8420. Make sure those are unique (not shared by any other service in the same system, and definitely not shared by the other Confluence instance).

Then navigate to ConfluenceInstallationDirectory/confluence/WEB-INF/classes and modify confluence-init.properties. Make sure that the confluence.home for each instance is pointed to a unique location. After that, you can startup both instances via ConfluenceInstallationDirectory/bin/start-confluence.sh.

Hope that helps!

Thanks and Regards,
Foogie

Yes,

You will have to modify the server.xml on tomcat to use different ports.

Make sure to modify the servershut down port as well to start/stop the instance you want.

cheers

Thank you all ,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 12 hours ago in Featured Groups

Are you managing your users efficiently?

Hi everyone, I am Marek, a Senior Product Manager for Crowd   Server and Data Center   here at Atlassian. I would like to spark a discussion about challenges you have with managing use...

84 views 1 2
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you