使用Linux Tar文件安装NOODB

Extracting NuoDB from an installation tar file is useful in the following situations:

  • 您希望在非默认位置安装Nuodb。

  • 您在安装NOODB的系统上没有root权限。

  • 您不想使用包安装程序。

When you install NuoDB from a tar file then NuoDB is not automatically started when the system comes up. After each system restart, you must manually start NuoDB services.

To use a tar file to install NuoDB:

  1. If you are installing into an already existing NuoDB installation directory, back up any changes to your etc/nuodb.config file. This file will be overwritten.

  2. Unpack the tar file from the directory to which it was downloaded. In the command line in the example below, you would replace n.n.n.n with the NuoDB version number in the filename you are operating on.

  3. Set the NUODB_HOME environment variable.

  4. Update your PATH environment variable.

In the following Community Edition example, you would replace install_dir with the directory in which you are installing NuoDB, (for example the /opt directory):

$ cd install_dir
$ tar xzvf nuodb-ce-[.var]__n.n.n.n__.linux.x86_64.tar.gz
$ export NUODB_HOME=install_dir/nuodb-ce-[.var]__n.n.n.n__.linux.x86_64
$ export PATH=${NUODB_HOME}/bin:${PATH}

有关添加Enterprise Edition功能的信息,请参阅 获取和安装企业版许可证.