Rate This Document
Findability
Accuracy
Completeness
Readability

Installing httpress

  1. Obtain the httpress source code.
    1. Download the source code from the local browser.

      Download address: https://github.com/yarosla/httpress/archive/1.1.0.tar.gz

    2. Upload the source package to the /home directory on the server.
      If the server can access the network, run the wget command to download the source code.
      1
      cd /home
      
      1
      wget https://github.com/yarosla/httpress/archive/1.1.0.tar.gz --no-check-certificate -O httpress-1.1.0.tar.gz
      
  2. Decompress the source package.
    1
    tar -zxvf httpress-1.1.0.tar.gz
    
  3. Perform compilation and installation.
    1
    cd /home/httpress-1.1.0
    
    1
    make -j60
    

    -j60: Make full use of the multi-core CPU to accelerate compilation.

    You can run the lscpu command to query the number of CPU cores.

  4. Configure the environment variables.
    1
    echo $PATH
    
    1
    cp /home/httpress-1.1.0/bin/Release/httpress /usr/bin/
    
  5. Check the httpress version.
    • Method 1:
      1
      httpress -version
      

    • Method 2:
      which httpress
      /usr/bin/httpress -version