2015/08/17
Automatically accept epel gpg key(自動加入 EPEL 的 GPG key)
單機
[root@hmaster ~]# rpm --import http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
ssh 遠端下指令
[root@hmaster ~]# ssh root@hdatanode1 'rpm --import http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7'
# 現在直接再 repo 內建就有 epel 的設定套件了
[root@c7 ~]# yum search epel
====================================================================== N/S matched: epel ======================================================================
epel-release.noarch : Extra Packages for Enterprise Linux repository configuration
epel-rpm-macros.noarch : Extra Packages for Enterprise Linux RPM macros
python3-pkgversion-macros.noarch : Convenience macros for Fedora/EPEL Python 3 packages building
# 直接安裝就可以
[root@c7 ~]# yum install epel-release -y
# 看看你系統上的 REPO 有哪些
[root@c7 ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.stu.edu.tw
* epel: mirror01.idc.hinet.net
* extras: ftp.stu.edu.tw
* nux-dextop: mirror.li.nux.ro
* updates: ftp.stu.edu.tw
repo id repo name status
adobe-linux-x86_64 Adobe Systems Incorporated 2
base/7/x86_64 CentOS-7 - Base 8,652
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 8,446
extras/7/x86_64 CentOS-7 - Extras 180
google-chrome google-chrome 3
nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,099
updates/7/x86_64 CentOS-7 - Updates 1,202
repolist: 20,584
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言