VMware下挂载光盘并安装文件
https://blog.csdn.net/gfd54gd5f46/article/details/53968293

 


linux修改yum本地源的方法
https://www.cnblogs.com/cfinder010/p/3347019.html

sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

sudo vi /etc/yum.repos.d/CentOS-Base.repo  配置yum源为本地的/mnt目录

[base]

name=yum

gpgcheck=0

enabled=1

baseurl=file:///mnt

挂载光盘到/mnt目录下

mount /dev/cdrom /mnt

执行命令:

yum clean all

yum makecache

yum -y install lrzsz

 

相关文章:

  • 2022-01-05
  • 2021-12-29
  • 2021-09-12
  • 2022-03-06
  • 2021-12-05
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2021-08-07
  • 2021-12-14
  • 2021-11-27
相关资源
相似解决方案