Installing & configuring NavDB

 

About the NavDB Installation Directories

  • A typical NavDB installation has a binaries path and a home path for data/log files. You can put both these paths under the same installation path, e.g.: /opt/navdb (on Linux/Mac) or C:\Installed\NavDB on Windows.

  • The home directory holds files and directories created by the NavDB Server:

    • Data files: currently only datafile.dbf

    • Log files: each server and client program has its own log file

    • Export files: the path where export files are created and imported from.

    • Journal files: to be used for crash recovery.

    • Script files: scripted commands run from the REPL tool.

    • PID file: specifies the current process ID of the running NavDB Server process.

 

Install on Linux/Mac

  • An example directory tree:

    /opt/navdb
    /opt/navdb/home   <-- The NAVDB_HOME directory
    /opt/navdb/bin    <-- The extracted binaries directory
  • Create the root directory (e.g. /opt/navdb).

  • Extract the binaries (e.g. to /opt/navdb/bin).

  • Create the home directory

 

Set the NAVDB_HOME environment variable

  • Set NAVDB_HOME in a script (typically a profile script).

 

Run NavDB

From the extracted binaries path:

cd server
./navdb_server

 

Install on Windows

  • An example directory tree:

    C:\Installed\NavDB
    C:\Installed\NavDB\home   <-- The NAVDB_HOME directory
    C:\Installed\NavDB\bin    <-- The extracted binaries directory
  • Create the root directory (e.g. C:\Installed\NavDB).

  • Extract the binaries (e.g. to C:\Installed\NavDB\bin).

  • Create the home directory

 

Set the NAVDB_HOME environment variable

  • Open the Control Panel.

  • Open System Properties (in Windows 10 do this by going to System → Advanced system settings).

  • Under the Advanced tab click on the Environment Variables button.

  • Set the NAVDB_HOME variable as either a user or system variable.

 

Run NavDB

  • Go to the folder under the extracted binaries.

  • Go to the server folder.

  • Run: navdb_server.exe