Install ownCloud on a Mac Mini Server

So, I now have my own cloud storage solution!  I installed an ownCloud server on my colocated Mac Mini in Atlanta today.

The install process is super easy on a mac:

  1. Create a website using server
    • use https if possible
    • allow .htaccess in advanced settings
  2. Download ownCloud server for mac (
  3. Unzip and untar the package into your website’s directory
  4. chown to your web user: 
    • chown -R _www:_www /Library/Server/Web/Data/Sites/<nameofsite>.com
  5. Create a Datastore (unaccessible from the web)
  6. chown to your web user: 
    • chown -R _www:_www/Library/Server/Web/Data/Sites/cloud_datastore
  7. Create a mysql database for ownCloud
  8. Visit your ownCloud installation via the web interface
  9. Setup the initial settings
    • admin user
    • datastore location
    • mysql database information


Cool things about it:

The web interface is SLICK! And it comes with a calendaring tool and contact syncer.  WOW.


Here’s a detailed guide that doesn’t include setting up the database:

Bad things about it:

The iPhone app is 99 cents!

Leave a Reply

Responses to “Install ownCloud on a Mac Mini Server”

  1. Trying to chown and I keep getting this. I am pretty green to Mac Server and going this deep. Any help would be appreciated.

    server:~ TBI$ chown -R_www:_www/Library/Server/Web/Data/Site/
    chown: illegal option — _
    usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file …
    chown [-fhv] [-R [-H | -L | -P]] :group file …

  2. These are instructions for the installation on OwnCloud ( … l#mac-os-x): Install MAMP and run it.
    Go to ‘Preferences ? Apache’ and set ‘Document Root’ to /Users//Sites, so your Sites directory will be used as Apache root.
    Download ownCloud Move it to ~/Sites and extract it: tar xfpj owncloud-4.5.tar.bz2 Now you can set it up by going to http://localhost:8888/owncloud

    If I use the BitNami OwnCloud Stack for installation, it seems to suggest the Stack will be installed in the Applications folder?
    What are the merits/demerits of installing it in a particular folder ?

    • Installing in a particular folder lets you separate storage files from the owncloud files.. Also, installing in a separate folder lets you use a different domain/alias for hosting. I don’t have MAMP installed, I’m using the default Server Apache instance and it works fine

      • Ben, regarding your instructions: How do you create the MySQL database for own cloud? Thank you!

        • Stephan,

          You can use Macports or Homebrew to install MySQL. MySQL’s website also has an install package for MySQL to download and install.