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

Obtaining the Source Code

You can download the Sysbench source package and decompress it by running the wget command or from GitHub. The following procedure uses Sysbench 0.5 as an example.

In the following commands, 0.5 indicates the Sysbench version. When installing another version, replace 0.5 with the actual version.

  1. Download the Sysbench source package and save it to the /home directory.
    1
    2
    3
    cd /home
    wget https://github.com/akopytov/sysbench/archive/0.5.zip --no-check-certificate
    mv 0.5.zip sysbench-0.5.zip
    

    You can also download the source code using a browser and upload it to the /home directory on the server. URL: https://github.com/akopytov/sysbench/tree/0.5

    1. Click Code to open the drop-down menu.
    2. Click Download ZIP to download the Sysbench source package.

  2. Decompress the Sysbench source package.
    1
    unzip sysbench-0.5.zip