centos上没有yum 也没有wget 怎么办

前端之家收集整理的这篇文章主要介绍了centos上没有yum 也没有wget 怎么办前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

方法一:插入CentOS7光盘 1、挂载[root@CentOS ~]# mkdir /mnt/dvd [root@CentOS ~]# mount -t iso9660 /dev/sr0 /mnt/dvd 2、安装[root@CentOS ~]# cd /mnt/dvd/Packages/ [root@CentOS Packages]# ls yum* wget* wget-1.14-10.el7_0.1.x86_64.rpm yum-3.4.3-132.el7.centos.0.1.noarch.rpm yum-langpacks-0.4.2-4.el7.noarch.rpm yum-Metadata-parser-1.1.4-10.el7.x86_64.rpm yum-plugin-aliases-1.1.31-34.el7.noarch.rpm yum-plugin-changelog-1.1.31-34.el7.noarch.rpm yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm yum-plugin-tmprepo-1.1.31-34.el7.noarch.rpm yum-plugin-verify-1.1.31-34.el7.noarch.rpm yum-plugin-versionlock-1.1.31-34.el7.noarch.rpm yum-utils-1.1.31-34.el7.noarch.rpm [root@CentOS Packages]# rpm -ivh --nodeps yum* [root@CentOS Packages]# rpm -ivh wget* 方法二:下载CentOS7镜像 1、挂载[root@CentOS ~]# mkdir /mnt/dvd [root@CentOS ~]# mount -o loop -t iso9660 CentOS-7-x86_64-DVD-1511.iso/mnt/dvd 2、安装[root@CentOS ~]# cd /mnt/dvd/Packages/ [root@CentOS Packages]# ls yum* wget* wget-1.14-10.el7_0.1.x86_64.rpm yum-3.4.3-132.el7.centos.0.1.noarch.rpm yum-langpacks-0.4.2-4.el7.noarch.rpm yum-Metadata-parser-1.1.4-10.el7.x86_64.rpm yum-plugin-aliases-1.1.31-34.el7.noarch.rpm yum-plugin-changelog-1.1.31-34.el7.noarch.rpm yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm yum-plugin-tmprepo-1.1.31-34.el7.noarch.rpm yum-plugin-verify-1.1.31-34.el7.noarch.rpm yum-plugin-versionlock-1.1.31-34.el7.noarch.rpm yum-utils-1.1.31-34.el7.noarch.rpm [root@CentOS Packages]# rpm -ivh --nodeps yum* [root@CentOS Packages]# rpm -ivh wget*

原文链接:https://www.f2er.com/centos/375052.html

猜你在找的CentOS相关文章