Ubuntu下iperf的安装
下载网址:https://iperf.fr/iperf-download.php#ubuntu
64位机子:
Ubuntu 64 bits / Debian 64 bits / Mint 64 bits (AMD64) :
sudo apt-get remove iperf3 libiperf0
wget https://iperf.fr/download/ubuntu/libiperf0_3.1.3-1_amd64.deb
wget https://iperf.fr/download/ubuntu/iperf3_3.1.3-1_amd64.deb
(也可前往浏览器下载,下载后的文件保存在Downloads中)
cd ./Downloads
sudo dpkg -i libiperf0_3.1.3-1_amd64.deb iperf3_3.1.3-1_amd64.deb
(可能出现问题, dpkg: error: dpkg status database is locked by another process
解决办法:sudo rm -rf /var/lib/dpkg/lock)
rm libiperf0_3.1.3-1_amd64.deb iperf3_3.1.3-1_amd64.deb
Ubuntu下jperf的安装
jperf是iperf可视化界面
在Linux下安装jperf,下载jperf-2.0.2,下载网址:http://www.softpedia.com/get/Network-Tools/Network-Testing/JPerf.shtml
在Linux下,下载到了Downloads。双击,将jperf-2.0.2拉出
cd ./Downloads/jperf-2.0.2
1。先安装:JDK(步骤在Linux之Ubuntu里面)
2。chmod u+x jperf.sh
3. sh jperf.sh