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

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the main program installation directory.
    cd /path/to/elk
  3. Decompress the installation package.
    tar xvf elk-8.4.30.tgz
  4. Go to the directory generated after the decompression.
    cd elk-8.4.30
  5. Install ELK.
    ./setup

    Type 2 and press Enter.

  6. Modify the make.inc file.
    1. Open make.inc.
      vi make.inc
    2. Press i to enter the insert mode and modify the file as follows:
      • Add -lfftw3 to the end of lines 4 and 6.

      • Comment out line 55.
      • Uncomment line 61.

        After performing 6.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  7. Perform the compilation and installation.
    make all
  8. Load the environment variable.
    export PATH=/path/to/elk/elk-8.4.30/src:$PATH