centos7.4离线安装nfs

快来打我* 2022-02-19 12:29 1592阅读 0赞

下载离线安装包

  1. yum -y install nfs-utils --downloadonly --downloaddir /root/nfs

在这里插入图片描述

进入nfs目录,进行编译

  1. rpm -ivh *.rpm --force --nodeps

ps ps ps ps ps ps ps

批量打包镜像

  1. # 247服务器上
  2. python dockersave2.py
  3. cd /tmp/test
  4. tar -czvf testImages.tar.gz ./*.tar
  5. python dockerload.py testImages.tar.gz

参考:linux如何下载rpm离线安装包到本机 https://blog.csdn.net/favoritely/article/details/81637826

批量打包images
https://github.com/yuchen16/imageTools

发表评论

表情:
评论列表 (有 0 条评论,1592人围观)

还没有评论,来说两句吧...

相关阅读

    相关 centos7线安装metasploit

    最近需在内网服务器搭建安全工具环境,苦于内网服务器无法访问互联网,需要很多依赖包比较麻烦,尤其metasploit无互联网安装特别麻烦,而且网上metasploit的安装教程均