溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

如何進(jìn)行iPerf 測速軟件centos7安裝

發(fā)布時間:2021-09-26 15:08:42 來源:億速云 閱讀:350 作者:柒染 欄目:系統(tǒng)運(yùn)維

今天就跟大家聊聊有關(guān)如何進(jìn)行iPerf 測速軟件centos7安裝,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結(jié)了以下內(nèi)容,希望大家根據(jù)這篇文章可以有所收獲。

Iperf 是一個網(wǎng)絡(luò)性能測試工具。Iperf可以測試最大TCP和UDP帶寬性能,具有多種參數(shù)和UDP特性,可以根據(jù)需要調(diào)整,可以報告帶寬、延遲抖動和數(shù)據(jù)包丟失。
使用環(huán)境:VPS是centos7_64位系統(tǒng)標(biāo)準(zhǔn)安裝,如果提示沒有wget、rpm、yum命令請自行安裝,系統(tǒng)update的iperf是3.1.3版本,默認(rèn)安裝2.0

安裝iperf:
[root@fq ~]# wget https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm
--2020-03-01 11:10:00--  https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm
Resolving iperf.fr (iperf.fr)... 213.246.63.45, 2a00:c70:1:213:246:63:45:2
Connecting to iperf.fr (iperf.fr)|213.246.63.45|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78686 (77K) [application/x-redhat-package-manager]
Saving to: ‘iperf3-3.1.3-1.fc24.x86_64.rpm’

100%[=======================================>] 78,686       144KB/s   in 0.5s

2020-03-01 11:10:01 (144 KB/s) - ‘iperf3-3.1.3-1.fc24.x86_64.rpm’ saved [78686/78686]

[root@fq ~]# rpm -Uvh iperf3-3.1.3-1.fc24.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
1:iperf3-3.1.3-1.fc24              ################################# [100%]
[root@fq ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.cs.nctu.edu.tw

  • elrepo: mirror-hk.koddos.net

  • elrepo-kernel: mirror-hk.koddos.net

  • epel: fedora.cs.nctu.edu.tw

  • epel-debuginfo: fedora.cs.nctu.edu.tw

  • extras: mirror.upsi.edu.my

  • updates: mirror.its.sfu.ca
    Resolving Dependencies
    --> Running transaction check
    ---> Package iperf3.x86_64 0:3.1.3-1.fc24 will be updated
    ---> Package iperf3.x86_64 0:3.1.7-2.el7 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
Package          Arch             Version                  Repository      Size
=================================================================================
Updating:
iperf3           x86_64           3.1.7-2.el7              base            79 k

Transaction Summary
=================================================================================
Upgrade  1 Package

Total download size: 79 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
iperf3-3.1.7-2.el7.x86_64.rpm                             |  79 kB  00:00:00    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Updating   : iperf3-3.1.7-2.el7.x86_64                                     1/2
Cleanup    : iperf3-3.1.3-1.fc24.x86_64                                    2/2
Verifying  : iperf3-3.1.7-2.el7.x86_64                                     1/2
Verifying  : iperf3-3.1.3-1.fc24.x86_64                                    2/2

Updated:
iperf3.x86_64 0:3.1.7-2.el7

Complete!
[root@fq ~]# yum install iperf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.cs.nctu.edu.tw

  • elrepo: mirror-hk.koddos.net

  • elrepo-kernel: mirror-hk.koddos.net

  • epel: mirrors.aliyun.com

  • epel-debuginfo: mirrors.aliyun.com

  • extras: mirror.upsi.edu.my

  • updates: mirror.kku.ac.th
    Resolving Dependencies
    --> Running transaction check
    ---> Package iperf.x86_64 0:2.0.13-1.el7 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
Package         Arch             Version                   Repository      Size
=================================================================================
Installing:
iperf           x86_64           2.0.13-1.el7              epel            86 k

Transaction Summary
=================================================================================
Install  1 Package

Total download size: 86 k
Installed size: 185 k
Is this ok [y/d/N]: y
Downloading packages:
iperf-2.0.13-1.el7.x86_64.rpm                             |  86 kB  00:00:01    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : iperf-2.0.13-1.el7.x86_64                                     1/1
Verifying  : iperf-2.0.13-1.el7.x86_64                                     1/1

Installed:
iperf.x86_64 0:2.0.13-1.el7

Complete!
[root@fq ~]# iperf -v
iperf version 2.0.13 (21 Jan 2019) pthreads
[root@fq ~]# iperf -s -u

Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)

[  3] local 10.140.0.3 port 5001 connected with 182.120.21.91 port 64702
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0-60.3 sec  75.3 MBytes  10.5 Mbits/sec  15.785 ms 456497/510203 (89%)

如何進(jìn)行iPerf 測速軟件centos7安裝

看完上述內(nèi)容,你們對如何進(jìn)行iPerf 測速軟件centos7安裝有進(jìn)一步的了解嗎?如果還想了解更多知識或者相關(guān)內(nèi)容,請關(guān)注億速云行業(yè)資訊頻道,感謝大家的支持。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI