The tools that need to be installed after the minimal installation of linux

1. ifconfig command

yum install net-tools -y

2. vim editor

yum -y install vim

3. Tab completion key

安装epel 源
 
yum -y install epel-release
 
 
加快yun速度
 
yum -y install yum-plugin-fastestmirror
 
 
安装bash-completion
 
yum -y install bash-completion
 
 
立即生效
 
source /etc/profile.d/bash_completion.sh 
 
或者退出终端重新登录

4. Alibaba cloud network yum source

将/etc/yum.repos.d/目录下的文件移动到其它目录
mkdir /etc/yum.repos.d/back/
 
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/back/
 
然后执行如下命令下载阿里云网络yum源
 
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
 
注释:-O  :表示指定yum源存放位置
 
yum clean all
 
yum makecache
 
yum repolist
 

おすすめ

転載: blog.csdn.net/qq_54796785/article/details/127169995