Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Installing Confuence on EC2 Red Hat

Robert Lauriston
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.
July 3, 2013

I installed atlassian-confluence-5.1.4-x64.bin on Red Hat 6.4 on EC2 using the Express Install option. Confluence is starting automatically wityout errors:

Jul 03, 2013 6:13:38 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
Jul 03, 2013 6:13:40 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
Jul 03, 2013 6:13:40 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
Jul 03, 2013 6:13:40 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
Jul 03, 2013 6:13:40 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8090
Jul 03, 2013 6:13:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3247 ms
Jul 03, 2013 6:13:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Standalone
Jul 03, 2013 6:13:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
2013-07-03 18:13:55,753 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.1.4 [build 4249 based on commit hash 84a11b3502ae79dd6028856f37ff89838963c1cc]
Jul 03, 2013 6:14:23 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
Jul 03, 2013 6:14:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 42855 ms

I've created a custom rule for port 8090 / 0.0.0.0/0 in the instance's security group, but I don't get any response at http://<public DNS name for instance>:8090. I know the public DNS name I'm using is correct since I can ssh to it.

Maybe I need to modify the Confluence base URL? How do I do that at the command line?

3 answers

1 accepted

2 votes
Answer accepted
Robert Lauriston
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.
July 3, 2013

I had to run system-config-firewall-tui to customize the Red Hat firewall to allow HTTP and tcp over port 8090.

0 votes
codelahoma October 27, 2013

Thanks for taking the time to post your solution.

0 votes
Robert Lauriston
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.
July 3, 2013

Some additional notes on this:

Installation on t1.micro failed because it was too small, started over with m1.small.

Before creating instance, create key pair so you have the locally stored portion of the key. and edit security group to enable ssh.

Once instance has initialized open a terminal.

cd to directory with .pem key file

ssh -i <file>.pem ec2-user@<public DNS name for EC2 instance>

sudo sh

yum install system-config-firewall-tui

system-config-firewall-tui

- select customize, enable tcp over port 8090

cd /tmp

Download the .bin file for the appropriate installer, e.g.:

wget www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.1.4-x64.bin&version=5.1.4&usertype=trial

Once download is complete, make executable and run:

chmod a+x atlassian-confluence-5.1.4-x64.bin

Run the installer:

./atlassian-confluence-5.1.4-x64.bin


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events