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 service will be automatically started when the host is rebooted.

  • The NuoDB AP service will be managed by your system management facility (systemctl, service, etc.)

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

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

sudo rpm --install ~/Downloads/nuodb-4.2.0.1.x86_64.rpm

For information on adding Enterprise Edition functionality, see Obtaining and Installing an Enterprise Edition 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 NuoDB DEB and RPM packages 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
export PATH=$NUODB_HOME/bin:$PATH