必威-必威-欢迎您

必威,必威官网企业自成立以来,以策略先行,经营致胜,管理为本的商,业推广理念,一步一个脚印发展成为同类企业中经营范围最广,在行业内颇具影响力的企业。

2.必威:下载yum安装文件,如果没有注册的话是不

2019-11-15 12:01 来源:未知

先安装python,在安装yum-metadata 最后五个yum一同安装。

   rpm -ivh  python-iniparse-0.3.1-2.1.el6.noarch.rpm
         rpm -ivh  yum-metadata-parser-1.1.2-14.1.el6.i686.rpm
         rpm -ivh  yum-3.2.27-14.el6.centos.noarch.rpm  yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
  
   注意:最后七个安装包要放在一同同时安装,不然会唤起相互重视,安装战败。

4.更新repo文件
跻身 /etc/yum.repos.d文件夹下,
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
删除原本的安顿文件 rm -rf CentOS-Base.repo
校正新布局文件名 mv CentOS7-Base-163.repo CentOS7-Base.repo

2. 下载yum安装包

  1.  wget

  2.  wget

  3.  wget

  4.  wget

  5. wget

引言:由于QX56HEL的yum在线更新是收取薪资的,如果未有挂号的话是无法动用的,即无法在线安装软件。在此种意况下,想使用处观HEL系统,还想用yum源来在线安装软件,有未有方法?答案是有法子,请往下看!

设置收尾

6. yum makecache(生花销地缓存卡塔尔国

2、下载新的yum安装包  #那边我们使用CentOS的yum源

3.扩充安装yum
rpm -ivh python-iniparse-0.4-9.el7.noarch.rpm
rpm -ivh yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
rpm -ivh yum-3.4.3-150.el7.centos.noarch.rpm rpm yum-plugin-fastestmirror-1.1.31-40.el7.noarch.rpm
注意最终多个包必需同一时候安装,否则会相互依赖

5. yum clean all

1 # CentOS-Base.repo
2 #
3 # The mirror system uses the connecting IP address of the client and the
4 # update status of each mirror to pick mirrors that are updated to and
5 # geographically close to the client. You should use this for CentOS updates
6 # unless you are manually picking other mirrors.
7 #
8 # If the mirrorlist= does not work for you, as a fall back you can try the
9 # remarked out baseurl= line instead.
10 #
11 #
12
13 [base]
14 name=CentOS-6 - Base - 163.com
15 baseurl=
16 #mirrorlist=
17 gpgcheck=1
18 gpgkey=
19
20 #released updates
21 [updates]
22 name=CentOS-6 - Updates - 163.com
23 baseurl=
24 #mirrorlist=
25 gpgcheck=1
26 gpgkey=
27
28 #additional packages that may be useful
29 [extras]
30 name=CentOS-6 - Extras - 163.com
31 baseurl=
32 #mirrorlist=
33 gpgcheck=1
34 gpgkey=
35
36 #additional packages that extend functionality of existing packages
37 [centosplus]
38 name=CentOS-6 - Plus - 163.com
39 baseurl=
40 #mirrorlist=
41 gpgcheck=1
42 enabled=0
43 gpgkey=
44
45 #contrib - packages by Centos Users
46 [contrib]
47 name=CentOS-6 - Contrib - 163.com
48 baseurl=
49 #mirrorlist=
50 gpgcheck=1
51 enabled=0
52 gpgkey=

2.下载yum安装文件 (若未有此包,能够去Ali镜像或天涯论坛镜像找到包名类似的下下来就能够)
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-150.el7.centos.noarch.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-40.el7.noarch.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm

TAG标签:
版权声明:本文由必威发布于必威-操作系统,转载请注明出处:2.必威:下载yum安装文件,如果没有注册的话是不