文档章节

Installing iperf on CentOS

天马行空的鱼
 天马行空的鱼
发布于 2017/09/07 14:21
字数 456
阅读 1.6K
收藏 0

「深度学习福利」大神带你进阶工程师,立即查看>>>

I ran yum install iperf to install the network bandwidth test tool Iperf on a CentOS 7 system, but was informed "No package iperf available."

When I checked the package repositories that were in use on another system that had iperf installed by using the command yum repolist, I found the following:

When I checked the repository that had been used for the installation of Iperf on that other system, I saw it was the epel repository.

You can use yum provides pkgname or yum whatprovides pkgname to see package information for pkgname and also the repository from which the package was obtained.

When I checked the repositories in use on the system where yum install iperf did not install iperf, I found it had only the default repositories and did not have the epel repository.

The Extra Packages for Enterprise Linux (EPEL) is a "community approved" repository, which is listed on the CentOS wiki under Available Repositories for Linux, which notes that though community repositories are not associated with the CentOS project, that "These repositories are frequently recommended by the community, are usually well maintained, and provide a substantial number of additional packages to CentOS." The wiki also notes:

Extra Packages for Enterprise Linux (EPEL) - (See http://fedoraproject.org/wiki/EPEL) provides rebuilds of Fedora packages for EL5, EL6 and EL7. Packages should not replace base, although there have been issues around point releases in the past. You can install EPEL by running yum install epel-release. The epel-release package is included in the CentOS Extras repository that is enabled by default. Support available on Freenode in #epel, on mailing lists, and its issue tracker.

On the system where the EPEL repo was in use, I found the following in /etc/yum.repos.d:

The system where the EPEL repository wasn't used had only the following files in the same directory:

I installed the EPEL repository on that system with yum install epel-release. I was then able to install iperf on that system with yum install iperf and was then able to run iperf in server mode on the system.

I ran iperf -c 192.168.18.44 on another system to use iperf on the other system in client mode to test the bandwidth between the two systems. On the server end, i.e., the system where I just installed iperf and ran the iperf -s command, I saw the following:

You may have to create a firewall rule on the system functioning as an iperf server. For CentOS 7 systems, the default firewall software is firewalld. The default port used by iperf is 5001, so you will need to open that port in the firewall for both UDP and TCP, if you wish to use both protocols.

天马行空的鱼
粉丝 10
博文 56
码字总数 32486
作品 0
QA/测试工程师
私信 提问
加载中
请先登录后再评论。
批量Linux系统管理--LazyManage

LazyManage适用于运维人员对centos(linux)系统平台服务器批量管理 基于dialog图形选择,expect验证输入密码,后台并发操作。 基本功能批量执行命令、传送文件、执行脚本,更多功能大家可根据需...

李权洲
2013/05/31
3.4K
0
React Native iOS环境搭建

感觉React Native会越来越多的公司开始研究、使用。所以周六也抽空搭建了iOS的开发环境,以便以后利用空闲的时间能够学习一下。 废话不多说了,下面简单的列出步骤吧。 1. 安装Homebrew Home...

mahb520
2015/11/30
4.1K
5
Kubernetes网络分析-Container间通信

本文假设你已经搭建好了Kubernetes集群,那么请求是如何到达POD,然后被Container处理的。都是干货。 如果没听说过Kubernetes,不知道POD是什么,请先参考: http://www.infoq.com/cn/articl...

xue777hua
2015/10/09
4.4K
6
CentOS 7 YUM 搭建Kubernetes 1.0

Kubernetes 日前终于发布了稳定版 1.0, 本文将要出一个系列的文章来讲述如何搭建环境,部署服务,网络分析,升级服务,备份数据,最后到达如何对Kubernetes进行二次发。 1. CentOS7 YUM 搭建...

xue777hua
2015/09/06
7.8K
14
windows 用vnc 连接 centos

vnc是一款使用广泛的服务器管理软件,可以实现图形化管理,下面简单介绍一下如何在centos6.5下安装vnc。 1、下载vncserver 2、配置 vncserver 将文件中的 # VNCSERVERS="2:myusername" # VN...

KongFanhao
2016/05/17
2.4K
0

没有更多内容

加载失败,请刷新页面

加载更多

Subversion存储库中“分支”,“标记”和“主干”的含义是什么?

问题: I've seen these words a lot around Subversion (and I guess general repository) discussions. 我已经在Subversion(我猜通用存储库)讨论中看到了很多这样的话。 I have been us......

富含淀粉
今天
5
0
《Java8实战》笔记(03):Lambda表达式

本文源码 Lambda 管中窥豹 可以把Lambda表达式理解为简洁地表示可传递的匿名函数的一种方式:它没有名称,但它有参数列表、函数主体、返回类型,可能还有一个可以抛出的异常列表。 Lambda表达...

巨輪
今天
7
0
从其他文件夹导入文件 - Importing files from different folder

问题: I have the following folder structure. 我有以下文件夹结构。 application/app/folder/file.py and I want to import some functions from file.py in another Python file which r......

javail
今天
22
0
大数据研发学习之路--Hadoop集群搭建

阅读编译文档 准备一个hadoop源码包,我选择的hadoop版本是:hadoop-2.7.7-src.tar.gz,在hadoop-2.7.7的源码 包的根目录下有一个文档叫做BUILDING.txt,这其中说明了编译hadoop所需要的一些...

DSJ-shitou
今天
8
0
OSChina 周五乱弹 —— 特么是别的公司派来的特洛伊木马吧?

Osc乱弹歌单(2020)请戳(这里) 【今日歌曲】 小小编辑推荐:《我会守在这里》- 毛不易 《我会守在这里》- 毛不易 手机党少年们想听歌,请使劲儿戳(这里) @FalconChen :股市连跪了五天,...

小小编辑
今天
77
2

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部