合 Centos 7创建离线epel源
1、环境准备
准备好一台可用联网的机器,并配置好在线epel源,在线epel源可用使用腾讯的:参考:https://mirrors.cloud.tencent.com/help/epel.html
1 | wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel-7.repo |
也可以使用其它,例如:
1 2 3 4 | curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo wget -O /etc/yum.repos.d/epel.repo https://repo.huaweicloud.com/repository/conf/epel-7-reg.repo |
可以通过 yum info pssh
测试在线epel源:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [root@localhost ~]# yum info pssh Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Available Packages Name : pssh Arch : noarch Version : 2.3.1 Release : 5.el7 Size : 49 k Repo : epel/7/x86_64 Summary : Parallel SSH tools URL : http://code.google.com/p/parallel-ssh/ License : BSD Description : This package provides various parallel tools based on ssh and scp. : Parallell version includes: : o ssh : pssh : o scp : pscp : o nuke : pnuke : o rsync : prsync : o slurp : pslurp |