Installing httpress
- Obtain the httpress source code.
- Download the source code from the local browser.
Download address: https://github.com/yarosla/httpress/archive/1.1.0.tar.gz
- 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.1cd /home
1wget https://github.com/yarosla/httpress/archive/1.1.0.tar.gz --no-check-certificate -O httpress-1.1.0.tar.gz
- Download the source code from the local browser.
- Decompress the source package.
1tar -zxvf httpress-1.1.0.tar.gz
- Perform compilation and installation.
1cd /home/httpress-1.1.0
1make -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.
- Configure the environment variables.
1echo $PATH
1cp /home/httpress-1.1.0/bin/Release/httpress /usr/bin/
- Check the httpress version.
- Method 1:
1httpress -version
- Method 2:
which httpress
/usr/bin/httpress -version
- Method 1:
Parent topic: httpress Test Guide