标签:enable 清理 原来 rap 服务 net fail install dev
环境:Centos6.5是新安装的,没有安装过其它的软件包。思路是安装epel的源后再安装tmux。
yum install epel-release
# 安装Linux的 epel 的yum源yum makecache
# 缓存服务器的包信息到本地yum --disablerepo=epel -y update ca-certificates
# 更新证书vim /etc/yum.repos.d/epel.repo
# 编辑epel文件[epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
yum clean all
# 清理源yum makecache
# 更新源yum install tmux
# 安装tmux参考:centos6免编译安装tmux、解决centos6 Error: Cannot retrieve metalink for repository
标签:enable 清理 原来 rap 服务 net fail install dev
原文地址:https://www.cnblogs.com/sfriend/p/11918886.html