Using the RedHat Package Manager to Install or Upgrade NuoDB

The NuoDB RPM package can be installed on a Red Hat Enterprise Linux or CentOS system using the Red Hat Package Manager (rpm). You must have root privileges on the host in order to install the NuoDB RPM package.

  • It will create a separate nuodb user and group ID.

  • All processes will run under the nuodb user and group ID.

  • NuoDB will be installed in the /opt/nuodb directory.

  • Configuration and logging will be placed in system locations such as /etc/nuodb and /var/log/nuodb.

  • The NuoDB Admin Process (AP) service will be automatically started when the host is rebooted.

  • The NuoDB AP service will be managed by your system management facility such as systemctl or service.

NuoDB provides both a SystemD unit file and a SysV init script to manage the AP service.

Suppose you download the nuodb- file into your ~/Downloads directory. To install it on your system, run the command:

sudo rpm --install ~/Downloads/nuodb-

For information on adding Enterprise Edition functionality, see Obtain and Install a Product License.

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

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

It is useful to add the /opt/nuodb/bin directory to your $PATH, or to the path of the nuodb account.

Throughout this documentation we will often use the variable $NUODB_HOME to refer to to installation location of NuoDB on the system. For the NuoDB RPM package this will always be /opt/nuodb, but you may prefer to set this variable to make copying commands more straightforward. If so you, add lines like these to your ~/.bashrc file:

export NUODB_HOME=/opt/nuodb