我要评分
获取效率
正确性
完整性
易理解

Environment Settings

Before setting environment variables, make sure that RocksDB 6.10.2 ldb has been installed by following instructions in RocksDB Installation Guide.

  1. Open the configuration file.
    vim /etc/profile
  2. Add the following command to the end of the file:
    export PATH=$PATH:/usr/local/rocksdb/tools

    The path in the command is the actual installation path of the tool.

  3. Make the configuration take effect.
    source /etc/profile
  4. Verify the configuration.
    ldb