NuoDb安装

Installing NuoDB on Linux

You must have Java JRE 1.7 or 1.8 installed.

**Caution: **Be sure to read Notes on Using Transparent Huge Pages before you install NuoDB. THP causes a problem for NuoDB memory management and must be disabled.

The default Linux installation directory is /opt/nuodb.

Using the RedHat Package Manager to Install NuoDB

The following instructions are for installing NuoDB on Linux using the RedHat Package Manager (RPM). To install NuoDB in a non-default location on Linux, follow the instructions in Using a Linux tar File to Install NuoDB.

  • To install the Community Edition:

    If you have a NuoDB release prior to 2.3.1 and you are installing the Community Edition,you must remove the previously installed release of NuoDB. The uninstallation process will not remove any archives, log files, or modifications in /opt/nuodb/etc/default.properties. See Uninstalling NuoDB for more information.

    Run the RedHat Package Manager and specify the NuoDB package. Replace n.n.n.n with the NuoDB version number in the .rpm filename:

    $sudo rpm --install nuodb-ce-n.n.n.n.x86_64.rpm``

  • For a new Professional or Enterprise Edition installation:

    Run the RedHat Package Manager and specify the NuoDB package. Replace n.n.n.n with the NuoDB version number in the .rpm filename:

    $sudo rpm --install nuodb-n.n.n.n.x86_64.rpm``

  • To upgrade a Professional or Enterprise Edition installation:

    Do not uninstall the older version. Run the RedHat Package Manager and specify the NuoDB package. Replace n.n.n.n with the NuoDB version number in the .rpm filename:

    $sudo rpm --upgrade nuodb-n.n.n.n.x86_64.rpm``

During installation, you might get a warning such as one of the following:

  • Unable to use the previous group id used by nuodb
  • Unable to use the previous user id used by nuodb

After installation, add the NuoDB bin directory to your PATH environment variable. For example, if you installed in the default location, add /opt/nuodb/bin.

See Resolving Warnings About Previously Used NuoDB IDs to obtain further instructions.

你可能感兴趣的:(NuoDb安装)