yum install -y bash-completion
//增强型TAB补全命令
安装epel-release + 换系统yum源:
1、首先备份系统自带yum源配置文件/etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2、进入yum源配置文件所在的文件夹
cd /etc/yum.repos.d/
3、下载163的yum源配置文件到上面那个文件夹内
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
4、安装Epel-release补充源
yum -y install epel-release
5、对源进行更新
yum -y update
6、运行生成缓存
yum clean all && yum makecache
下载ailiyun的yum源配置文件到/etc/yum.repos.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
下载Tencent的yum源配置文件到/etc/yum.repos.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo