Tuesday, January 17, 2012

Confluence on OS X

Wasted the morning figuring out how to install Confluence on OS X and getting it to work as a daemon. In case I ever need it again:

  1. How to start/stop Confluence as a daemon. Not sure why it's not in the 4.x documentation.
  2. Exposing Confluence on port 80 - here's the short version in case it disappears:
    1. Create the following configuration file for Apache2 in /private/etc/apache2/other:
      <Proxy *>
      Order deny,allow
      Allow from all
      </Proxy>
      
      ProxyRequests      Off
      ProxyPreserveHost  On
      ProxyPass          /   http://localhost:8090/
      ProxyPassReverse   /   http://localhost:8090/
      
    2. Start (or restart) Apache. Go to System Preferences -> Sharing. Tick “Web Sharing”. Without the file above, all you'll see on http://localhost is a page saying "It works!"

This is working with Confluence 4.1.3 and on OS X 10.7.2.

I shudder to think of the amount of hair pulling I'd have went through if I'd tried to get this set up without Google (or equivalent).

No comments: