CentOS 6或者7的YUM源服务器搭建

CentOS 6或者7下的YUM源服务器搭建

说明:

同步了阿里的base源还有epel源

注意:环境要求

'环境准备,修改hostname,关闭防火墙,disabled selinux' 
[root@localhost ~]# hostnamectl set-hostname --static yum-server
[root@yum-server ~]# systemctl disable firewalld
[root@yum-server ~]# sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/sysconfig/selinux

配置服务器端yum

安装yum源工具

[root@yum-server ~]# yum -y install epel-release.noarch     # nginx需要epel源
[root@yum-server ~]# yum -y install nginx    # 安装nginx
[root@yum-server ~]# yum -y install createrepo  # 安装repository管理工具

配置nginx

[root@yum-server nginx]# cd /etc/nginx/
[root@yum-server nginx]# vim nginx.conf
    server {
        listen       80;
        server_name  localhost;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        location / {
        }
        # 在server段加入以下三段内容
        autoindex on;              # 表示:自动在index.html的索引打开
        autoindex_exact_size on;   # 表示:如果有文件,则显示文件的大小
        autoindex_localtime on;    # 表示:显示更改时间,以当前系统的时间为准

        error_page 404 /404.html;
            location = /40x.html {
        }

        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }
    
[root@yum-server nginx]# nginx -t     # 检测一下nginx语法是否有错
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

[root@yum-server nginx]# systemctl enable nginx.service
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /usr/lib/systemd/system/nginx.service.

[root@yum-server nginx]# systemctl enable nginx.service # 启动nginx,设为开机自启
[root@yum-server nginx]# curl -I http://localhost    # 访问本地,状态码返回200,服务正常
HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Sun, 05 Jul 2020 09:48:05 GMT
Content-Type: text/html
Content-Length: 4833
Last-Modified: Fri, 16 May 2014 15:12:48 GMT
Connection: keep-alive
ETag: "53762af0-12e1"
Accept-Ranges: bytes
配置nginx页面目录
[root@yum-server nginx]# cd /usr/share/nginx/html/
[root@yum-server html]# mkdir -p centos-yum/Aliyun/{version_6,version_7}/
[root@yum-server html]# tree centos-yum/
centos-yum/
└── Aliyun
    ├── version_6
    └── version_7

3 directories, 0 files
[root@yum-server html]# cd centos-yum/
[root@yum-server CentOS-YUM]# vim index.html
<p style="font-weight:bolder;color:green;font-size:30px;">ALL of the packages in the below:p>
<br/>

<a href="http://10.11.59.147/centos-yum/Aliyun/version_6">version_6a><br/>

These packagers using for Centos 6<br/>

<a href="http://10.11.59.147/centos-yum/Aliyun/version_7">version_7 a><br/>

These packagers using for Centos 7<br/>

<p style="font-weight:bolder;color:red;font-size:18px;">Please replace the file and fill in the f    ollowing content:p>
<p style="font-weight:bolder;color:blue;font-size:15px;">Way: /etc/yum.repos.d/CentOS-Base.repo

替换yum源文件

# 备份原来的官方yum源
[root@yum-server CentOS-YUM]# cd /etc/yum.repos.d/
[root@yum-server yum.repos.d]# mv ./* /tmp/
[root@yum-server yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo    # 下载aliyun的centos7的yum源
[root@yum-server yum.repos.d]# yum provides reposync
[root@yum-server yum.repos.d]# yum -y install yum-utils
[root@yum-server yum.repos.d]# vim yum.reposync.sh    # 同步脚本
#/usr/bin/env bash
reposync -n --repoid=extras --repoid=updates --repoid=base -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/
reposync -n --repoid=epel -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/

/usr/bin/sed -i "s/7/6/g" `grep 7 -rl /etc/yum.repos.d/CentOS-Base.repo`
/usr/bin/sed -i "s/7/6/g" `grep 7 -rl /etc/yum.repos.d/epel.repo`

reposync -n --repoid=extras --repoid=updates --repoid=base -p /usr/share/nginx/html/centos-yum/Aliyun/version_6/
reposync -n --repoid=epel -p /usr/share/nginx/html/centos-yum/Aliyun/version_6/

/usr/bin/sed -i "s/6/7/g" `grep 6 -rl /etc/yum.repos.d/CentOS-Base.repo`
/usr/bin/sed -i "s/6/7/g" `grep 6 -rl /etc/yum.repos.d/epel.repo`



[root@yum-server yum.repos.d]# chmod +x yum.reposync.sh   # 要给执行权限
[root@yum-server yum.repos.d]# ll
total 8
-rw-r--r-- 1 root root 2523 Jun 16  2018 CentOS-Base.repo
-rwxr-xr-x 1 root root  303 Jul  5 19:02 yum.reposync.sh
[root@yum-server yum.repos.d]# sh yum.reposync.sh
# 等待同步完成
# 同步完成,查看文件大小,
[root@yum-server CentOS-YUM]# du -ch Aliyun/

0       Aliyun/version_6
28M     Aliyun/version_7/base/Packages/repodata
9.0G    Aliyun/version_7/base/Packages
9.0G    Aliyun/version_7/base
672K    Aliyun/version_7/extras/Packages/repodata
321M    Aliyun/version_7/extras/Packages
321M    Aliyun/version_7/extras
4.5M    Aliyun/version_7/updates/Packages/repodata
2.2G    Aliyun/version_7/updates/Packages
2.2G    Aliyun/version_7/updates
671M    Aliyun/version_7/epel/Packages/0
104K    Aliyun/version_7/epel/Packages/2
3.0M    Aliyun/version_7/epel/Packages/3
328K    Aliyun/version_7/epel/Packages/4
5.1M    Aliyun/version_7/epel/Packages/9
357M    Aliyun/version_7/epel/Packages/a
274M    Aliyun/version_7/epel/Packages/b
772M    Aliyun/version_7/epel/Packages/c
231M    Aliyun/version_7/epel/Packages/d
521M    Aliyun/version_7/epel/Packages/f
1.7G    Aliyun/version_7/epel/Packages/g
127M    Aliyun/version_7/epel/Packages/h
690M    Aliyun/version_7/epel/Packages/j
722M    Aliyun/version_7/epel/Packages/l
954M    Aliyun/version_7/epel/Packages/m
215M    Aliyun/version_7/epel/Packages/n
813M    Aliyun/version_7/epel/Packages/o
1.6G    Aliyun/version_7/epel/Packages/p
473M    Aliyun/version_7/epel/Packages/q
735M    Aliyun/version_7/epel/Packages/r
766M    Aliyun/version_7/epel/Packages/s
749M    Aliyun/version_7/epel/Packages/t
145M    Aliyun/version_7/epel/Packages/v
1.3G    Aliyun/version_7/epel/Packages/w
1.3G    Aliyun/version_7/epel/Packages/x
67M     Aliyun/version_7/epel/Packages/z
164M    Aliyun/version_7/epel/Packages/e
162M    Aliyun/version_7/epel/Packages/i
368M    Aliyun/version_7/epel/Packages/k
81M     Aliyun/version_7/epel/Packages/u
12M     Aliyun/version_7/epel/Packages/y
39M     Aliyun/version_7/epel/Packages/repodata
16G     Aliyun/version_7/epel/Packages
16G     Aliyun/version_7/epel
27G     Aliyun/version_7
27G     Aliyun/
27G     总用量

建立yum源仓库

'因为建仓最终的目的也是可供client来进行检索的,所以得每个Packages目录都要建成仓库,所以建仓的时候,目录指到最底层的Packages,而-np更新的时候只用指定到64bit的目录就可以了,否则会重复建立base、extras、updates三个目录进行下载
[root@yum-server ~]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/base/Packages/
Spawning worker 0 with 10070 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@yum-server ~]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/epel/Packages/
Spawning worker 0 with 13446 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

[root@localhost html]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/extras/Packages/
Spawning worker 0 with 272 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

[root@localhost html]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_7/updates/Packages/
Spawning worker 0 with 746 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete


[root@yum-server ~]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_6/epel/Packages/
Spawning worker 0 with 884 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

[root@yum-server ~]# createrepo -p /usr/share/nginx/html/centos-yum/Aliyun/version_6/base/Packages/
Spawning worker 0 with 10070 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

22 directories
'可以写一个更新yum源的脚本,然后写一个计划任务,定期更新yum源(reposync -np 就是更新新的rpm包)
reposync -np --repoid=extras --repoid=updates --repoid=base -p /usr/share/nginx/html/CentOS-YUM/Aliyun/version_7/
reposync -np --repoid=epel -p /usr/share/nginx/html/CentOS-YUM/Aliyun/version_7/

/usr/bin/sed -i "s/7/6/g" `grep 7 -rl /etc/yum.repos.d/CentOS-Base.repo`
/usr/bin/sed -i "s/7/6/g" `grep 7 -rl /etc/yum.repos.d/epel.repo`

reposync -np --repoid=extras --repoid=updates --repoid=base -p /usr/share/nginx/html/CentOS-YUM/Aliyun/version_6/
reposync -np --repoid=epel -p /usr/share/nginx/html/CentOS-YUM/Aliyun/version_6/

/usr/bin/sed -i "s/6/7/g" `grep 6 -rl /etc/yum.repos.d/CentOS-Base.repo`
/usr/bin/sed -i "s/6/7/g" `grep 6 -rl /etc/yum.repos.d/epel.repo`

配置客户端yum

# 备份原来的yum源
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# ls
CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-Media.repo    CentOS-Vault.repo  epel-testing.repo
CentOS-CR.repo    CentOS-fasttrack.repo  CentOS-Sources.repo  epel.repo
[root@localhost yum.repos.d]# mkdir back
[root@localhost yum.repos.d]# mv CentOS-* back/
[root@localhost yum.repos.d]# mv epel* back/
[root@localhost yum.repos.d]# ls
back
[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]# vim CentOS-Base.repo   # 需要6,就使用6,需要7,就使用7,也可以使用yum-plugin-priorities工具来控制优先级,加上priority=1(2|3|4都可以)来控制优先级
[Aliyun_7_base]
name=source_from_localserver
baseurl=http://10.11.59.147/centos-yum/Aliyun/version_7/base/Packages/
gpgcheck=0
enable=1

[Aliyun_7_extras]
name=source_from_localserver
baseurl=http://10.11.59.147/centos-yum/Aliyun/version_7/extras/Packages
gpgcheck=0
enable=1

[Aliyun_7_updates]
name=source_from_localserver
baseurl=http://10.11.59.147/centos-yum/Aliyun/version_7/updates/Packages
gpgcheck=0
enable=1

vim /etc/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7
baseurl=http://192.168.57.133/CentOS-YUM/Aliyun/version_7/epel/Packages
enabled=1
gpgcheck=0

[root@localhost yum.repos.d]# yum clean all
[root@localhost yum.repos.d]# yum makecache

[root@localhost yum.repos.d]# yum makecache
已加载插件:fastestmirror
base                                                                     | 2.9 kB  00:00:00
epel                                                                     | 2.9 kB  00:00:00
extras                                                                   | 2.9 kB  00:00:00
updates                                                                  | 2.9 kB  00:00:00
(1/12): base/filelists_db                                                | 7.1 MB  00:00:00
(2/12): base/primary_db                                                  | 6.1 MB  00:00:00
(3/12): base/other_db                                                    | 2.6 MB  00:00:00
(4/12): epel/primary_db                                                  | 6.8 MB  00:00:00
(5/12): epel/filelists_db                                                |  12 MB  00:00:00
(6/12): epel/other_db                                                    | 3.3 MB  00:00:00
(7/12): extras/filelists_db                                              | 156 kB  00:00:00
(8/12): extras/primary_db                                                | 135 kB  00:00:00
(9/12): extras/other_db                                                  |  91 kB  00:00:00
(10/12): updates/filelists_db                                            | 1.0 MB  00:00:00
(11/12): updates/other_db                                                | 214 kB  00:00:00
(12/12): updates/primary_db                                              | 1.4 MB  00:00:00
Determining fastest mirrors
元数据缓存已建立

# 安装软件来测试一下
[root@localhost yum.repos.d]# yum -y update

总下载量:290 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
No Presto metadata available for updates
(1/218): GeoIP-1.5.0-14.el7.x86_64.rpm                                   | 1.5 MB  00:00:00
(2/218): NetworkManager-1.18.4-3.el7.x86_64.rpm                          | 1.9 MB  00:00:00
(3/218): NetworkManager-libnm-1.18.4-3.el7.x86_64.rpm                    | 1.7 MB  00:00:00
(4/218): NetworkManager-tui-1.18.4-3.el7.x86_64.rpm                      | 327 kB  00:00:00
(5/218): NetworkManager-team-1.18.4-3.el7.x86_64.rpm                     | 164 kB  00:00:00
(6/218): NetworkManager-wifi-1.18.4-3.el7.x86_64.rpm                     | 201 kB  00:00:00
(7/218): alsa-lib-1.1.8-1.el7.x86_64.rpm                                 | 425 kB  00:00:00
(8/218): audit-2.8.5-4.el7.x86_64.rpm                                    | 256 kB  00:00:00
(9/218): audit-libs-2.8.5-4.el7.x86_64.rpm                               | 102 kB  00:00:00
(10/218): bash-4.2.46-34.el7.x86_64.rpm                                  | 1.0 MB  00:00:00
(11/218): acl-2.2.51-15.el7.x86_64.rpm                                   |  81 kB  00:00:00
(12/218): bind-libs-lite-9.11.4-16.P2.el7_8.6.x86_64.rpm                 | 1.1 MB  00:00:00
(13/218): bind-export-libs-9.11.4-16.P2.el7_8.6.x86_64.rpm               | 1.1 MB  00:00:00
(14/218): bind-license-9.11.4-16.P2.el7_8.6.noarch.rpm                   |  90 kB  00:00:00
(15/218): binutils-2.27-43.base.el7_8.1.x86_64.rpm                       | 5.9 MB  00:00:00
(16/218): ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm                | 382 kB  00:00:00
(17/218): biosdevname-0.7.3-2.el7.x86_64.rpm                             |  38 kB  00:00:00
(18/218): chrony-3.4-1.el7.x86_64.rpm                                    | 251 kB  00:00:00
(19/218): coreutils-8.22-24.el7.x86_64.rpm                               | 3.3 MB  00:00:00
(20/218): centos-release-7-8.2003.0.el7.centos.x86_64.rpm                |  26 kB  00:00:00
(21/218): cpio-2.11-27.el7.x86_64.rpm                                    | 211 kB  00:00:00
(22/218): cronie-1.4.11-23.el7.x86_64.rpm                                |  92 kB  00:00:00
(23/218): cryptsetup-libs-2.0.3-6.el7.x86_64.rpm                         | 339 kB  00:00:00++
(24/218): cyrus-sasl-lib-2.1.26-23.el7.x86_64.rpm                        | 155 kB  00:00:00
(25/218): cronie-anacron-1.4.11-23.el7.x86_64.rpm                        |  36 kB  00:00:00
(26/218): curl-7.29.0-57.el7_8.1.x86_64.rpm                              | 271 kB  00:00:00
(27/218): dbus-libs-1.10.24-14.el7_8.x86_64.rpm                          | 169 kB  00:00:00
(28/218): device-mapper-1.02.164-7.el7_8.2.x86_64.rpm                    | 295 kB  00:00:00
(29/218): dbus-1.10.24-14.el7_8.x86_64.rpm                               | 245 kB  00:00:00
(30/218): device-mapper-event-1.02.164-7.el7_8.2.x86_64.rpm              | 191 kB  00:00:00
(31/218): device-mapper-libs-1.02.164-7.el7_8.2.x86_64.rpm               | 324 kB  00:00:00
(32/218): device-mapper-event-libs-1.02.164-7.el7_8.2.x86_64.rpm         | 190 kB  00:00:00
(33/218): device-mapper-persistent-data-0.8.5-2.el7.x86_64.rpm           | 422 kB  00:00:00
(34/218): dhcp-common-4.2.5-79.el7.centos.x86_64.rpm                     | 176 kB  00:00:00
(35/218): dhcp-libs-4.2.5-79.el7.centos.x86_64.rpm                       | 133 kB  00:00:00
(36/218): diffutils-3.3-5.el7.x86_64.rpm                                 | 322 kB  00:00:00
(37/218): dmidecode-3.2-3.el7.x86_64.rpm                                 |  81 kB  00:00:00
(38/218): dracut-033-568.el7.x86_64.rpm                                  | 329 kB  00:00:00
(39/218): dracut-config-rescue-033-568.el7.x86_64.rpm                    |  60 kB  00:00:00
(40/218): dracut-network-033-568.el7.x86_64.rpm                          | 103 kB  00:00:00
(41/218): dhclient-4.2.5-79.el7.centos.x86_64.rpm                        | 286 kB  00:00:00
(42/218): e2fsprogs-1.42.9-17.el7.x86_64.rpm                             | 699 kB  00:00:00
(43/218): e2fsprogs-libs-1.42.9-17.el7.x86_64.rpm                        | 168 kB  00:00:00
(44/218): elfutils-default-yama-scope-0.176-4.el7.noarch.rpm             |  33 kB  00:00:00
(45/218): elfutils-libelf-0.176-4.el7.x86_64.rpm                         | 195 kB  00:00:00
(46/218): elfutils-libs-0.176-4.el7.x86_64.rpm                           | 291 kB  00:00:00
(47/218): ethtool-4.8-10.el7.x86_64.rpm                                  | 127 kB  00:00:00
(48/218): expat-2.1.0-11.el7.x86_64.rpm                                  |  81 kB  00:00:00
(49/218): file-5.11-36.el7.x86_64.rpm                                    |  57 kB  00:00:00
(50/218): file-libs-5.11-36.el7.x86_64.rpm                               | 340 kB  00:00:00
(51/218): filesystem-3.2-25.el7.x86_64.rpm                               | 1.0 MB  00:00:00
(52/218): findutils-4.5.11-6.el7.x86_64.rpm                              | 559 kB  00:00:00
(53/218): ebtables-2.0.10-16.el7.x86_64.rpm                              | 123 kB  00:00:00
(54/218): geoipupdate-2.5.0-1.el7.x86_64.rpm                             |  35 kB  00:00:00
(55/218): gettext-libs-0.19.8.1-3.el7.x86_64.rpm                         | 502 kB  00:00:00
(56/218): glib2-2.56.1-5.el7.x86_64.rpm                                  | 2.5 MB  00:00:00
(57/218): glibc-2.17-307.el7.1.x86_64.rpm                                | 3.6 MB  00:00:00
(58/218): firewalld-0.6.3-8.el7_8.1.noarch.rpm                           | 443 kB  00:00:00
(59/218): firewalld-filesystem-0.6.3-8.el7_8.1.noarch.rpm                |  51 kB  00:00:00
(60/218): glibc-common-2.17-307.el7.1.x86_64.rpm                         |  11 MB  00:00:00
(61/218): gettext-0.19.8.1-3.el7.x86_64.rpm                              | 1.0 MB  00:00:00
(62/218): gnupg2-2.0.22-5.el7_5.x86_64.rpm                               | 1.5 MB  00:00:00
(63/218): gobject-introspection-1.56.1-1.el7.x86_64.rpm                  | 241 kB  00:00:00
(64/218): grub2-2.02-0.86.el7.centos.x86_64.rpm                          |  32 kB  00:00:00
(65/218): grub2-common-2.02-0.86.el7.centos.noarch.rpm                   | 729 kB  00:00:00
(66/218): grub2-pc-2.02-0.86.el7.centos.x86_64.rpm                       |  32 kB  00:00:00
(67/218): grub2-pc-modules-2.02-0.86.el7.centos.noarch.rpm               | 850 kB  00:00:00
(68/218): grub2-tools-2.02-0.86.el7.centos.x86_64.rpm                    | 1.8 MB  00:00:00
(69/218): grub2-tools-minimal-2.02-0.86.el7.centos.x86_64.rpm            | 174 kB  00:00:00
(70/218): grub2-tools-extra-2.02-0.86.el7.centos.x86_64.rpm              | 1.0 MB  00:00:00
(71/218): gzip-1.5-10.el7.x86_64.rpm                                     | 130 kB  00:00:00
(72/218): grubby-8.28-26.el7.x86_64.rpm                                  |  71 kB  00:00:00
(73/218): hwdata-0.252-9.5.el7.x86_64.rpm                                | 2.4 MB  00:00:00
(74/218): hostname-3.13-3.el7_7.1.x86_64.rpm                             |  17 kB  00:00:00
(75/218): info-5.1-5.el7.x86_64.rpm                                      | 233 kB  00:00:00
(76/218): initscripts-9.49.49-1.el7.x86_64.rpm                           | 440 kB  00:00:00
(77/218): iproute-4.11.0-25.el7_7.2.x86_64.rpm                           | 803 kB  00:00:00
(78/218): ipset-7.1-1.el7.x86_64.rpm                                     |  39 kB  00:00:00
(79/218): ipset-libs-7.1-1.el7.x86_64.rpm                                |  64 kB  00:00:00
(80/218): iptables-1.4.21-34.el7.x86_64.rpm                              | 432 kB  00:00:00
(81/218): irqbalance-1.0.7-12.el7.x86_64.rpm                             |  45 kB  00:00:00
(82/218): iwl100-firmware-39.31.5.1-76.el7.noarch.rpm                    | 160 kB  00:00:00
(83/218): iwl1000-firmware-39.31.5.1-76.el7.noarch.rpm                   | 224 kB  00:00:00
(84/218): iwl105-firmware-18.168.6.1-76.el7.noarch.rpm                   | 245 kB  00:00:00
(85/218): iwl2000-firmware-18.168.6.1-76.el7.noarch.rpm                  | 247 kB  00:00:00
(86/218): iwl2030-firmware-18.168.6.1-76.el7.noarch.rpm                  | 256 kB  00:00:00
(87/218): iwl3160-firmware-25.30.13.0-76.el7.noarch.rpm                  | 1.7 MB  00:00:00
(88/218): iprutils-2.4.17.1-3.el7_7.x86_64.rpm                           | 243 kB  00:00:00
(89/218): iwl3945-firmware-15.32.2.9-76.el7.noarch.rpm                   |  98 kB  00:00:00
(90/218): iwl4965-firmware-228.61.2.24-76.el7.noarch.rpm                 | 112 kB  00:00:00
(91/218): iwl5000-firmware-8.83.5.1_1-76.el7.noarch.rpm                  | 304 kB  00:00:00
(92/218): iwl135-firmware-18.168.6.1-76.el7.noarch.rpm                   | 254 kB  00:00:00
(93/218): iwl5150-firmware-8.24.2.2-76.el7.noarch.rpm                    | 157 kB  00:00:00
(94/218): iwl6000g2a-firmware-18.168.6.1-76.el7.noarch.rpm               | 320 kB  00:00:00
(95/218): iwl6000-firmware-9.221.4.1-76.el7.noarch.rpm                   | 177 kB  00:00:00
(96/218): iwl6000g2b-firmware-18.168.6.1-76.el7.noarch.rpm               | 321 kB  00:00:00
(97/218): iwl7260-firmware-25.30.13.0-76.el7.noarch.rpm                  |  10 MB  00:00:00
(98/218): json-c-0.11-4.el7_0.x86_64.rpm                                 |  31 kB  00:00:00
(99/218): iwl6050-firmware-41.28.5.1-76.el7.noarch.rpm                   | 253 kB  00:00:00
(100/218): kbd-1.15.5-15.el7.x86_64.rpm                                  | 348 kB  00:00:00
(101/218): kbd-misc-1.15.5-15.el7.noarch.rpm                             | 1.4 MB  00:00:00
(102/218): kbd-legacy-1.15.5-15.el7.noarch.rpm                           | 466 kB  00:00:00
(103/218): kernel-tools-3.10.0-1127.19.1.el7.x86_64.rpm                  | 8.1 MB  00:00:00
(104/218): kernel-tools-libs-3.10.0-1127.19.1.el7.x86_64.rpm             | 8.0 MB  00:00:00
(105/218): kexec-tools-2.0.15-43.el7.x86_64.rpm                          | 349 kB  00:00:00
(106/218): kmod-libs-20-28.el7.x86_64.rpm                                |  51 kB  00:00:00
(107/218): kmod-20-28.el7.x86_64.rpm                                     | 123 kB  00:00:00
(108/218): kpartx-0.4.9-131.el7.x86_64.rpm                               |  80 kB  00:00:00
(109/218): krb5-libs-1.15.1-46.el7.x86_64.rpm                            | 809 kB  00:00:00
(110/218): libacl-2.2.51-15.el7.x86_64.rpm                               |  27 kB  00:00:00
(111/218): libattr-2.4.46-13.el7.x86_64.rpm                              |  18 kB  00:00:00
(112/218): libcap-2.22-11.el7.x86_64.rpm                                 |  47 kB  00:00:00
(113/218): libcom_err-1.42.9-17.el7.x86_64.rpm                           |  42 kB  00:00:00
(114/218): libcroco-0.6.12-4.el7.x86_64.rpm                              | 105 kB  00:00:00
(115/218): kernel-3.10.0-1127.19.1.el7.x86_64.rpm                        |  50 MB  00:00:00
(116/218): libblkid-2.23.2-63.el7.x86_64.rpm                             | 182 kB  00:00:00
(117/218): libcurl-7.29.0-57.el7_8.1.x86_64.rpm                          | 223 kB  00:00:00
(118/218): libdb-5.3.21-25.el7.x86_64.rpm                                | 720 kB  00:00:00
(119/218): libdb-utils-5.3.21-25.el7.x86_64.rpm                          | 132 kB  00:00:00
(120/218): libdrm-2.4.97-2.el7.x86_64.rpm                                | 151 kB  00:00:00
(121/218): libfastjson-0.99.4-3.el7.x86_64.rpm                           |  27 kB  00:00:00
(122/218): libffi-3.0.13-19.el7.x86_64.rpm                               |  30 kB  00:00:00
(123/218): libgcc-4.8.5-39.el7.x86_64.rpm                                | 102 kB  00:00:00
(124/218): libgomp-4.8.5-39.el7.x86_64.rpm                               | 158 kB  00:00:00
(125/218): libmount-2.23.2-63.el7.x86_64.rpm                             | 184 kB  00:00:00
(126/218): libndp-1.2-9.el7.x86_64.rpm                                   |  32 kB  00:00:00
(127/218): libpciaccess-0.14-1.el7.x86_64.rpm                            |  26 kB  00:00:00
(128/218): libpwquality-1.2.3-5.el7.x86_64.rpm                           |  85 kB  00:00:00
(129/218): libseccomp-2.3.1-4.el7.x86_64.rpm                             |  56 kB  00:00:00
(130/218): libselinux-2.5-15.el7.x86_64.rpm                              | 162 kB  00:00:00
(131/218): libselinux-python-2.5-15.el7.x86_64.rpm                       | 236 kB  00:00:00
(132/218): libselinux-utils-2.5-15.el7.x86_64.rpm                        | 151 kB  00:00:00
(133/218): libsemanage-2.5-14.el7.x86_64.rpm                             | 151 kB  00:00:00
(134/218): libsepol-2.5-10.el7.x86_64.rpm                                | 297 kB  00:00:00
(135/218): libsmartcols-2.23.2-63.el7.x86_64.rpm                         | 142 kB  00:00:00
(136/218): libss-1.42.9-17.el7.x86_64.rpm                                |  46 kB  00:00:00
(137/218): libssh2-1.8.0-3.el7.x86_64.rpm                                |  88 kB  00:00:00
(138/218): libstdc++-4.8.5-39.el7.x86_64.rpm                             | 305 kB  00:00:00
(139/218): libteam-1.29-1.el7.x86_64.rpm                                 |  50 kB  00:00:00
(140/218): libuser-0.60-9.el7.x86_64.rpm                                 | 400 kB  00:00:00
(141/218): libuuid-2.23.2-63.el7.x86_64.rpm                              |  83 kB  00:00:00
(142/218): logrotate-3.8.6-19.el7.x86_64.rpm                             |  70 kB  00:00:00
(143/218): lz4-1.7.5-3.el7.x86_64.rpm                                    |  99 kB  00:00:00
(144/218): make-3.82-24.el7.x86_64.rpm                                   | 421 kB  00:00:00
(145/218): man-db-2.6.3-11.el7.x86_64.rpm                                | 832 kB  00:00:00
(146/218): lvm2-2.02.186-7.el7_8.2.x86_64.rpm                            | 1.3 MB  00:00:00
(147/218): lvm2-libs-2.02.186-7.el7_8.2.x86_64.rpm                       | 1.1 MB  00:00:00
(148/218): mariadb-libs-5.5.65-1.el7.x86_64.rpm                          | 759 kB  00:00:00
(149/218): mozjs17-17.0.0-20.el7.x86_64.rpm                              | 1.4 MB  00:00:00
(150/218): microcode_ctl-2.1-61.10.el7_8.x86_64.rpm                      | 2.7 MB  00:00:00
(151/218): ncurses-5.9-14.20130511.el7_4.x86_64.rpm                      | 304 kB  00:00:00
(152/218): ncurses-base-5.9-14.20130511.el7_4.noarch.rpm                 |  68 kB  00:00:00
(153/218): ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm                 | 316 kB  00:00:00
(154/218): nspr-4.21.0-1.el7.x86_64.rpm                                  | 127 kB  00:00:00
(155/218): nss-3.44.0-7.el7_7.x86_64.rpm                                 | 854 kB  00:00:00
(156/218): nss-pem-1.0.3-7.el7.x86_64.rpm                                |  74 kB  00:00:00
(157/218): nss-softokn-3.44.0-8.el7_7.x86_64.rpm                         | 330 kB  00:00:00
(158/218): nss-softokn-freebl-3.44.0-8.el7_7.x86_64.rpm                  | 224 kB  00:00:00
(159/218): nss-sysinit-3.44.0-7.el7_7.x86_64.rpm                         |  65 kB  00:00:00
(160/218): nss-tools-3.44.0-7.el7_7.x86_64.rpm                           | 528 kB  00:00:00
(161/218): nss-util-3.44.0-4.el7_7.x86_64.rpm                            |  79 kB  00:00:00
(162/218): numactl-libs-2.0.12-5.el7.x86_64.rpm                          |  30 kB  00:00:00
(163/218): openldap-2.4.44-21.el7_6.x86_64.rpm                           | 356 kB  00:00:00
(164/218): openssh-7.4p1-21.el7.x86_64.rpm                               | 510 kB  00:00:00
(165/218): openssh-clients-7.4p1-21.el7.x86_64.rpm                       | 655 kB  00:00:00
(166/218): openssh-server-7.4p1-21.el7.x86_64.rpm                        | 459 kB  00:00:00
(167/218): openssl-1.0.2k-19.el7.x86_64.rpm                              | 493 kB  00:00:00
(168/218): openssl-libs-1.0.2k-19.el7.x86_64.rpm                         | 1.2 MB  00:00:00
(169/218): pam-1.1.8-23.el7.x86_64.rpm                                   | 721 kB  00:00:00
(170/218): parted-3.1-32.el7.x86_64.rpm                                  | 609 kB  00:00:00
(171/218): passwd-0.79-6.el7.x86_64.rpm                                  | 106 kB  00:00:00
(172/218): pciutils-libs-3.5.1-3.el7.x86_64.rpm                          |  46 kB  00:00:00
(173/218): plymouth-0.8.9-0.33.20140113.el7.centos.x86_64.rpm            | 116 kB  00:00:00
(174/218): plymouth-core-libs-0.8.9-0.33.20140113.el7.centos.x86_64.rpm  | 108 kB  00:00:00
(175/218): plymouth-scripts-0.8.9-0.33.20140113.el7.centos.x86_64.rpm    |  39 kB  00:00:00
(176/218): policycoreutils-2.5-34.el7.x86_64.rpm                         | 917 kB  00:00:00
(177/218): polkit-0.112-26.el7.x86_64.rpm                                | 170 kB  00:00:00
(178/218): postfix-2.10.1-9.el7.x86_64.rpm                               | 2.4 MB  00:00:00
(179/218): procps-ng-3.3.10-27.el7.x86_64.rpm                            | 291 kB  00:00:00
(180/218): linux-firmware-20191203-76.gite8a0f4c.el7.noarch.rpm          |  81 MB  00:00:01
(181/218): python-2.7.5-88.el7.x86_64.rpm                                |  96 kB  00:00:00
(182/218): python-firewall-0.6.3-8.el7_8.1.noarch.rpm                    | 354 kB  00:00:00
(183/218): python-gobject-base-3.22.0-1.el7_4.1.x86_64.rpm               | 294 kB  00:00:00
(184/218): python-linux-procfs-0.4.11-4.el7.noarch.rpm                   |  33 kB  00:00:00
(185/218): python-slip-0.4.0-4.el7.noarch.rpm                            |  31 kB  00:00:00
(186/218): python-slip-dbus-0.4.0-4.el7.noarch.rpm                       |  32 kB  00:00:00
(187/218): python-urlgrabber-3.10-10.el7.noarch.rpm                      | 108 kB  00:00:00
(188/218): readline-6.2-11.el7.x86_64.rpm                                | 193 kB  00:00:00
(189/218): rpm-4.11.3-43.el7.x86_64.rpm                                  | 1.2 MB  00:00:00
(190/218): rpm-build-libs-4.11.3-43.el7.x86_64.rpm                       | 107 kB  00:00:00
(191/218): python-libs-2.7.5-88.el7.x86_64.rpm                           | 5.6 MB  00:00:00
(192/218): rpm-libs-4.11.3-43.el7.x86_64.rpm                             | 278 kB  00:00:00
(193/218): rpm-python-4.11.3-43.el7.x86_64.rpm                           |  84 kB  00:00:00
(194/218): sed-4.2.2-6.el7.x86_64.rpm                                    | 231 kB  00:00:00
(195/218): python-perf-3.10.0-1127.19.1.el7.x86_64.rpm                   | 8.1 MB  00:00:00
(196/218): selinux-policy-3.13.1-266.el7_8.1.noarch.rpm                  | 497 kB  00:00:00
(197/218): rsyslog-8.24.0-52.el7_8.2.x86_64.rpm                          | 621 kB  00:00:00
(198/218): selinux-policy-targeted-3.13.1-266.el7_8.1.noarch.rpm         | 7.0 MB  00:00:00
(199/218): setup-2.8.71-11.el7.noarch.rpm                                | 166 kB  00:00:00
(200/218): shared-mime-info-1.8-5.el7.x86_64.rpm                         | 312 kB  00:00:00
(201/218): shadow-utils-4.6-5.el7.x86_64.rpm                             | 1.2 MB  00:00:00
(202/218): sqlite-3.7.17-8.el7_7.1.x86_64.rpm                            | 394 kB  00:00:00
(203/218): sudo-1.8.23-9.el7.x86_64.rpm                                  | 842 kB  00:00:00
(204/218): systemd-219-73.el7_8.9.x86_64.rpm                             | 5.1 MB  00:00:00
(205/218): systemd-libs-219-73.el7_8.9.x86_64.rpm                        | 416 kB  00:00:00
(206/218): systemd-sysv-219-73.el7_8.9.x86_64.rpm                        |  94 kB  00:00:00
(207/218): tar-1.26-35.el7.x86_64.rpm                                    | 846 kB  00:00:00
(208/218): teamd-1.29-1.el7.x86_64.rpm                                   | 115 kB  00:00:00
(209/218): tuned-2.11.0-8.el7.noarch.rpm                                 | 268 kB  00:00:00
(210/218): util-linux-2.23.2-63.el7.x86_64.rpm                           | 2.0 MB  00:00:00
(211/218): virt-what-1.18-4.el7.x86_64.rpm                               |  29 kB  00:00:00
(212/218): wpa_supplicant-2.6-12.el7.x86_64.rpm                          | 1.2 MB  00:00:00
(213/218): xfsprogs-4.5.0-20.el7.x86_64.rpm                              | 896 kB  00:00:00
(214/218): yum-3.4.3-167.el7.centos.noarch.rpm                           | 1.2 MB  00:00:00
(215/218): zlib-1.2.7-18.el7.x86_64.rpm                                  |  90 kB  00:00:00
(216/218): tzdata-2020a-1.el7.noarch.rpm                                 | 495 kB  00:00:00
(217/218): vim-minimal-7.4.629-6.el7.x86_64.rpm                          | 443 kB  00:00:00
(218/218): yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm           |  34 kB  00:00:00
------------------------------------------------------------------------------------------------
总计                                                             55 MB/s | 290 MB  00:00:05

你可能感兴趣的:(服务,linux,centos,yum,nginx)