腾讯云的yum安装源mirrors.tencentyun.com,无法下载程序包,这里替换成阿里云的mirrors
[1] 首先备份/etc/yum.repos.d/base.repo
mv /etc/yum.repos.d/base.repo /etc/yum.repos.d/base.backup
[2] 进入yum源配置文件所在文件夹
[root@localhost yum.repos.d]# cd /etc/yum.repos.d/
[3] 下载阿里云的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份)
[root@localhost yum.repos.d]# wget http://mirrors.aliyun.com/repo/Centos-7.repo
[4] 运行yum makecache生成缓存
[root@localhost yum.repos.d]# yum makecache
[5] 更新系统
[root@localhost yum.repos.d]# yum -y update
[6] 安装lrzsl
[root@localhost ~]# yum -y install lrzsz