Rate This Document
Findability
Accuracy
Completeness
Readability

Installing FastDB by Compiling Source Code

  1. Download the FastDB source package.
    1. Download the FastDB source package using your local browser.

      Download address: http://www.garret.ru/fastdb-3.76.tar.gz

    2. Copy the source package to the /home directory on the server.

    If the server is connected to the Internet, you can run the wget command on the server to download the source package.

    cd /home
    wget http://www.garret.ru/fastdb-3.76.tar.gz
  2. Go to the /home directory.
    cd /home/
  3. Decompress the FastDB installation package.
    tar -xvf fastdb-3.76.tar.gz
  4. Go to the fastdb directory.
    cd fastdb
  5. Perform the compilation.
    ./configure --prefix=/opt/fastdb --build=arm-linux

    PREFIX=PATH specifies the FastDB installation directory.

  6. Perform the compilation and installation.
    make -j64

    • In the command, -j 64 can make full use of the multi-core feature of the CPUs to accelerate the compilation. The number following -j indicates the number of CPU cores. You can run the cat /proc/cpuinfo | grep processor | wc -l command to query the number of CPU cores. The value specified must be equal to or less than the number of CPU cores.
    • If the error message "testtimeseries.cpp:70:53: error: call of overloaded 'fmin(float&, float&)' is ambiguous" is displayed during compilation and installation, see make error.
  7. Perform the installation.
    make install

  8. View the installation directory.
    ll /opt/fastdb
    ll /opt/fastdb/bin