zoukankan      html  css  js  c++  java
  • CentOS7源码编译安装FreeRadius3.17

    CentOS7源码编译安装FreeRadius3.17

    来源 https://blog.51cto.com/liqingbiao/2159741

    (一)环境简介
    1.OS:Centos7.4
    2.软件:Freeradiusd3.17(ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.17.tar.gz)
    3.网站:https://freeradius.org/

    (二)安装
    1.yum安装所需的依赖包

     [root@localhost raddb]#yum install  openssl openssl-devel libtalloc-devel libtalloc*  -y
     [root@localhost raddb]#yum install openldap-devel python-devel  -y

    2.解压和编译安装。由于编译安装默认的路径是/usr/local/etc/raddb/下

    [root@localhost opt]#wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.17.tar.gz
    [root@localhost opt]# tar xf freeradius-server-3.0.17.tar.gz
    [root@localhost opt]#cd freeradius-server-3.0.17
    [root@localhost freeradius-server-3.0.17]#./configure
    [root@localhost freeradius-server-3.0.17]#make && make certs && make install
    [root@localhost freeradius-server-3.0.17]# cd /usr/local/etc/raddb/
    [root@localhost raddb]# ls
    certs         experimental.conf  mods-available  panic.gdb   radiusd.conf     sites-enabled   users
    clients.conf  hints              mods-config     policy.d    README.rst       templates.conf
    dictionary    huntgroups         mods-enabled    proxy.conf  sites-available  trigger.conf

    3.配置radiusd启动服务文件

    [root@localhost ~]# groupadd radiusd
    [root@localhost ~]# useradd -g radiusd radiusd -s /sbin/nologin
    [root@localhost ~]# vim /usr/lib/systemd/system/radiusd.service 
    [Unit]
    Description=FreeRADIUS high performance RADIUS server.
    After=syslog.target network.target ipa.service dirsrv.target krb5kdc.service
    
    [Service]
    Type=forking
    PIDFile=/usr/local/var/run/radiusd/radiusd.pid
    ExecStartPre=-/bin/chown -R radiusd.radiusd /usr/local/var/run/radiusd
    ExecStartPre=/usr/local/sbin/radiusd -C
    ExecStart=/usr/local/sbin/radiusd -d /usr/local/etc/raddb
    ExecReload=/usr/local/sbin/radiusd -C
    ExecReload=/bin/kill -HUP $MAINPID
    
    [Install]
    WantedBy=multi-user.target

    4.创建启动服务

    [root@localhost opt]# systemctl enable radiusd
    [root@localhost opt]# systemctl start radiusd
    [root@localhost opt]# systemctl status radiusd
    ● radiusd.service - FreeRADIUS high performance RADIUS server.
       Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled)
       Active: active (running) since Tue 2018-08-14 14:11:51 CST; 13min ago
     Main PID: 26259 (radiusd)
       CGroup: /system.slice/radiusd.service
               └─26259 /usr/local/sbin/radiusd -d /usr/local/etc/raddb
    
    Aug 14 14:11:51 localhost.localdomain systemd[1]: Starting FreeRADIUS high performance RADIUS server....
    Aug 14 14:11:51 localhost.localdomain systemd[1]: Started FreeRADIUS high performance RADIUS server..
    [root@localhost opt]# systemctl restart radiusd
    [root@localhost opt]# systemctl status radiusd
    ● radiusd.service - FreeRADIUS high performance RADIUS server.
       Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled)
       Active: active (running) since Tue 2018-08-14 14:25:31 CST; 1s ago
      Process: 29267 ExecStart=/usr/local/sbin/radiusd -d /usr/local/etc/raddb (code=exited, status=0/SUCCESS)
      Process: 29263 ExecStartPre=/usr/local/sbin/radiusd -C (code=exited, status=0/SUCCESS)
      Process: 29261 ExecStartPre=/bin/chown -R radiusd.radiusd /usr/local/var/run/radiusd (code=exited, status=0/SUCCESS)
     Main PID: 29270 (radiusd)
       CGroup: /system.slice/radiusd.service
               └─29270 /usr/local/sbin/radiusd -d /usr/local/etc/raddb
    
    Aug 14 14:25:31 localhost.localdomain systemd[1]: Starting FreeRADIUS high performance RADIUS server....
    Aug 14 14:25:31 localhost.localdomain systemd[1]: Started FreeRADIUS high performance RADIUS server..

    备注:如果系统是centos6.x以下的版本,具体配置如下

    [root@FreeRadius2 raddb]# cp /usr/local/sbin/rc.radiusd /etc/init.d/radiused
    [root@FreeRadius2 raddb]# /etc/init.d/radiused start

    当出现报错的时候“/usr/local/etc/raddb/mods-enabled/ldap[1]: Failed to link to module 'rlm_ldap': /usr/local/lib/rlm_ldap.so: cannot open shared object file: No such file or directory

    造成服务起不来是由于编译的时候出现warning时编译rlm_ldap失败造成的。需要libldap2-dev 库文件

    === configuring in src/modules/rlm_ldap (/opt/freeradius-server-3.0.17/src/modules/rlm_ldap)
    configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=../../../config.cache --srcdir=.
    configure: loading cache ../../../config.cache
    checking for gcc... (cached) gcc
     checking for C compiler default output file name... a.out 
    > checking whether the C compiler works... yes 
    > checking whether we are cross compiling... no 
    > checking for suffix of executables... 
    > checking for suffix of object files... o 
    > checking whether we are using the GNU C compiler... yes 
    > checking whether gcc accepts -g... yes 
    > checking for gcc option to accept ISO C89... none needed 
    > checking for pthread_create in -lpthread... yes 
    > checking for ldap_init in -lldap_r... no 
    > checking for ldap.h... no 
    > configure: WARNING: silently not building rlm_ldap. 
    > configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r ldap.h. 
    > configure: creating ./config.status 
    > config.status: creating Makefile

    解决办法是
    [root@localhost mods-available]# yum install openldap-devel python-devel -y
    既可以解决。

    ldap服务器地址: 172.20.10.11  radius服务器地址: 172.20.101.184
    
    条件:
    1、首先ldap服务器和radius服务器可以互相ping通
    2、关闭防火墙
    3、SELINUX=disabled
    
    1、安装
    yum install -y freeradius freeradius-utils freeradius-ldap
    radiusd -X //测试 如果输出Ready to process requests,那么安装成功
    
    2、启动radius服务
    systemctl start radiusd
    systemctl enable radiusd
    3、测试radius本地用户
    vim /etc/raddb/users
    test111 Cleartext-Password := “password"
    
    radtest test111 password 127.0.0.1 0 testing123
    其中test111是用户,password是密码,testing123 是共享密钥
    
    4、配置客户端
    vim /etc/raddb/clients.conf
    client office-network {
    ipaddr = 192.168.0.0/16
    secret = 1234567890
    nas_type = other
    }
    
    client wq-network {
    ipaddr = 172.20.0.0/16
    secret = 1234567890
    nas_type = other
    }
    
    5、启用ldap
    vim /etc/raddb/mods-available/ldap
    
    ldap {
    server = ‘172.20.10.11’
    port = 389
    identity = ‘cn=ldap,dc=aaa,dc=com’
    password = 1234567890
    base_dn = 'dc=aaa,dc=com’
    
    ln -s /etc/raddb/mods-available/ldap /etc/raddb/mods-enabled/ldap
    
    6、编辑eap文件
    cat /etc/raddb/mods-enabled/eap|grep -v “#”|grep -v "^$”
    修改下面部分
    default_eap_type = peap
    default_eap_type = peap
    
    7、重启radius
    systemctl restart radiusd
    
    8、测试
    radtest network.wu password123 172.20.101.184 1812 1234567890
    Sent Access-Request Id 165 from 0.0.0.0:38042 to 172.20.101.184:1812 length 81
    User-Name = “network.wu”
    User-Password = “password123”
    NAS-IP-Address = 172.20.101.184
    NAS-Port = 1812
    Message-Authenticator = 0x00
    Cleartext-Password = “password123”
    Received Access-Accept Id 165 from 172.20.101.184:1812 to 0.0.0.0:0 length 20
    出现 Access-Accept表示成功
    [root@localhost ~]# yum list installed 
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: mirrors.ustc.edu.cn
    Installed Packages
    NetworkManager.x86_64                                         1:1.18.8-1.el7                                           @anaconda
    NetworkManager-libnm.x86_64                                   1:1.18.8-1.el7                                           @anaconda
    NetworkManager-team.x86_64                                    1:1.18.8-1.el7                                           @anaconda
    NetworkManager-tui.x86_64                                     1:1.18.8-1.el7                                           @anaconda
    NetworkManager-wifi.x86_64                                    1:1.18.8-1.el7                                           @anaconda
    acl.x86_64                                                    2.2.51-15.el7                                            @anaconda
    aic94xx-firmware.noarch                                       30-6.el7                                                 @anaconda
    alsa-firmware.noarch                                          1.0.28-2.el7                                             @anaconda
    alsa-lib.x86_64                                               1.1.8-1.el7                                              @anaconda
    alsa-tools-firmware.x86_64                                    1.1.0-1.el7                                              @anaconda
    apr.x86_64                                                    1.4.8-7.el7                                              @base    
    apr-util.x86_64                                               1.5.2-6.el7                                              @base    
    audit.x86_64                                                  2.8.5-4.el7                                              @anaconda
    audit-libs.x86_64                                             2.8.5-4.el7                                              @anaconda
    authconfig.x86_64                                             6.2.8-30.el7                                             @anaconda
    autoconf.noarch                                               2.69-11.el7                                              @base    
    automake.noarch                                               1.13.4-3.el7                                             @base    
    basesystem.noarch                                             10.0-7.el7.centos                                        @anaconda
    bash.x86_64                                                   4.2.46-34.el7                                            @anaconda
    bash-completion.noarch                                        1:2.1-8.el7                                              @base    
    bc.x86_64                                                     1.06.95-13.el7                                           @anaconda
    bind-export-libs.x86_64                                       32:9.11.4-26.P2.el7                                      @anaconda
    binutils.x86_64                                               2.27-44.base.el7                                         @anaconda
    biosdevname.x86_64                                            0.7.3-2.el7                                              @anaconda
    btrfs-progs.x86_64                                            4.9.1-1.el7                                              @anaconda
    bzip2-libs.x86_64                                             1.0.6-13.el7                                             @anaconda
    ca-certificates.noarch                                        2020.2.41-70.0.el7_8                                     @anaconda
    centos-indexhtml.noarch                                       7-9.el7.centos                                           @base    
    centos-logos.noarch                                           70.0.6-3.el7.centos                                      @anaconda
    centos-release.x86_64                                         7-9.2009.0.el7.centos                                    @anaconda
    chkconfig.x86_64                                              1.7.6-1.el7                                              @anaconda
    coreutils.x86_64                                              8.22-24.el7                                              @anaconda
    cpio.x86_64                                                   2.11-28.el7                                              @anaconda
    cpp.x86_64                                                    4.8.5-44.el7                                             @base    
    cracklib.x86_64                                               2.9.0-11.el7                                             @anaconda
    cracklib-dicts.x86_64                                         2.9.0-11.el7                                             @anaconda
    crda.x86_64                                                   3.18_2018.05.31-4.el7                                    @base    
    cronie.x86_64                                                 1.4.11-23.el7                                            @anaconda
    cronie-anacron.x86_64                                         1.4.11-23.el7                                            @anaconda
    crontabs.noarch                                               1.11-6.20121102git.el7                                   @anaconda
    cryptsetup-libs.x86_64                                        2.0.3-6.el7                                              @anaconda
    curl.x86_64                                                   7.29.0-59.el7_9.1                                        @updates 
    cyrus-sasl.x86_64                                             2.1.26-23.el7                                            @base    
    cyrus-sasl-devel.x86_64                                       2.1.26-23.el7                                            @base    
    cyrus-sasl-lib.x86_64                                         2.1.26-23.el7                                            @anaconda
    dbus.x86_64                                                   1:1.10.24-15.el7                                         @anaconda
    dbus-glib.x86_64                                              0.100-7.el7                                              @anaconda
    dbus-libs.x86_64                                              1:1.10.24-15.el7                                         @anaconda
    dbus-python.x86_64                                            1.1.1-9.el7                                              @anaconda
    dejavu-fonts-common.noarch                                    2.33-6.el7                                               @base    
    dejavu-sans-fonts.noarch                                      2.33-6.el7                                               @base    
    device-mapper.x86_64                                          7:1.02.170-6.el7                                         @anaconda
    device-mapper-event.x86_64                                    7:1.02.170-6.el7                                         @anaconda
    device-mapper-event-libs.x86_64                               7:1.02.170-6.el7                                         @anaconda
    device-mapper-libs.x86_64                                     7:1.02.170-6.el7                                         @anaconda
    device-mapper-persistent-data.x86_64                          0.8.5-3.el7                                              @anaconda
    dhclient.x86_64                                               12:4.2.5-82.el7.centos                                   @anaconda
    dhcp-common.x86_64                                            12:4.2.5-82.el7.centos                                   @anaconda
    dhcp-libs.x86_64                                              12:4.2.5-82.el7.centos                                   @anaconda
    diffutils.x86_64                                              3.3-5.el7                                                @anaconda
    dmidecode.x86_64                                              1:3.2-5.el7                                              @anaconda
    dracut.x86_64                                                 033-572.el7                                              @anaconda
    dracut-config-rescue.x86_64                                   033-572.el7                                              @anaconda
    dracut-network.x86_64                                         033-572.el7                                              @anaconda
    e2fsprogs.x86_64                                              1.42.9-19.el7                                            @anaconda
    e2fsprogs-libs.x86_64                                         1.42.9-19.el7                                            @anaconda
    ebtables.x86_64                                               2.0.10-16.el7                                            @anaconda
    elfutils-default-yama-scope.noarch                            0.176-5.el7                                              @anaconda
    elfutils-devel.x86_64                                         0.176-5.el7                                              @base    
    elfutils-libelf.x86_64                                        0.176-5.el7                                              @anaconda
    elfutils-libelf-devel.x86_64                                  0.176-5.el7                                              @base    
    elfutils-libs.x86_64                                          0.176-5.el7                                              @anaconda
    epel-release.noarch                                           7-11                                                     @extras  
    ethtool.x86_64                                                2:4.8-10.el7                                             @anaconda
    expat.x86_64                                                  2.1.0-12.el7                                             @anaconda
    file.x86_64                                                   5.11-37.el7                                              @anaconda
    file-libs.x86_64                                              5.11-37.el7                                              @anaconda
    filesystem.x86_64                                             3.2-25.el7                                               @anaconda
    findutils.x86_64                                              1:4.5.11-6.el7                                           @anaconda
    fipscheck.x86_64                                              1.4.1-6.el7                                              @anaconda
    fipscheck-lib.x86_64                                          1.4.1-6.el7                                              @anaconda
    firewalld.noarch                                              0.6.3-11.el7                                             @anaconda
    firewalld-filesystem.noarch                                   0.6.3-11.el7                                             @anaconda
    fontconfig.x86_64                                             2.13.0-4.3.el7                                           @base    
    fontpackages-filesystem.noarch                                1.44-8.el7                                               @base    
    freetype.x86_64                                               2.8-14.el7                                               @anaconda
    fxload.x86_64                                                 2002_04_11-16.el7                                        @anaconda
    gawk.x86_64                                                   4.0.2-4.el7_3.1                                          @anaconda
    gcc.x86_64                                                    4.8.5-44.el7                                             @base    
    gcc-c++.x86_64                                                4.8.5-44.el7                                             @base    
    gd.x86_64                                                     2.0.35-27.el7_9                                          @updates 
    gdbm.x86_64                                                   1.10-8.el7                                               @anaconda
    gdbm-devel.x86_64                                             1.10-8.el7                                               @base    
    gettext.x86_64                                                0.19.8.1-3.el7                                           @anaconda
    gettext-libs.x86_64                                           0.19.8.1-3.el7                                           @anaconda
    git.x86_64                                                    1.8.3.1-23.el7_8                                         @base    
    glib2.x86_64                                                  2.56.1-7.el7                                             @anaconda
    glibc.x86_64                                                  2.17-317.el7                                             @anaconda
    glibc-common.x86_64                                           2.17-317.el7                                             @anaconda
    glibc-devel.x86_64                                            2.17-317.el7                                             @base    
    glibc-headers.x86_64                                          2.17-317.el7                                             @base    
    gmp.x86_64                                                    1:6.0.0-15.el7                                           @anaconda
    gnupg2.x86_64                                                 2.0.22-5.el7_5                                           @anaconda
    gobject-introspection.x86_64                                  1.56.1-1.el7                                             @anaconda
    gperftools-libs.x86_64                                        2.6.1-1.el7                                              @base    
    gpgme.x86_64                                                  1.3.2-5.el7                                              @anaconda
    gpm-libs.x86_64                                               1.20.7-6.el7                                             @base    
    grep.x86_64                                                   2.20-3.el7                                               @anaconda
    groff-base.x86_64                                             1.22.2-8.el7                                             @anaconda
    grub2.x86_64                                                  1:2.02-0.86.el7.centos                                   @anaconda
    grub2-common.noarch                                           1:2.02-0.86.el7.centos                                   @anaconda
    grub2-pc.x86_64                                               1:2.02-0.86.el7.centos                                   @anaconda
    grub2-pc-modules.noarch                                       1:2.02-0.86.el7.centos                                   @anaconda
    grub2-tools.x86_64                                            1:2.02-0.86.el7.centos                                   @anaconda
    grub2-tools-extra.x86_64                                      1:2.02-0.86.el7.centos                                   @anaconda
    grub2-tools-minimal.x86_64                                    1:2.02-0.86.el7.centos                                   @anaconda
    grubby.x86_64                                                 8.28-26.el7                                              @anaconda
    gzip.x86_64                                                   1.5-10.el7                                               @anaconda
    hardlink.x86_64                                               1:1.0-19.el7                                             @anaconda
    hostname.x86_64                                               3.13-3.el7_7.1                                           @anaconda
    htop.x86_64                                                   2.2.0-3.el7                                              @epel    
    httpd.x86_64                                                  2.4.6-97.el7.centos                                      @updates 
    httpd-tools.x86_64                                            2.4.6-97.el7.centos                                      @updates 
    hwdata.x86_64                                                 0.252-9.7.el7                                            @anaconda
    info.x86_64                                                   5.1-5.el7                                                @anaconda
    initscripts.x86_64                                            9.49.53-1.el7                                            @anaconda
    iproute.x86_64                                                4.11.0-30.el7                                            @anaconda
    iprutils.x86_64                                               2.4.17.1-3.el7                                           @anaconda
    ipset.x86_64                                                  7.1-1.el7                                                @anaconda
    ipset-libs.x86_64                                             7.1-1.el7                                                @anaconda
    iptables.x86_64                                               1.4.21-35.el7                                            @anaconda
    iptables-services.x86_64                                      1.4.21-35.el7                                            @base    
    iputils.x86_64                                                20160308-10.el7                                          @anaconda
    irqbalance.x86_64                                             3:1.0.7-12.el7                                           @anaconda
    ivtv-firmware.noarch                                          2:20080701-26.el7                                        @anaconda
    iw.x86_64                                                     4.3-2.el7                                                @base    
    iwl100-firmware.noarch                                        39.31.5.1-79.el7                                         @anaconda
    iwl1000-firmware.noarch                                       1:39.31.5.1-79.el7                                       @anaconda
    iwl105-firmware.noarch                                        18.168.6.1-79.el7                                        @anaconda
    iwl135-firmware.noarch                                        18.168.6.1-79.el7                                        @anaconda
    iwl2000-firmware.noarch                                       18.168.6.1-79.el7                                        @anaconda
    iwl2030-firmware.noarch                                       18.168.6.1-79.el7                                        @anaconda
    iwl3160-firmware.noarch                                       25.30.13.0-79.el7                                        @anaconda
    iwl3945-firmware.noarch                                       15.32.2.9-79.el7                                         @anaconda
    iwl4965-firmware.noarch                                       228.61.2.24-79.el7                                       @anaconda
    iwl5000-firmware.noarch                                       8.83.5.1_1-79.el7                                        @anaconda
    iwl5150-firmware.noarch                                       8.24.2.2-79.el7                                          @anaconda
    iwl6000-firmware.noarch                                       9.221.4.1-79.el7                                         @anaconda
    iwl6000g2a-firmware.noarch                                    18.168.6.1-79.el7                                        @anaconda
    iwl6000g2b-firmware.noarch                                    18.168.6.1-79.el7                                        @anaconda
    iwl6050-firmware.noarch                                       41.28.5.1-79.el7                                         @anaconda
    iwl7260-firmware.noarch                                       25.30.13.0-79.el7                                        @anaconda
    jansson.x86_64                                                2.10-1.el7                                               @anaconda
    json-c.x86_64                                                 0.11-4.el7_0                                             @anaconda
    kbd.x86_64                                                    1.15.5-15.el7                                            @anaconda
    kbd-legacy.noarch                                             1.15.5-15.el7                                            @anaconda
    kbd-misc.noarch                                               1.15.5-15.el7                                            @anaconda
    kernel.x86_64                                                 3.10.0-1160.el7                                          @anaconda
    kernel-devel.x86_64                                           3.10.0-1160.11.1.el7                                     @updates 
    kernel-headers.x86_64                                         3.10.0-1160.11.1.el7                                     @updates 
    kernel-tools.x86_64                                           3.10.0-1160.el7                                          @anaconda
    kernel-tools-libs.x86_64                                      3.10.0-1160.el7                                          @anaconda
    kexec-tools.x86_64                                            2.0.15-51.el7                                            @anaconda
    keyutils-libs.x86_64                                          1.5.8-3.el7                                              @anaconda
    keyutils-libs-devel.x86_64                                    1.5.8-3.el7                                              @base    
    kmod.x86_64                                                   20-28.el7                                                @anaconda
    kmod-libs.x86_64                                              20-28.el7                                                @anaconda
    kpartx.x86_64                                                 0.4.9-133.el7                                            @anaconda
    krb5-devel.x86_64                                             1.15.1-50.el7                                            @base    
    krb5-libs.x86_64                                              1.15.1-50.el7                                            @anaconda
    less.x86_64                                                   458-9.el7                                                @anaconda
    libX11.x86_64                                                 1.6.7-3.el7_9                                            @updates 
    libX11-common.noarch                                          1.6.7-3.el7_9                                            @updates 
    libXau.x86_64                                                 1.0.8-2.1.el7                                            @base    
    libXpm.x86_64                                                 3.5.12-1.el7                                             @base    
    libacl.x86_64                                                 2.2.51-15.el7                                            @anaconda
    libaio.x86_64                                                 0.3.109-13.el7                                           @anaconda
    libassuan.x86_64                                              2.1.0-3.el7                                              @anaconda
    libattr.x86_64                                                2.4.46-13.el7                                            @anaconda
    libblkid.x86_64                                               2.23.2-65.el7                                            @anaconda
    libcap.x86_64                                                 2.22-11.el7                                              @anaconda
    libcap-ng.x86_64                                              0.7.5-4.el7                                              @anaconda
    libcom_err.x86_64                                             1.42.9-19.el7                                            @anaconda
    libcom_err-devel.x86_64                                       1.42.9-19.el7                                            @base    
    libcroco.x86_64                                               0.6.12-4.el7                                             @anaconda
    libcurl.x86_64                                                7.29.0-59.el7_9.1                                        @updates 
    libdaemon.x86_64                                              0.14-7.el7                                               @anaconda
    libdb.x86_64                                                  5.3.21-25.el7                                            @anaconda
    libdb-devel.x86_64                                            5.3.21-25.el7                                            @base    
    libdb-utils.x86_64                                            5.3.21-25.el7                                            @anaconda
    libdrm.x86_64                                                 2.4.97-2.el7                                             @anaconda
    libedit.x86_64                                                3.0-12.20121213cvs.el7                                   @anaconda
    libestr.x86_64                                                0.1.9-2.el7                                              @anaconda
    libevent.x86_64                                               2.0.21-4.el7                                             @base    
    libevent-devel.x86_64                                         2.0.21-4.el7                                             @base    
    libfastjson.x86_64                                            0.99.4-3.el7                                             @anaconda
    libffi.x86_64                                                 3.0.13-19.el7                                            @anaconda
    libgcc.x86_64                                                 4.8.5-44.el7                                             @anaconda
    libgcrypt.x86_64                                              1.5.3-14.el7                                             @anaconda
    libgomp.x86_64                                                4.8.5-44.el7                                             @anaconda
    libgpg-error.x86_64                                           1.12-3.el7                                               @anaconda
    libidn.x86_64                                                 1.28-4.el7                                               @anaconda
    libjpeg-turbo.x86_64                                          1.2.90-8.el7                                             @base    
    libkadm5.x86_64                                               1.15.1-50.el7                                            @base    
    libmnl.x86_64                                                 1.0.3-7.el7                                              @anaconda
    libmount.x86_64                                               2.23.2-65.el7                                            @anaconda
    libmpc.x86_64                                                 1.0.1-3.el7                                              @base    
    libndp.x86_64                                                 1.2-9.el7                                                @anaconda
    libnetfilter_conntrack.x86_64                                 1.0.6-1.el7_3                                            @anaconda
    libnfnetlink.x86_64                                           1.0.1-4.el7                                              @anaconda
    libnl.x86_64                                                  1.1.4-3.el7                                              @base    
    libnl3.x86_64                                                 3.2.28-4.el7                                             @anaconda
    libnl3-cli.x86_64                                             3.2.28-4.el7                                             @anaconda
    libpcap.x86_64                                                14:1.5.3-12.el7                                          @base    
    libpcap-devel.x86_64                                          14:1.5.3-12.el7                                          @base    
    libpciaccess.x86_64                                           0.14-1.el7                                               @anaconda
    libpipeline.x86_64                                            1.2.3-3.el7                                              @anaconda
    libpng.x86_64                                                 2:1.5.13-8.el7                                           @anaconda
    libpwquality.x86_64                                           1.2.3-5.el7                                              @anaconda
    libselinux.x86_64                                             2.5-15.el7                                               @anaconda
    libselinux-devel.x86_64                                       2.5-15.el7                                               @base    
    libselinux-python.x86_64                                      2.5-15.el7                                               @anaconda
    libselinux-utils.x86_64                                       2.5-15.el7                                               @anaconda
    libsemanage.x86_64                                            2.5-14.el7                                               @anaconda
    libsepol.x86_64                                               2.5-10.el7                                               @anaconda
    libsepol-devel.x86_64                                         2.5-10.el7                                               @base    
    libsmartcols.x86_64                                           2.23.2-65.el7                                            @anaconda
    libss.x86_64                                                  1.42.9-19.el7                                            @anaconda
    libssh2.x86_64                                                1.8.0-4.el7                                              @anaconda
    libstdc++.x86_64                                              4.8.5-44.el7                                             @anaconda
    libstdc++-devel.x86_64                                        4.8.5-44.el7                                             @base    
    libsysfs.x86_64                                               2.1.0-16.el7                                             @anaconda
    libtalloc.x86_64                                              2.1.16-1.el7                                             @base    
    libtalloc-devel.x86_64                                        2.1.16-1.el7                                             @base    
    libtasn1.x86_64                                               4.10-1.el7                                               @anaconda
    libteam.x86_64                                                1.29-3.el7                                               @anaconda
    libtool.x86_64                                                2.4.2-22.el7_3                                           @base    
    libtool-ltdl.x86_64                                           2.4.2-22.el7_3                                           @base    
    libtool-ltdl-devel.x86_64                                     2.4.2-22.el7_3                                           @base    
    libunistring.x86_64                                           0.9.3-9.el7                                              @anaconda
    libuser.x86_64                                                0.60-9.el7                                               @anaconda
    libutempter.x86_64                                            1.1.6-4.el7                                              @anaconda
    libuuid.x86_64                                                2.23.2-65.el7                                            @anaconda
    libverto.x86_64                                               0.2.5-4.el7                                              @anaconda
    libverto-devel.x86_64                                         0.2.5-4.el7                                              @base    
    libxcb.x86_64                                                 1.13-1.el7                                               @base    
    libxml2.x86_64                                                2.9.1-6.el7.5                                            @anaconda
    libxml2-python.x86_64                                         2.9.1-6.el7.5                                            @base    
    libxslt.x86_64                                                1.1.28-6.el7                                             @base    
    libzip.x86_64                                                 0.10.1-8.el7                                             @base    
    linux-firmware.noarch                                         20200421-79.git78c0348.el7                               @anaconda
    lm_sensors-devel.x86_64                                       3.4.0-8.20160601gitf9185e5.el7                           @base    
    lm_sensors-libs.x86_64                                        3.4.0-8.20160601gitf9185e5.el7                           @base    
    logrotate.x86_64                                              3.8.6-19.el7                                             @anaconda
    lsscsi.x86_64                                                 0.27-6.el7                                               @anaconda
    lua.x86_64                                                    5.1.4-15.el7                                             @anaconda
    lvm2.x86_64                                                   7:2.02.187-6.el7                                         @anaconda
    lvm2-libs.x86_64                                              7:2.02.187-6.el7                                         @anaconda
    lz4.x86_64                                                    1.8.3-1.el7                                              @anaconda
    lzo.x86_64                                                    2.06-8.el7                                               @anaconda
    m4.x86_64                                                     1.4.16-10.el7                                            @base    
    mailcap.noarch                                                2.1.41-2.el7                                             @base    
    make.x86_64                                                   1:3.82-24.el7                                            @anaconda
    man-db.x86_64                                                 2.6.3-11.el7                                             @anaconda
    mariadb.x86_64                                                1:5.5.68-1.el7                                           @base    
    mariadb-devel.x86_64                                          1:5.5.68-1.el7                                           @base    
    mariadb-libs.x86_64                                           1:5.5.68-1.el7                                           @anaconda
    mariadb-server.x86_64                                         1:5.5.68-1.el7                                           @base    
    microcode_ctl.x86_64                                          2:2.1-73.el7                                             @anaconda
    mozjs17.x86_64                                                17.0.0-20.el7                                            @anaconda
    mpfr.x86_64                                                   3.1.1-4.el7                                              @base    
    nano.x86_64                                                   2.3.1-10.el7                                             @base    
    ncurses.x86_64                                                5.9-14.20130511.el7_4                                    @anaconda
    ncurses-base.noarch                                           5.9-14.20130511.el7_4                                    @anaconda
    ncurses-devel.x86_64                                          5.9-14.20130511.el7_4                                    @base    
    ncurses-libs.x86_64                                           5.9-14.20130511.el7_4                                    @anaconda
    net-snmp.x86_64                                               1:5.7.2-49.el7_9.1                                       @updates 
    net-snmp-agent-libs.x86_64                                    1:5.7.2-49.el7_9.1                                       @updates 
    net-snmp-devel.x86_64                                         1:5.7.2-49.el7_9.1                                       @updates 
    net-snmp-libs.x86_64                                          1:5.7.2-49.el7_9.1                                       @updates 
    net-snmp-utils.x86_64                                         1:5.7.2-49.el7_9.1                                       @updates 
    net-tools.x86_64                                              2.0-0.25.20131004git.el7                                 @base    
    newt.x86_64                                                   0.52.15-4.el7                                            @anaconda
    newt-python.x86_64                                            0.52.15-4.el7                                            @anaconda
    nginx.x86_64                                                  1:1.16.1-3.el7                                           @epel    
    nginx-all-modules.noarch                                      1:1.16.1-3.el7                                           @epel    
    nginx-filesystem.noarch                                       1:1.16.1-3.el7                                           @epel    
    nginx-mod-http-image-filter.x86_64                            1:1.16.1-3.el7                                           @epel    
    nginx-mod-http-perl.x86_64                                    1:1.16.1-3.el7                                           @epel    
    nginx-mod-http-xslt-filter.x86_64                             1:1.16.1-3.el7                                           @epel    
    nginx-mod-mail.x86_64                                         1:1.16.1-3.el7                                           @epel    
    nginx-mod-stream.x86_64                                       1:1.16.1-3.el7                                           @epel    
    nspr.x86_64                                                   4.21.0-1.el7                                             @anaconda
    nss.x86_64                                                    3.44.0-7.el7_7                                           @anaconda
    nss-pem.x86_64                                                1.0.3-7.el7                                              @anaconda
    nss-softokn.x86_64                                            3.44.0-8.el7_7                                           @anaconda
    nss-softokn-freebl.x86_64                                     3.44.0-8.el7_7                                           @anaconda
    nss-sysinit.x86_64                                            3.44.0-7.el7_7                                           @anaconda
    nss-tools.x86_64                                              3.44.0-7.el7_7                                           @anaconda
    nss-util.x86_64                                               3.44.0-4.el7_7                                           @anaconda
    numactl-libs.x86_64                                           2.0.12-5.el7                                             @anaconda
    openldap.x86_64                                               2.4.44-22.el7                                            @anaconda
    openldap-devel.x86_64                                         2.4.44-22.el7                                            @base    
    openssh.x86_64                                                7.4p1-21.el7                                             @anaconda
    openssh-clients.x86_64                                        7.4p1-21.el7                                             @anaconda
    openssh-server.x86_64                                         7.4p1-21.el7                                             @anaconda
    openssl.x86_64                                                1:1.0.2k-21.el7_9                                        @updates 
    openssl-devel.x86_64                                          1:1.0.2k-21.el7_9                                        @updates 
    openssl-libs.x86_64                                           1:1.0.2k-21.el7_9                                        @updates 
    openssl11-libs.x86_64                                         1:1.1.1g-2.el7                                           @epel    
    os-prober.x86_64                                              1.58-9.el7                                               @anaconda
    p11-kit.x86_64                                                0.23.5-3.el7                                             @anaconda
    p11-kit-trust.x86_64                                          0.23.5-3.el7                                             @anaconda
    p7zip.x86_64                                                  16.02-10.el7                                             @epel    
    pam.x86_64                                                    1.1.8-23.el7                                             @anaconda
    pam-devel.x86_64                                              1.1.8-23.el7                                             @base    
    parted.x86_64                                                 3.1-32.el7                                               @anaconda
    passwd.x86_64                                                 0.79-6.el7                                               @anaconda
    pciutils.x86_64                                               3.5.1-3.el7                                              @base    
    pciutils-libs.x86_64                                          3.5.1-3.el7                                              @anaconda
    pcre.x86_64                                                   8.32-17.el7                                              @anaconda
    pcre-devel.x86_64                                             8.32-17.el7                                              @base    
    perl.x86_64                                                   4:5.16.3-297.el7                                         @base    
    perl-Carp.noarch                                              1.26-244.el7                                             @base    
    perl-Compress-Raw-Bzip2.x86_64                                2.061-3.el7                                              @base    
    perl-Compress-Raw-Zlib.x86_64                                 1:2.061-4.el7                                            @base    
    perl-DBD-MySQL.x86_64                                         4.023-6.el7                                              @base    
    perl-DBI.x86_64                                               1.627-4.el7                                              @base    
    perl-Data-Dumper.x86_64                                       2.145-3.el7                                              @base    
    perl-Encode.x86_64                                            2.51-7.el7                                               @base    
    perl-Error.noarch                                             1:0.17020-2.el7                                          @base    
    perl-Exporter.noarch                                          5.68-3.el7                                               @base    
    perl-ExtUtils-Install.noarch                                  1.58-297.el7                                             @base    
    perl-ExtUtils-MakeMaker.noarch                                6.68-3.el7                                               @base    
    perl-ExtUtils-Manifest.noarch                                 1.61-244.el7                                             @base    
    perl-ExtUtils-ParseXS.noarch                                  1:3.18-3.el7                                             @base    
    perl-File-Path.noarch                                         2.09-2.el7                                               @base    
    perl-File-Temp.noarch                                         0.23.01-3.el7                                            @base    
    perl-Filter.x86_64                                            1.49-3.el7                                               @base    
    perl-Getopt-Long.noarch                                       2.40-3.el7                                               @base    
    perl-Git.noarch                                               1.8.3.1-23.el7_8                                         @base    
    perl-HTTP-Tiny.noarch                                         0.033-3.el7                                              @base    
    perl-IO-Compress.noarch                                       2.061-2.el7                                              @base    
    perl-Net-Daemon.noarch                                        0.48-5.el7                                               @base    
    perl-PathTools.x86_64                                         3.40-5.el7                                               @base    
    perl-PlRPC.noarch                                             0.2020-14.el7                                            @base    
    perl-Pod-Escapes.noarch                                       1:1.04-297.el7                                           @base    
    perl-Pod-Perldoc.noarch                                       3.20-4.el7                                               @base    
    perl-Pod-Simple.noarch                                        1:3.28-4.el7                                             @base    
    perl-Pod-Usage.noarch                                         1.63-3.el7                                               @base    
    perl-Scalar-List-Utils.x86_64                                 1.27-248.el7                                             @base    
    perl-Socket.x86_64                                            2.010-5.el7                                              @base    
    perl-Storable.x86_64                                          2.45-3.el7                                               @base    
    perl-TermReadKey.x86_64                                       2.30-20.el7                                              @base    
    perl-Test-Harness.noarch                                      3.28-3.el7                                               @base    
    perl-Text-ParseWords.noarch                                   3.29-4.el7                                               @base    
    perl-Thread-Queue.noarch                                      3.02-2.el7                                               @base    
    perl-Time-HiRes.x86_64                                        4:1.9725-3.el7                                           @base    
    perl-Time-Local.noarch                                        1.2300-2.el7                                             @base    
    perl-constant.noarch                                          1.27-2.el7                                               @base    
    perl-devel.x86_64                                             4:5.16.3-297.el7                                         @base    
    perl-libs.x86_64                                              4:5.16.3-297.el7                                         @base    
    perl-macros.x86_64                                            4:5.16.3-297.el7                                         @base    
    perl-parent.noarch                                            1:0.225-244.el7                                          @base    
    perl-podlators.noarch                                         2.5.1-3.el7                                              @base    
    perl-threads.x86_64                                           1.87-4.el7                                               @base    
    perl-threads-shared.x86_64                                    1.43-6.el7                                               @base    
    php.x86_64                                                    5.4.16-48.el7                                            @base    
    php-cli.x86_64                                                5.4.16-48.el7                                            @base    
    php-common.x86_64                                             5.4.16-48.el7                                            @base    
    php-devel.x86_64                                              5.4.16-48.el7                                            @base    
    php-fpm.x86_64                                                5.4.16-48.el7                                            @base    
    php-mbstring.x86_64                                           5.4.16-48.el7                                            @base    
    php-mysql.x86_64                                              5.4.16-48.el7                                            @base    
    php-pdo.x86_64                                                5.4.16-48.el7                                            @base    
    php-xml.x86_64                                                5.4.16-48.el7                                            @base    
    pinentry.x86_64                                               0.8.1-17.el7                                             @anaconda
    pkgconfig.x86_64                                              1:0.27.1-4.el7                                           @anaconda
    plymouth.x86_64                                               0.8.9-0.34.20140113.el7.centos                           @anaconda
    plymouth-core-libs.x86_64                                     0.8.9-0.34.20140113.el7.centos                           @anaconda
    plymouth-scripts.x86_64                                       0.8.9-0.34.20140113.el7.centos                           @anaconda
    policycoreutils.x86_64                                        2.5-34.el7                                               @anaconda
    polkit.x86_64                                                 0.112-26.el7                                             @anaconda
    polkit-pkla-compat.x86_64                                     0.1-4.el7                                                @anaconda
    popt.x86_64                                                   1.13-16.el7                                              @anaconda
    popt-devel.x86_64                                             1.13-16.el7                                              @base    
    postfix.x86_64                                                2:2.10.1-9.el7                                           @anaconda
    procps-ng.x86_64                                              3.3.10-28.el7                                            @anaconda
    psmisc.x86_64                                                 22.20-17.el7                                             @base    
    pth.x86_64                                                    2.0.7-23.el7                                             @anaconda
    pygpgme.x86_64                                                0.3-9.el7                                                @anaconda
    pyliblzma.x86_64                                              0.5.3-11.el7                                             @anaconda
    pyparsing.noarch                                              1.5.6-9.el7                                              @base    
    python.x86_64                                                 2.7.5-90.el7                                             @updates 
    python-chardet.noarch                                         2.2.1-3.el7                                              @base    
    python-configobj.noarch                                       4.7.2-7.el7                                              @anaconda
    python-decorator.noarch                                       3.4.0-3.el7                                              @anaconda
    python-devel.x86_64                                           2.7.5-90.el7                                             @updates 
    python-firewall.noarch                                        0.6.3-11.el7                                             @anaconda
    python-gobject-base.x86_64                                    3.22.0-1.el7_4.1                                         @anaconda
    python-iniparse.noarch                                        0.4-9.el7                                                @anaconda
    python-kitchen.noarch                                         1.1.1-5.el7                                              @base    
    python-libs.x86_64                                            2.7.5-90.el7                                             @updates 
    python-linux-procfs.noarch                                    0.4.11-4.el7                                             @anaconda
    python-perf.x86_64                                            3.10.0-1160.el7                                          @anaconda
    python-pycurl.x86_64                                          7.19.0-19.el7                                            @anaconda
    python-pyudev.noarch                                          0.15-9.el7                                               @anaconda
    python-rpm-macros.noarch                                      3-34.el7                                                 @base    
    python-schedutils.x86_64                                      0.4-6.el7                                                @anaconda
    python-slip.noarch                                            0.4.0-4.el7                                              @anaconda
    python-slip-dbus.noarch                                       0.4.0-4.el7                                              @anaconda
    python-srpm-macros.noarch                                     3-34.el7                                                 @base    
    python-urlgrabber.noarch                                      3.10-10.el7                                              @anaconda
    python2-rpm-macros.noarch                                     3-34.el7                                                 @base    
    pyxattr.x86_64                                                0.5.1-5.el7                                              @anaconda
    qrencode-libs.x86_64                                          3.4.1-3.el7                                              @anaconda
    readline.x86_64                                               6.2-11.el7                                               @anaconda
    readline-devel.x86_64                                         6.2-11.el7                                               @base    
    rootfiles.noarch                                              8.1-11.el7                                               @anaconda
    rpm.x86_64                                                    4.11.3-45.el7                                            @anaconda
    rpm-build-libs.x86_64                                         4.11.3-45.el7                                            @anaconda
    rpm-devel.x86_64                                              4.11.3-45.el7                                            @base    
    rpm-libs.x86_64                                               4.11.3-45.el7                                            @anaconda
    rpm-python.x86_64                                             4.11.3-45.el7                                            @anaconda
    rsync.x86_64                                                  3.1.2-10.el7                                             @base    
    rsyslog.x86_64                                                8.24.0-55.el7                                            @anaconda
    sed.x86_64                                                    4.2.2-7.el7                                              @anaconda
    selinux-policy.noarch                                         3.13.1-268.el7                                           @anaconda
    selinux-policy-targeted.noarch                                3.13.1-268.el7                                           @anaconda
    setup.noarch                                                  2.8.71-11.el7                                            @anaconda
    shadow-utils.x86_64                                           2:4.6-5.el7                                              @anaconda
    shared-mime-info.x86_64                                       1.8-5.el7                                                @anaconda
    slang.x86_64                                                  2.2.4-11.el7                                             @anaconda
    snappy.x86_64                                                 1.1.0-3.el7                                              @anaconda
    sqlite.x86_64                                                 3.7.17-8.el7_7.1                                         @anaconda
    sudo.x86_64                                                   1.8.23-10.el7                                            @anaconda
    systemd.x86_64                                                219-78.el7                                               @anaconda
    systemd-libs.x86_64                                           219-78.el7                                               @anaconda
    systemd-sysv.x86_64                                           219-78.el7                                               @anaconda
    systemtap-sdt-devel.x86_64                                    4.0-13.el7                                               @base    
    sysvinit-tools.x86_64                                         2.88-14.dsf.el7                                          @anaconda
    tar.x86_64                                                    2:1.26-35.el7                                            @anaconda
    tcp_wrappers-devel.x86_64                                     7.6-77.el7                                               @base    
    tcp_wrappers-libs.x86_64                                      7.6-77.el7                                               @anaconda
    teamd.x86_64                                                  1.29-3.el7                                               @anaconda
    tree.x86_64                                                   1.6.0-10.el7                                             @base    
    tuned.noarch                                                  2.11.0-9.el7                                             @anaconda
    tzdata.noarch                                                 2020a-1.el7                                              @anaconda
    unixODBC.x86_64                                               2.3.1-14.el7                                             @base    
    unixODBC-devel.x86_64                                         2.3.1-14.el7                                             @base    
    unzip.x86_64                                                  6.0-21.el7                                               @base    
    ustr.x86_64                                                   1.0.4-16.el7                                             @anaconda
    util-linux.x86_64                                             2.23.2-65.el7                                            @anaconda
    vim-common.x86_64                                             2:7.4.629-8.el7_9                                        @updates 
    vim-enhanced.x86_64                                           2:7.4.629-8.el7_9                                        @updates 
    vim-filesystem.x86_64                                         2:7.4.629-8.el7_9                                        @updates 
    vim-minimal.x86_64                                            2:7.4.629-7.el7                                          @anaconda
    virt-what.x86_64                                              1.18-4.el7                                               @anaconda
    wget.x86_64                                                   1.14-18.el7_6.1                                          @base    
    which.x86_64                                                  2.20-7.el7                                               @anaconda
    wireless-tools.x86_64                                         1:29-13.el7                                              @epel    
    wpa_supplicant.x86_64                                         1:2.6-12.el7                                             @anaconda
    xfsprogs.x86_64                                               4.5.0-22.el7                                             @anaconda
    xz.x86_64                                                     5.2.2-1.el7                                              @anaconda
    xz-devel.x86_64                                               5.2.2-1.el7                                              @base    
    xz-libs.x86_64                                                5.2.2-1.el7                                              @anaconda
    yum.noarch                                                    3.4.3-168.el7.centos                                     @anaconda
    yum-metadata-parser.x86_64                                    1.1.4-10.el7                                             @anaconda
    yum-plugin-fastestmirror.noarch                               1.1.31-54.el7_8                                          @anaconda
    yum-utils.noarch                                              1.1.31-54.el7_8                                          @base    
    zip.x86_64                                                    3.0-11.el7                                               @base    
    zlib.x86_64                                                   1.2.7-18.el7                                             @anaconda
    zlib-devel.x86_64                                             1.2.7-18.el7                                             @base    
    [root@localhost ~]# 

    ========== End

  • 相关阅读:
    Python列表和元组知识点
    Python 字符串操作常用知识点
    ng-alain的sf如何自定义部件
    Spring-手写Spring注解版本事务,Spring事物的七大传播行为
    Spring-SpringAOP原理,手写Spring事务框架
    JVM性能优化--类加载器,手动实现类的热加载
    JVM性能优化--字节码技术
    JVM性能优化--JVM参数配置,使用JMeter简单测试配合说明参数调优
    JVM性能优化--Java的垃圾回收机制
    设计模式之原型模式、策略模式、观察者模式
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/14241574.html
Copyright © 2011-2022 走看看