Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Justin Mathew January 6, 2013

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

4 answers

1 accepted

6 votes
Answer accepted
fsim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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

2 votes
parthiban subramaniam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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

2 votes
Christian Czaia [Decadis AG]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013
0 votes
Justin Mathew January 13, 2013

Thank you all ,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events