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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 8 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

36 views 0 4
Read article

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