Linux系统中安装一些常用的插件备用
1.安装wget
yum -y install wget
2.安装vim
yum -y install vim-enhanced
3.更换yum源为国内的阿里云源(选择)
1、备份CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
4.下载新的CentOS-Base.repo 到/etc/yum.repos.d/
# CentOS 5+ 版本用下面这两条语句:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
# 或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
# CentOS 6+ 版本用下面这两条语句:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
#或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
# CentOS 7+ 版本用下面这两条语句:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
# 或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
5.生成缓存
yum makecache
6.安装ipconfig
ip addr:查看ip
yum -y install net-tools.x86_64
7.安装zip、unzip
yum install -y unzip zip
8.安装rz和sz命令
# 安装了lrzsz以后可以通过rz命令打开上传命令,比较方便。
yum install -y lrzsz
9.安装Tree命令
yum -y install tree
10.安装telnet
yum -y install telnet-server.x86_64
yum -y install telnet.x86_64
yum -y install xinetd.x86_64