Linux本地挂载ISO镜像文件并自建YUM源

您所在的位置:网站首页 df挂载点 Linux本地挂载ISO镜像文件并自建YUM源

Linux本地挂载ISO镜像文件并自建YUM源

2023-06-18 03:06| 来源: 网络整理| 查看: 265

[root@localhost yum.repos.d]# yum clean allLoaded plugins: fastestmirrorCleaning repos: centos7-localCleaning up list of fastest mirrors

[root@localhost yum.repos.d]# yum makecache     #缓存YUM源信息Loaded plugins: fastestmirrorDetermining fastest mirrorscentos7-local                                                                             | 3.6 kB  00:00:00     (1/4): centos7-local/group_gz                                                             | 156 kB  00:00:00     (2/4): centos7-local/filelists_db                                                         | 3.1 MB  00:00:00     (3/4): centos7-local/primary_db                                                           | 3.1 MB  00:00:00     (4/4): centos7-local/other_db                                                             | 1.2 MB  00:00:00     Metadata Cache Created

[root@localhost yum.repos.d]# yum repolistLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilerepo id                                                 repo name                                          statuscentos7-local                                           Centos7                                            3894repolist: 3894

[root@localhost yum.repos.d]# yum install net-tools

[root@localhost yum.repos.d]# yum search jdk   #也可搜素



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3