Using the Command Line to Install NuoDB on Mac OS X

Using the command line to install NuoDB on Mac OS X lets you use all default values for the installation. Enter a command such as the following. Replace n.n.n.n with the NuoDB version that is in the download package filename. For example:

$ sudo installer -pkg ~/Downloads/nuodb-n.n.n.n.osx.x86_64.pkg -target / 

For the Community Edition, the download package filename is nuodb-ce-n.n.n.n.osx.x86_64.pkg.

The OS X Gatekeeper feature may cause an Unidentified Developer error to be thrown when downloading or installing applications that were not purchased through the Mac app store. If you experience this behavior do the following to resolve the error:

  1. Go to: System Preferences | Security and Privacy | General.
  2. Under Allow applications downloaded from, select Anywhere.

After installation is complete, perform the following two steps. These steps set up a directory that NuoDB can use to place core files in the unusual situation in which a NuoDB transaction engine or storage manager unexpectedly fails. Core files can be helpful to NuoDB customer support to help diagnose problems.

  1. Invoke the Mac OS X ulimit command to set the use of system-wide resources to unlimited. For example, you can generate a launchd.conf file, which sets ulimit to unlimited by default:

    echo "limit core unlimited" | sudo tee -a /etc/launchd.conf

    If you started NuoDB services as part of the installation, then you must restart NuoDB services if you generate a launchd.conf file as in this example. See "Managing NuoDB Services on Mac OS X" on page 1. The effect of performing this step is only on those services that you start after you create the launchd.conf file.

  2. Create a /cores directory and make sure this directory is writable. NuoDB places any core files in the /cores directory,