Using the Debian Package Utility to Install NuoDB

The NuoDB DEB package can be installed on an Ubuntu or other Debian-based system using the Debian Package Utility (dpkg). You must have root privileges on the host in order to install the NuoDB DEB 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_amd64.deb file into your ~/Downloads directory. To install it on your system, run the command:

sudo dpkg -i ~/Downloads/nuodb_4.2.0.1_amd64.deb

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