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
Answer accepted

Hey Justin,

You can download the Standalone (TAR.GZ Archive) from here (under the Linux tab): . 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"
                   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 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/

Hope that helps!

Thanks and Regards,


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.


Thank you all ,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

Managing Projects in Several Jiras at the Same Time

Have you ever noticed that fixing specific problems might be a door opener for a bigger challenge, affecting a wider audience? This was exactly the case when we, as a service company working with mul...

67 views 0 10
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