Linux技术---部署PXE服务器实现批量安装操作系统

news2024/11/12 21:02:39

部署PXE服务器实现批量安装操作系统

部署PXE服务器实现批量安装操作系统

  • 部署PXE服务器实现批量安装操作系统
    • 1.安装相关服务组件
      • 1.1 安装tftp和xinetd
      • 1.2 安装DHCP服务
      • 1.3 准备 Linux 内核、初始化镜像文件、 PXE 引导程序、安装FTP服务并准备安装源
      • 1.4 配置启动菜单文件
      • 1.5 验证PXE网络安装
    • 2. 部署Kickstart无人值守安装
      • 2.1 安装kickstart
      • 2.2 安装图形化桌面(如已安装可忽略)
      • 2.3 配置kickstart选项
        • 1.基本配置
        • 2.安装方法
        • 3.引导装载程序选项
        • 4.分区信息
        • 5.网络配置
        • 6.防火墙配置
        • 7.安装后脚本
        • 8.保存自动应答文件
        • 9.配置需要安装的软件包
        • 10.编辑引导菜单文件 default,添加 ks 引导参数
        • 11.验证无人值守安装

1.安装相关服务组件

PXE 远程安装服务器集成了 CentOS 7 安装源、TFTP 服务、DHCP 服务,能够向客户机裸机发送 PXE引导程序、Linux 内核、启动菜单等数据,以及提供安装文件

本次部署使用虚拟机,虚拟机系统为CentOS7系统,挂载了本地yum源。
虚拟机网络信息如下:

[root@gbase8c_5_114 yum.repos.d]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:98:f2:36 brd ff:ff:ff:ff:ff:ff
    inet 172.16.5.114/24 brd 172.16.5.255 scope global noprefixroute ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:fe98:f236/64 scope link
       valid_lft forever preferred_lft forever

#关闭防火墙
[root@gbase8c_5_114 pxeboot]# systemctl stop firewalld
[root@gbase8c_5_114 pxeboot]# systemctl disable firewalld
[root@gbase8c_5_114 pxeboot]# setenforce 0
setenforce: SELinux is disabled

1.1 安装tftp和xinetd

[root@gbase8c_5_114 yum.repos.d]# yum -y install tftp-server xinetd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
base                                                                                                                                                                                    | 3.6 kB  00:00:00
(1/2): base/group_gz                                                                                                                                                                    | 153 kB  00:00:00
(2/2): base/primary_db                                                                                                                                                                  | 3.3 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package tftp-server.x86_64 0:5.2-22.el7 will be installed
---> Package xinetd.x86_64 2:2.3.15-14.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
 Package                                             Arch                                           Version                                                 Repository                                    Size
===============================================================================================================================================================================================================
Installing:
 tftp-server                                         x86_64                                         5.2-22.el7                                              base                                          47 k
 xinetd                                              x86_64                                         2:2.3.15-14.el7                                         base                                         128 k

Transaction Summary
===============================================================================================================================================================================================================
Install  2 Packages

Total download size: 175 k
Installed size: 325 k
Downloading packages:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                           19 MB/s | 175 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:xinetd-2.3.15-14.el7.x86_64                                                                                                                                                               1/2
  Installing : tftp-server-5.2-22.el7.x86_64                                                                                                                                                               2/2
  Verifying  : tftp-server-5.2-22.el7.x86_64                                                                                                                                                               1/2
  Verifying  : 2:xinetd-2.3.15-14.el7.x86_64                                                                                                                                                               2/2

Installed:
  tftp-server.x86_64 0:5.2-22.el7                                                                         xinetd.x86_64 2:2.3.15-14.el7

Complete!


#修改TFTP服务的配置文件
[root@gbase8c_5_114 yum.repos.d]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = no
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /var/lib/tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}


#启动和关闭服务
 
systemctl start tftp
systemctl enable tftp
systemctl start xinetd
systemctl enable xinetd

1.2 安装DHCP服务

[root@gbase8c_5_114 yum.repos.d]# yum -y install dhcp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package dhcp.x86_64 12:4.2.5-79.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
 Package                                      Arch                                           Version                                                        Repository                                    Size
===============================================================================================================================================================================================================
Installing:
 dhcp                                         x86_64                                         12:4.2.5-79.el7.centos                                         base                                         515 k

Transaction Summary
===============================================================================================================================================================================================================
Install  1 Package

Total download size: 515 k
Installed size: 1.4 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 12:dhcp-4.2.5-79.el7.centos.x86_64                                                                                                                                                          1/1
  Verifying  : 12:dhcp-4.2.5-79.el7.centos.x86_64                                                                                                                                                          1/1

Installed:
  dhcp.x86_64 12:4.2.5-79.el7.centos

Complete!

#拷贝dhcp配置文件
cp /usr/share/doc/dhcp-4.2.5/dhcpd.conf.example /etc/dhcp/dhcpd.conf
#修改DHCP服务的配置文件
vim /etc/dhcp/dhcpd.conf
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
ddns-update-style none;          #禁用 DNS 动态更新
next-server 172.16.5.114         #指定 TFTP 服务器的地址
filename "pxelinux.0";           #指定 PXE 引导程序的文件名

default-lease-time 600;
max-lease-time 7200;

# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

# A slightly different configuration for an internal subnet.
subnet 172.16.5.0 netmask 255.255.255.0 {       #声明要分配的网段地址
  range 172.16.5.1 172.16.5.252;                #设置地址池
  #option domain-name-servers ns1.internal.example.org;
  #option domain-name "internal.example.org";
  option routers 172.16.5.1;
  option broadcast-address 172.16.5.255;        #默认网关地址指向TFTP服务器的IP地址
  default-lease-time 600;
  max-lease-time 7200;
}

#启动dhcp服务
systemctl start dhcpd
#查看dhcp服务状态
systemctl statsu dhcpd
Unknown operation 'statsu'.
[root@gbase8c_5_114 yum.repos.d]# systemctl status dhcpd
● dhcpd.service - DHCPv4 Server Daemon
   Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Sat 2024-05-11 14:55:20 CST; 11s ago
     Docs: man:dhcpd(8)
           man:dhcpd.conf(5)
 Main PID: 12372 (dhcpd)
   Status: "Dispatching packets..."
   CGroup: /system.slice/dhcpd.service
           └─12372 /usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid

May 11 14:55:29 gbase8c_5_114 dhcpd[12372]: DHCPREQUEST for 172.16.5.3 (172.16.5.114) from 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:29 gbase8c_5_114 dhcpd[12372]: DHCPACK on 172.16.5.3 to 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:30 gbase8c_5_114 dhcpd[12372]: DHCPDISCOVER from 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:30 gbase8c_5_114 dhcpd[12372]: DHCPOFFER on 172.16.5.3 to 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:30 gbase8c_5_114 dhcpd[12372]: DHCPREQUEST for 172.16.5.3 (172.16.5.114) from 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:30 gbase8c_5_114 dhcpd[12372]: DHCPACK on 172.16.5.3 to 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:31 gbase8c_5_114 dhcpd[12372]: DHCPDISCOVER from 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:31 gbase8c_5_114 dhcpd[12372]: DHCPOFFER on 172.16.5.3 to 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:31 gbase8c_5_114 dhcpd[12372]: DHCPREQUEST for 172.16.5.3 (172.16.5.114) from 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192
May 11 14:55:31 gbase8c_5_114 dhcpd[12372]: DHCPACK on 172.16.5.3 to 6c:92:bf:17:c4:d0 (6C92BF17C4D0) via ens192

#配置开机自启
[root@gbase8c_5_114 yum.repos.d]# systemctl enable dhcpd
Created symlink from /etc/systemd/system/multi-user.target.wants/dhcpd.service to /usr/lib/systemd/system/dhcpd.service.

1.3 准备 Linux 内核、初始化镜像文件、 PXE 引导程序、安装FTP服务并准备安装源

#准备内核和初始化镜像文件
[root@gbase8c_5_114 mnt]# cd /mnt/cdrom/images/pxeboot/     #已事先把光盘挂载到/mnt/cdrom目录中
[root@gbase8c_5_114 pxeboot]# cp vmlinuz /var/lib/tftpboot/ && cp initrd.img /var/lib/tftpboot/   #复制Linux系统的内核文件和初始化镜像文件(linux引导加载模块)到TFTP根目录下

#准备pxe引导程序
[root@gbase8c_5_114 pxeboot]# yum -y install syslinux
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package syslinux.x86_64 0:4.05-15.el7 will be installed
--> Processing Dependency: mtools for package: syslinux-4.05-15.el7.x86_64
--> Running transaction check
---> Package mtools.x86_64 0:4.0.18-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
 Package                                           Arch                                            Version                                                 Repository                                     Size
===============================================================================================================================================================================================================
Installing:
 syslinux                                          x86_64                                          4.05-15.el7                                             base                                          990 k
Installing for dependencies:
 mtools                                            x86_64                                          4.0.18-5.el7                                            base                                          203 k

Transaction Summary
===============================================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 1.2 M
Installed size: 2.6 M
Downloading packages:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          112 MB/s | 1.2 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mtools-4.0.18-5.el7.x86_64                                                                                                                                                                  1/2
  Installing : syslinux-4.05-15.el7.x86_64                                                                                                                                                                 2/2
  Verifying  : mtools-4.0.18-5.el7.x86_64                                                                                                                                                                  1/2
  Verifying  : syslinux-4.05-15.el7.x86_64                                                                                                                                                                 2/2

Installed:
  syslinux.x86_64 0:4.05-15.el7

Dependency Installed:
  mtools.x86_64 0:4.0.18-5.el7

Complete!

cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/   #复制PXE引导程序到TFTP根目录下

#安装FTP服务并准备安装源
[root@gbase8c_5_114 pxeboot]# yum -y install vsftpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:3.0.2-27.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
 Package                                          Arch                                             Version                                                Repository                                      Size
===============================================================================================================================================================================================================
Installing:
 vsftpd                                           x86_64                                           3.0.2-27.el7                                           base                                           172 k

Transaction Summary
===============================================================================================================================================================================================================
Install  1 Package

Total download size: 172 k
Installed size: 353 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : vsftpd-3.0.2-27.el7.x86_64                                                                                                                                                                  1/1
  Verifying  : vsftpd-3.0.2-27.el7.x86_64                                                                                                                                                                  1/1

Installed:
  vsftpd.x86_64 0:3.0.2-27.el7

Complete!

[root@gbase8c_5_114 pxeboot]# mkdir /var/ftp/centos7
[root@gbase8c_5_114 pxeboot]# cp -rf /mnt/cdrom/* /var/ftp/centos7/
[root@gbase8c_5_114 pxeboot]# systemctl start vsftpd
[root@gbase8c_5_114 pxeboot]# systemctl enable vsftpd
Created symlink from /etc/systemd/system/multi-user.target.wants/vsftpd.service to /usr/lib/systemd/system/vsftpd.service.

1.4 配置启动菜单文件

默认的启动菜单文件在TFTP根目录的 pxelinux.cfg子目录下,文件名为default
mkdir /var/lib/tftpboot/pxelinux.cfg          
[root@gbase8c_5_114 pxeboot]# cat /var/lib/tftpboot/pxelinux.cfg/default
default auto                            #指定默认入口名称
prompt 1                                #设置是否等待用户选择,“1”表示等待用户控制

label auto                              #图形安装(默认)引导入口,label 用来定义启动项
kernel vmlinuz                          #kernel 和 append用来定义引导参数
append initrd=initrd.img method=ftp://172.16.5.114/centos7

label linux text                        #文本安装引导入口
kernel vmlinuz
append text initrd=initrd.img method=ftp://172.16.5.114/centos7

label linux rescue                      #救援模式引导入口
kernel vmlinuz
append rescue initrd=initrd.img method=ftp://172.16.5.114/centos7

1.5 验证PXE网络安装

使用 VMware创建的虚拟机进行测试,虚拟机内存至少需要 2GB,
开启虚拟机,在提示字符串“boot:”后直接按Enter键(或执行“auto”命令),将会自动通过网络下载安装文件,并进入默认的图形安装入口
若执行“linux text”命令,则进入文本安装入口
若执行 “linux rescue”命令,则进入救援模式

2. 部署Kickstart无人值守安装

2.1 安装kickstart

[root@gbase8c_5_114 pxelinux.cfg]# yum install -y system-config-kickstart
Installed:
  hyphen-en.noarch 0:2.8.6-5.el7                                                                  system-config-kickstart.noarch 0:2.9.7-1.el7

Dependency Installed:
  ModemManager-glib.x86_64 0:1.6.10-3.el7_6              avahi-glib.x86_64 0:0.6.31-20.el7               cdparanoia-libs.x86_64 0:10.2-17.el7                enchant.x86_64 1:1.6.0-8.el7
  flac-libs.x86_64 0:1.3.0-5.el7_1                       geoclue2.x86_64 0:2.4.8-1.el7                   gnome-python2.x86_64 0:2.28.1-14.el7                gnome-python2-canvas.x86_64 0:2.28.1-14.el7
  gsm.x86_64 0:1.0.13-11.el7                             gstreamer1.x86_64 0:1.10.4-2.el7                gstreamer1-plugins-bad-free.x86_64 0:1.10.4-3.el7   gstreamer1-plugins-base.x86_64 0:1.10.4-2.el7
  harfbuzz-icu.x86_64 0:1.7.5-2.el7                      hyphen.x86_64 0:2.8.6-5.el7                     iso-codes.noarch 0:3.46-2.el7                       libXv.x86_64 0:1.0.11-1.el7
  libart_lgpl.x86_64 0:2.3.21-10.el7                     libdvdnav.x86_64 0:5.0.3-1.el7                  libdvdread.x86_64 0:5.0.3-3.el7                     libglade2.x86_64 0:2.6.4-11.el7
  libglvnd-gles.x86_64 1:1.0.1-0.8.git5baa1e5.el7        libgnomecanvas.x86_64 0:2.30.3-8.el7            libmpcdec.x86_64 0:1.2.6-12.el7                     libsecret.x86_64 0:0.18.6-1.el7
  libsndfile.x86_64 0:1.0.25-11.el7                      libsrtp.x86_64 0:1.4.4-10.20101004cvs.el7       libvisual.x86_64 0:0.4.0-16.el7                     libwebp.x86_64 0:0.3.0-7.el7
  opus.x86_64 0:1.0.2-6.el7                              orc.x86_64 0:0.4.26-1.el7                       pycairo.x86_64 0:1.8.10-8.el7                       pygtk2.x86_64 0:2.24.0-9.el7
  pygtk2-libglade.x86_64 0:2.24.0-9.el7                  rarian.x86_64 0:0.8.1-11.el7                    rarian-compat.x86_64 0:0.8.1-11.el7                 soundtouch.x86_64 0:1.4.0-9.el7
  system-config-date.noarch 0:1.10.6-3.el7.centos        system-config-date-docs.noarch 0:1.0.11-4.el7   system-config-keyboard.noarch 0:1.4.0-5.el7         system-config-keyboard-base.noarch 0:1.4.0-5.el7
  system-config-language.noarch 0:1.4.0-9.el7            usermode-gtk.x86_64 0:1.111-6.el7               webkitgtk4.x86_64 0:2.22.7-2.el7                    webkitgtk4-jsc.x86_64 0:2.22.7-2.el7
  webkitgtk4-plugin-process-gtk2.x86_64 0:2.22.7-2.el7   yelp.x86_64 2:3.28.1-1.el7                      yelp-libs.x86_64 2:3.28.1-1.el7                     yelp-xsl.noarch 0:3.28.0-1.el7

Complete!

2.2 安装图形化桌面(如已安装可忽略)

#查看可安装组件
[root@gbase8c_5_114 pxelinux.cfg]# yum grouplist
Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Available Environment Groups:
   Minimal Install
   Compute Node
   Infrastructure Server
   File and Print Server
   Basic Web Server
   Virtualization Host
   Server with GUI
   GNOME Desktop
   KDE Plasma Workspaces
   Development and Creative Workstation
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
Done

#安装GNOME Desktop(626个包)
[root@gbase8c_5_114 pxelinux.cfg]# yum groupinstall -y "GNOME Desktop"
Installed:
  ModemManager.x86_64 0:1.6.10-3.el7_6                                NetworkManager-adsl.x86_64 1:1.18.4-3.el7                            NetworkManager-bluetooth.x86_64 1:1.18.4-3.el7
  NetworkManager-libreswan-gnome.x86_64 0:1.2.4-2.el7                 NetworkManager-ppp.x86_64 1:1.18.4-3.el7                             NetworkManager-wifi.x86_64 1:1.18.4-3.el7
  NetworkManager-wwan.x86_64 1:1.18.4-3.el7                           PackageKit-command-not-found.x86_64 0:1.1.10-2.el7.centos            PackageKit-gstreamer-plugin.x86_64 0:1.1.10-2.el7.centos
  PackageKit-gtk3-module.x86_64 0:1.1.10-2.el7.centos                 abrt-desktop.x86_64 0:2.1.11-57.el7.centos                           alsa-plugins-pulseaudio.x86_64 0:1.1.6-1.el7
  alsa-utils.x86_64 0:1.1.8-2.el7                                     avahi.x86_64 0:0.6.31-20.el7                                         baobab.x86_64 0:3.28.0-2.el7
  cheese.x86_64 2:3.28.0-1.el7                                        cjkuni-uming-fonts.noarch 0:0.2.20080216.1-53.el7                    colord.x86_64 0:1.3.4-2.el7
  compat-cheese314.x86_64 0:3.14.2-1.el7                              control-center.x86_64 1:3.28.1-6.el7                                 cups.x86_64 1:1.6.3-43.el7
  cups-pk-helper.x86_64 0:0.2.6-2.el7                                 dejavu-sans-mono-fonts.noarch 0:2.33-6.el7                           dejavu-serif-fonts.noarch 0:2.33-6.el7
  dvd+rw-tools.x86_64 0:7.1-15.el7                                    empathy.x86_64 0:3.12.13-1.el7                                       enscript.x86_64 0:1.6.6-7.el7
  eog.x86_64 0:3.28.3-1.el7                                           evince.x86_64 0:3.28.2-9.el7                                         evince-nautilus.x86_64 0:3.28.2-9.el7
  file-roller.x86_64 0:3.28.1-2.el7                                   file-roller-nautilus.x86_64 0:3.28.1-2.el7                           firefox.x86_64 0:68.5.0-2.el7.centos
  firewall-config.noarch 0:0.6.3-8.el7                                firstboot.x86_64 0:19.12-1.el7                                       gdm.x86_64 1:3.28.2-22.el7
  gedit.x86_64 2:3.28.1-1.el7                                         ghostscript-cups.x86_64 0:9.25-2.el7_7.3                             glx-utils.x86_64 0:8.3.0-10.el7
  gnome-bluetooth.x86_64 1:3.28.2-1.el7                               gnome-boxes.x86_64 0:3.28.5-4.el7                                    gnome-calculator.x86_64 0:3.28.2-1.el7
  gnome-classic-session.noarch 0:3.28.1-11.el7                        gnome-clocks.x86_64 0:3.28.0-1.el7                                   gnome-color-manager.x86_64 0:3.28.0-1.el7
  gnome-contacts.x86_64 0:3.28.2-1.el7                                gnome-dictionary.x86_64 0:3.26.1-2.el7                               gnome-disk-utility.x86_64 0:3.28.3-1.el7
  gnome-font-viewer.x86_64 0:3.28.0-1.el7                             gnome-getting-started-docs.noarch 0:3.28.2-1.el7                     gnome-icon-theme.noarch 0:3.12.0-1.el7
  gnome-icon-theme-extras.noarch 0:3.12.0-1.el7                       gnome-icon-theme-symbolic.noarch 0:3.12.0-2.el7                      gnome-initial-setup.x86_64 0:3.28.0-2.el7
  gnome-packagekit.x86_64 0:3.28.0-1.el7                              gnome-packagekit-updater.x86_64 0:3.28.0-1.el7                       gnome-screenshot.x86_64 0:3.26.0-1.el7
  gnome-session.x86_64 0:3.28.1-7.el7                                 gnome-session-xsession.x86_64 0:3.28.1-7.el7                         gnome-settings-daemon.x86_64 0:3.28.1-8.el7
  gnome-shell.x86_64 0:3.28.3-24.el7                                  gnome-software.x86_64 0:3.28.2-3.el7                                 gnome-system-log.x86_64 1:3.9.90-3.el7
  gnome-system-monitor.x86_64 0:3.28.2-1.el7                          gnome-terminal.x86_64 0:3.28.2-2.el7                                 gnome-terminal-nautilus.x86_64 0:3.28.2-2.el7
  gnome-themes-standard.x86_64 0:3.28-2.el7                           gnome-tweak-tool.noarch 0:3.28.1-7.el7                               gnome-user-docs.noarch 0:3.28.2-1.el7
  gnome-weather.noarch 0:3.26.0-1.el7                                 gnu-free-mono-fonts.noarch 0:20120503-8.el7                          gnu-free-sans-fonts.noarch 0:20120503-8.el7
  gnu-free-serif-fonts.noarch 0:20120503-8.el7                        google-crosextra-caladea-fonts.noarch 0:1.002-0.4.20130214.el7       google-crosextra-carlito-fonts.noarch 0:1.103-0.2.20130920.el7
  google-noto-emoji-fonts.noarch 0:20180508-4.el7                     gstreamer-plugins-bad-free.x86_64 0:0.10.23-23.el7                   gstreamer-plugins-good.x86_64 0:0.10.31-13.el7
  gstreamer1-plugins-good.x86_64 0:1.10.4-2.el7                       gstreamer1-plugins-ugly-free.x86_64 0:1.10.4-3.el7                   gtk2-immodule-xim.x86_64 0:2.24.31-1.el7
  gtk3-immodule-xim.x86_64 0:3.22.30-5.el7                            gucharmap.x86_64 0:10.0.4-1.el7                                      gutenprint.x86_64 0:5.2.9-18.el7
  gutenprint-cups.x86_64 0:5.2.9-18.el7                               gvfs-afc.x86_64 0:1.36.2-3.el7                                       gvfs-afp.x86_64 0:1.36.2-3.el7
  gvfs-archive.x86_64 0:1.36.2-3.el7                                  gvfs-fuse.x86_64 0:1.36.2-3.el7                                      gvfs-goa.x86_64 0:1.36.2-3.el7
  gvfs-gphoto2.x86_64 0:1.36.2-3.el7                                  gvfs-mtp.x86_64 0:1.36.2-3.el7                                       gvfs-smb.x86_64 0:1.36.2-3.el7
  hpijs.x86_64 1:3.15.9-5.el7                                         ibus-chewing.x86_64 0:1.4.4-14.el7                                   ibus-gtk2.x86_64 0:1.5.17-10.el7
  ibus-gtk3.x86_64 0:1.5.17-10.el7                                    ibus-hangul.x86_64 0:1.4.2-11.el7                                    ibus-kkc.x86_64 0:1.5.18-7.el7
  ibus-libpinyin.x86_64 0:1.6.91-4.el7                                ibus-m17n.x86_64 0:1.3.4-13.el7                                      ibus-rawcode.x86_64 0:1.3.2-3.el7
  ibus-sayura.x86_64 0:1.3.2-3.el7                                    ibus-table.noarch 0:1.5.0-5.el7                                      ibus-table-chinese.noarch 0:1.4.6-3.el7
  icedtea-web.x86_64 0:1.7.1-2.el7_6                                  imsettings-gsettings.x86_64 0:1.6.3-11.el7                           initial-setup-gui.x86_64 0:0.3.9.45-1.el7.centos
  java-1.7.0-openjdk.x86_64 1:1.7.0.251-2.6.21.1.el7                  jomolhari-fonts.noarch 0:0.003-17.el7                                khmeros-base-fonts.noarch 0:5.0-17.el7
  libcanberra-gtk2.x86_64 0:0.30-9.el7                                libcanberra-gtk3.x86_64 0:0.30-9.el7                                 liberation-mono-fonts.noarch 1:1.07.2-16.el7
  liberation-serif-fonts.noarch 1:1.07.2-16.el7                       libproxy-mozjs.x86_64 0:0.4.11-11.el7                                libreport-gtk.x86_64 0:2.1.11-53.el7.centos
  libsane-hpaio.x86_64 0:3.15.9-5.el7                                 libyami.x86_64 0:1.2.0-2.el7                                         lklug-fonts.noarch 0:0.6-10.20090803cvs.el7
  lohit-assamese-fonts.noarch 0:2.5.3-2.el7                           lohit-bengali-fonts.noarch 0:2.5.3-4.el7                             lohit-devanagari-fonts.noarch 0:2.5.3-4.el7
  lohit-gujarati-fonts.noarch 0:2.5.3-2.el7                           lohit-kannada-fonts.noarch 0:2.5.3-3.el7                             lohit-malayalam-fonts.noarch 0:2.5.3-2.el7
  lohit-marathi-fonts.noarch 0:2.5.3-2.el7                            lohit-nepali-fonts.noarch 0:2.5.3-2.el7                              lohit-oriya-fonts.noarch 0:2.5.4.1-3.el7
  lohit-punjabi-fonts.noarch 0:2.5.3-2.el7                            lohit-tamil-fonts.noarch 0:2.5.3-2.el7                               lohit-telugu-fonts.noarch 0:2.5.3-3.el7
  lrzsz.x86_64 0:0.12.20-36.el7                                       m17n-contrib.noarch 0:1.1.14-3.el7                                   m17n-db.noarch 0:1.6.4-4.el7
  madan-fonts.noarch 0:2.000-11.el7                                   mesa-dri-drivers.x86_64 0:18.3.4-7.el7                               metacity.x86_64 0:2.34.13-7.el7
  mousetweaks.x86_64 0:3.12.0-1.el7                                   nautilus.x86_64 0:3.26.3.1-7.el7                                     nautilus-sendto.x86_64 1:3.8.6-1.el7
  nhn-nanum-gothic-fonts.noarch 0:3.020-9.el7                         nm-connection-editor.x86_64 0:1.8.6-2.el7                            open-sans-fonts.noarch 0:1.10-1.el7
  open-vm-tools-desktop.x86_64 0:10.3.10-2.el7                        orca.x86_64 0:3.6.3-4.el7                                            overpass-fonts.noarch 0:2.1-1.el7
  paktype-naskh-basic-fonts.noarch 0:4.1-3.el7                        paps.x86_64 0:0.6.8-28.el7.1                                         paratype-pt-sans-fonts.noarch 0:20101909-3.el7
  plymouth-system-theme.x86_64 0:0.8.9-0.33.20140113.el7.centos       pnm2ppa.x86_64 1:1.04-28.el7                                         ppp.x86_64 0:2.4.5-33.el7
  pulseaudio.x86_64 0:10.0-5.el7                                      pulseaudio-module-x11.x86_64 0:10.0-5.el7                            pulseaudio-utils.x86_64 0:10.0-5.el7
  python-smbc.x86_64 0:1.0.13-8.el7                                   qgnomeplatform.x86_64 0:0.3-5.el7                                    sane-backends-drivers-scanners.x86_64 0:1.0.24-12.el7
  seahorse.x86_64 0:3.20.0-1.el7                                      setroubleshoot.x86_64 0:3.2.30-8.el7                                 sil-abyssinica-fonts.noarch 0:1.200-6.el7
  sil-nuosu-fonts.noarch 0:2.1.1-5.el7                                sil-padauk-fonts.noarch 0:2.8-5.el7                                  smc-meera-fonts.noarch 0:6.0-7.el7
  spice-streaming-agent.x86_64 0:0.2-4.el7                            spice-vdagent.x86_64 0:0.14.0-18.el7                                 stix-fonts.noarch 0:1.1.0-5.el7
  sushi.x86_64 0:3.28.3-1.el7                                         system-config-printer.x86_64 0:1.4.1-23.el7                          system-config-printer-udev.x86_64 0:1.4.1-23.el7
  thai-scalable-waree-fonts.noarch 0:0.5.0-7.el7                      totem.x86_64 1:3.26.2-1.el7                                          totem-nautilus.x86_64 1:3.26.2-1.el7
  ucs-miscfixed-fonts.noarch 0:0.3-11.el7                             vinagre.x86_64 0:3.22.0-12.el7                                       vino.x86_64 0:3.22.0-7.el7
  vlgothic-fonts.noarch 0:20130607-2.el7                              wodim.x86_64 0:1.1.11-25.el7                                         wqy-microhei-fonts.noarch 0:0.2.0-0.12.beta.el7
  wqy-zenhei-fonts.noarch 0:0.9.46-11.el7                             wvdial.x86_64 0:1.61-9.el7                                           xdg-desktop-portal-gtk.x86_64 0:1.0.2-1.el7
  xdg-user-dirs-gtk.x86_64 0:0.10-4.el7                               xorg-x11-drivers.x86_64 0:7.7-6.el7                                  xorg-x11-server-Xorg.x86_64 0:1.20.4-10.el7
  xorg-x11-utils.x86_64 0:7.5-23.el7                                  xorg-x11-xauth.x86_64 1:1.0.9-1.el7                                  xorg-x11-xinit.x86_64 0:1.3.4-2.el7
  xvattr.x86_64 0:1.3-27.el7

Dependency Installed:
  GConf2.x86_64 0:3.2.6-8.el7                                       NetworkManager-glib.x86_64 1:1.18.4-3.el7                             NetworkManager-libreswan.x86_64 0:1.2.4-2.el7
  PackageKit.x86_64 0:1.1.10-2.el7.centos                           PackageKit-glib.x86_64 0:1.1.10-2.el7.centos                          PackageKit-yum.x86_64 0:1.1.10-2.el7.centos
  abattis-cantarell-fonts.noarch 0:0.0.25-1.el7                     abrt-gui.x86_64 0:2.1.11-57.el7.centos                                abrt-gui-libs.x86_64 0:2.1.11-57.el7.centos
  accountsservice.x86_64 0:0.6.50-7.el7                             accountsservice-libs.x86_64 0:0.6.50-7.el7                            adwaita-gtk2-theme.x86_64 0:3.28-2.el7
  adwaita-qt5.x86_64 0:1.0-1.el7                                    anaconda-core.x86_64 0:21.48.22.158-1.el7.centos                      anaconda-gui.x86_64 0:21.48.22.158-1.el7.centos
  anaconda-tui.x86_64 0:21.48.22.158-1.el7.centos                   anaconda-widgets.x86_64 0:21.48.22.158-1.el7.centos                   appstream-data.noarch 0:7-20180614.el7
  atkmm.x86_64 0:2.24.2-1.el7                                       audit-libs-python.x86_64 0:2.8.5-4.el7                                avahi-gobject.x86_64 0:0.6.31-20.el7
  avahi-ui-gtk3.x86_64 0:0.6.31-20.el7                              bluez.x86_64 0:5.44-6.el7                                             bluez-libs.x86_64 0:5.44-6.el7
  bolt.x86_64 0:0.7-1.el7                                           boost-iostreams.x86_64 0:1.53.0-28.el7                                boost-random.x86_64 0:1.53.0-28.el7
  brasero.x86_64 0:3.12.2-5.el7                                     brasero-libs.x86_64 0:3.12.2-5.el7                                    brasero-nautilus.x86_64 0:3.12.2-5.el7
  brlapi.x86_64 0:0.6.0-16.el7                                      brltty.x86_64 0:4.5-16.el7                                            cairomm.x86_64 0:1.12.0-1.el7
  cdparanoia.x86_64 0:10.2-17.el7                                   cdrdao.x86_64 0:1.2.3-20.el7                                          celt051.x86_64 0:0.5.1.3-8.el7
  checkpolicy.x86_64 0:2.5-8.el7                                    cheese-libs.x86_64 2:3.28.0-1.el7                                     clutter.x86_64 0:1.26.2-2.el7
  clutter-gst2.x86_64 0:2.0.18-1.el7                                clutter-gst3.x86_64 0:3.0.26-1.el7                                    clutter-gtk.x86_64 0:1.8.4-1.el7
  cogl.x86_64 0:1.22.2-2.el7                                        color-filesystem.noarch 0:1-13.el7                                    colord-gtk.x86_64 0:0.1.25-4.el7
  compat-exiv2-026.x86_64 0:0.26-1.el7                              compat-gnome-desktop314.x86_64 0:3.14.2-1.el7                         compat-libcolord1.x86_64 0:1.0.4-1.el7
  control-center-filesystem.x86_64 1:3.28.1-6.el7                   createrepo.noarch 0:0.9.9-28.el7                                      cups-client.x86_64 1:1.6.3-43.el7
  cups-filesystem.noarch 1:1.6.3-43.el7                             cups-filters.x86_64 0:1.0.35-26.el7_7.1                               cups-filters-libs.x86_64 0:1.0.35-26.el7_7.1
  cyrus-sasl.x86_64 0:2.1.26-23.el7                                 cyrus-sasl-md5.x86_64 0:2.1.26-23.el7                                 cyrus-sasl-scram.x86_64 0:2.1.26-23.el7
  daxctl-libs.x86_64 0:65-5.el7                                     dbus-x11.x86_64 1:1.10.24-13.el7_6                                    deltarpm.x86_64 0:3.6-3.el7
  dleyna-connector-dbus.x86_64 0:0.2.0-2.el7                        dleyna-core.x86_64 0:0.5.0-1.el7                                      dleyna-server.x86_64 0:0.5.0-3.el7
  dnsmasq.x86_64 0:2.76-10.el7_7.1                                  dotconf.x86_64 0:1.3-8.el7                                            espeak.x86_64 0:1.47.11-4.el7
  evince-libs.x86_64 0:3.28.2-9.el7                                 evolution-data-server.x86_64 0:3.28.5-4.el7                           evolution-data-server-langpacks.noarch 0:3.28.5-4.el7
  exempi.x86_64 0:2.2.0-9.el7                                       farstream.x86_64 0:0.1.2-8.el7                                        farstream02.x86_64 0:0.2.3-3.el7
  festival.x86_64 0:1.96-28.el7                                     festival-freebsoft-utils.noarch 0:0.10-7.el7                          festival-lib.x86_64 0:1.96-28.el7
  festival-speechtools-libs.x86_64 0:1.2.96-28.el7                  festvox-slt-arctic-hts.noarch 0:0.20061229-28.el7                     fftw-libs-double.x86_64 0:3.3.3-8.el7
  flatpak.x86_64 0:1.0.9-8.el7_7                                    flatpak-libs.x86_64 0:1.0.9-8.el7_7                                   flite.x86_64 0:1.3-22.el7
  folks.x86_64 1:0.11.4-1.el7                                       freerdp-libs.x86_64 0:2.0.0-1.rc4.el7                                 frei0r-plugins.x86_64 0:1.3-13.el7
  fros.noarch 0:1.0-5.el7                                           fwupd.x86_64 0:1.0.8-5.el7                                            fwupdate-efi.x86_64 0:12-5.el7.centos
  fwupdate-libs.x86_64 0:12-5.el7.centos                            gavl.x86_64 0:1.4.0-4.el7                                             gcr.x86_64 0:3.28.0-1.el7
  gdisk.x86_64 0:0.8.10-3.el7                                       genisoimage.x86_64 0:1.1.11-25.el7                                    geoclue2-libs.x86_64 0:2.4.8-1.el7
  geocode-glib.x86_64 0:3.26.0-2.el7                                ghostscript.x86_64 0:9.25-2.el7_7.3                                   gjs.x86_64 0:1.52.5-1.el7_6
  glade-libs.x86_64 0:3.22.1-1.el7                                  glibmm24.x86_64 0:2.56.0-1.el7                                        glusterfs-api.x86_64 0:6.0-29.el7
  glusterfs-cli.x86_64 0:6.0-29.el7                                 gnome-abrt.x86_64 0:0.3.4-8.el7                                       gnome-bluetooth-libs.x86_64 1:3.28.2-1.el7
  gnome-desktop3.x86_64 0:3.28.2-2.el7                              gnome-keyring.x86_64 0:3.28.2-1.el7                                   gnome-keyring-pam.x86_64 0:3.28.2-1.el7
  gnome-menus.x86_64 0:3.13.3-3.el7                                 gnome-online-accounts.x86_64 0:3.28.2-1.el7                           gnome-packagekit-common.x86_64 0:3.28.0-1.el7
  gnome-packagekit-installer.x86_64 0:3.28.0-1.el7                  gnome-shell-extension-alternate-tab.noarch 0:3.28.1-11.el7            gnome-shell-extension-apps-menu.noarch 0:3.28.1-11.el7
  gnome-shell-extension-common.noarch 0:3.28.1-11.el7               gnome-shell-extension-horizontal-workspaces.noarch 0:3.28.1-11.el7    gnome-shell-extension-launch-new-instance.noarch 0:3.28.1-11.el7
  gnome-shell-extension-places-menu.noarch 0:3.28.1-11.el7          gnome-shell-extension-top-icons.noarch 0:3.28.1-11.el7                gnome-shell-extension-user-theme.noarch 0:3.28.1-11.el7
  gnome-shell-extension-window-list.noarch 0:3.28.1-11.el7          gnome-video-effects.noarch 0:0.4.3-1.el7                              gnu-free-fonts-common.noarch 0:20120503-8.el7
  gom.x86_64 0:0.3.3-1.el7                                          google-noto-emoji-color-fonts.noarch 0:20180508-4.el7                 gperftools-libs.x86_64 0:2.6.1-1.el7
  grilo.x86_64 0:0.3.6-1.el7                                        grilo-plugins.x86_64 0:0.3.7-1.el7                                    gsound.x86_64 0:1.0.2-2.el7
  gspell.x86_64 0:1.6.1-1.el7                                       gssdp.x86_64 0:1.0.2-1.el7                                            gstreamer.x86_64 0:0.10.36-7.el7
  gstreamer-plugins-base.x86_64 0:0.10.36-10.el7                    gstreamer-tools.x86_64 0:0.10.36-7.el7                                gtk-vnc2.x86_64 0:0.7.0-3.el7
  gtkmm30.x86_64 0:3.22.2-1.el7                                     gtksourceview3.x86_64 0:3.24.8-1.el7                                  gucharmap-libs.x86_64 0:10.0.4-1.el7
  gupnp.x86_64 0:1.0.2-5.el7                                        gupnp-av.x86_64 0:0.12.10-1.el7                                       gupnp-dlna.x86_64 0:0.10.5-1.el7
  gupnp-igd.x86_64 0:0.2.5-2.el7                                    gvfs.x86_64 0:1.36.2-3.el7                                            gvfs-client.x86_64 0:1.36.2-3.el7
  gvnc.x86_64 0:0.7.0-3.el7                                         highcontrast-qt5.x86_64 0:0.1-2.el7                                   hplip-common.x86_64 0:3.15.9-5.el7
  hplip-libs.x86_64 0:3.15.9-5.el7                                  ibus.x86_64 0:1.5.17-10.el7                                           ibus-libs.x86_64 0:1.5.17-10.el7
  ibus-setup.noarch 0:1.5.17-10.el7                                 icedax.x86_64 0:1.1.11-25.el7                                         imsettings.x86_64 0:1.6.3-11.el7
  imsettings-libs.x86_64 0:1.6.3-11.el7                             initial-setup.x86_64 0:0.3.9.45-1.el7.centos                          ipxe-roms-qemu.noarch 0:20180825-2.git133f4c.el7
  isomd5sum.x86_64 1:1.0.10-5.el7                                   java-1.7.0-openjdk-headless.x86_64 1:1.7.0.251-2.6.21.1.el7           jline.noarch 0:1.0-8.el7
  keybinder3.x86_64 0:0.3.0-1.el7                                   khmeros-fonts-common.noarch 0:5.0-17.el7                              ldns.x86_64 0:1.6.16-10.el7
  libX11-devel.x86_64 0:1.6.7-2.el7                                 libXau-devel.x86_64 0:1.0.8-2.1.el7                                   libXdmcp.x86_64 0:1.1.2-6.el7
  libXfont2.x86_64 0:2.0.3-1.el7                                    libXres.x86_64 0:1.2.0-1.el7                                          libXvMC.x86_64 0:1.0.10-1.el7
  libXxf86dga.x86_64 0:1.1.4-2.1.el7                                libao.x86_64 0:1.1.0-8.el7                                            libappstream-glib.x86_64 0:0.7.8-2.el7
  libasyncns.x86_64 0:0.8-7.el7                                     libatasmart.x86_64 0:0.19-6.el7                                       libavc1394.x86_64 0:0.5.3-14.el7
  libblockdev-crypto.x86_64 0:2.18-5.el7                            libblockdev-fs.x86_64 0:2.18-5.el7                                    libblockdev-loop.x86_64 0:2.18-5.el7
  libblockdev-mdraid.x86_64 0:2.18-5.el7                            libblockdev-nvdimm.x86_64 0:2.18-5.el7                                libblockdev-part.x86_64 0:2.18-5.el7
  libblockdev-swap.x86_64 0:2.18-5.el7                              libbluray.x86_64 0:0.2.3-5.el7                                        libburn.x86_64 0:1.2.8-4.el7
  libbytesize.x86_64 0:1.2-1.el7                                    libcacard.x86_64 40:2.7.0-1.el7                                       libcanberra.x86_64 0:0.30-9.el7
  libcdio.x86_64 0:0.92-3.el7                                       libcdio-paranoia.x86_64 0:10.2+0.90-11.el7                            libchamplain.x86_64 0:0.12.16-2.el7
  libchamplain-gtk.x86_64 0:0.12.16-2.el7                           libchewing.x86_64 0:0.3.4-6.el7                                       libdmapsharing.x86_64 0:2.9.37-1.el7
  libdmx.x86_64 0:1.1.3-3.el7                                       libdv.x86_64 0:1.0.0-17.el7                                           libevdev.x86_64 0:1.5.6-1.el7
  libexif.x86_64 0:0.6.21-6.el7                                     libgcab1.x86_64 0:0.7-4.el7_4                                         libgdata.x86_64 0:0.17.9-1.el7
  libgdither.x86_64 0:0.6-8.el7                                     libgee.x86_64 0:0.20.1-1.el7                                          libgee06.x86_64 0:0.6.8-3.el7
  libgnome-keyring.x86_64 0:3.12.0-1.el7                            libgnomekbd.x86_64 0:3.26.0-3.el7                                     libgovirt.x86_64 0:0.3.4-4.el7
  libgphoto2.x86_64 0:2.5.15-3.el7                                  libgsf.x86_64 0:1.14.26-7.el7                                         libgtop2.x86_64 0:2.38.0-3.el7
  libgudev1.x86_64 0:219-73.el7.1                                   libgweather.x86_64 0:3.28.2-3.el7                                     libgxps.x86_64 0:0.3.0-4.el7
  libhangul.x86_64 0:0.1.0-8.el7                                    libical.x86_64 0:3.0.3-2.el7                                          libiec61883.x86_64 0:1.2.0-10.el7
  libieee1284.x86_64 0:0.2.11-15.el7                                libimobiledevice.x86_64 0:1.2.0-1.el7                                 libinput.x86_64 0:1.10.7-2.el7
  libiptcdata.x86_64 0:1.0.4-11.el7                                 libiscsi.x86_64 0:1.9.0-7.el7                                         libisofs.x86_64 0:1.2.8-4.el7
  libkkc.x86_64 0:0.3.1-9.el7                                       libkkc-common.noarch 0:0.3.1-9.el7                                    libkkc-data.x86_64 0:0.3.1-9.el7
  liblouis.x86_64 0:2.5.2-12.el7_4                                  liblouis-python.noarch 0:2.5.2-12.el7_4                               libmbim.x86_64 0:1.14.2-1.el7
  libmbim-utils.x86_64 0:1.14.2-1.el7                               libmediaart.x86_64 0:1.9.4-1.el7                                      libmtp.x86_64 0:1.1.14-1.el7
  libmusicbrainz5.x86_64 0:5.0.1-9.el7                              libnice.x86_64 0:0.1.3-4.el7                                          libnm-gtk.x86_64 0:1.8.6-2.el7
  libnma.x86_64 0:1.8.6-2.el7                                       liboauth.x86_64 0:0.9.7-4.el7                                         libofa.x86_64 0:0.9.3-24.el7
  libosinfo.x86_64 0:1.1.0-5.el7                                    libpeas.x86_64 0:1.22.0-1.el7                                         libpeas-gtk.x86_64 0:1.22.0-1.el7
  libpeas-loader-python.x86_64 0:1.22.0-1.el7                       libpinyin.x86_64 0:0.9.93-4.el7                                       libpinyin-data.x86_64 0:0.9.93-4.el7
  libplist.x86_64 0:1.12-3.el7                                      libpurple.x86_64 0:2.10.11-8.el7                                      libqmi.x86_64 0:1.18.0-2.el7
  libqmi-utils.x86_64 0:1.18.0-2.el7                                librados2.x86_64 1:10.2.5-4.el7                                       libraw1394.x86_64 0:2.1.0-2.el7
  librbd1.x86_64 1:10.2.5-4.el7                                     libreport-anaconda.x86_64 0:2.1.11-53.el7.centos                      libreport-plugin-bugzilla.x86_64 0:2.1.11-53.el7.centos
  libreport-plugin-reportuploader.x86_64 0:2.1.11-53.el7.centos     libreport-rhel-anaconda-bugzilla.x86_64 0:2.1.11-53.el7.centos        libreswan.x86_64 0:3.25-8.1.el7_7
  libsamplerate.x86_64 0:0.1.8-6.el7                                libsemanage-python.x86_64 0:2.5-14.el7                                libshout.x86_64 0:2.2.2-11.el7
  libsigc++20.x86_64 0:2.10.0-1.el7                                 libsmbios.x86_64 0:2.3.3-8.el7                                        libspectre.x86_64 0:0.2.8-1.el7
  libtimezonemap.x86_64 0:0.4.4-1.el7                               libudisks2.x86_64 0:2.8.4-1.el7                                       libusal.x86_64 0:1.1.11-25.el7
  libusbmuxd.x86_64 0:1.0.10-5.el7                                  libuser-python.x86_64 0:0.60-9.el7                                    libv4l.x86_64 0:0.9.5-4.el7
  libva.x86_64 0:1.8.3-1.el7                                        libva-devel.x86_64 0:1.8.3-1.el7                                      libvirt-daemon.x86_64 0:4.5.0-33.el7
  libvirt-daemon-config-network.x86_64 0:4.5.0-33.el7               libvirt-daemon-driver-interface.x86_64 0:4.5.0-33.el7                 libvirt-daemon-driver-network.x86_64 0:4.5.0-33.el7
  libvirt-daemon-driver-nodedev.x86_64 0:4.5.0-33.el7               libvirt-daemon-driver-nwfilter.x86_64 0:4.5.0-33.el7                  libvirt-daemon-driver-qemu.x86_64 0:4.5.0-33.el7
  libvirt-daemon-driver-secret.x86_64 0:4.5.0-33.el7                libvirt-daemon-driver-storage.x86_64 0:4.5.0-33.el7                   libvirt-daemon-driver-storage-core.x86_64 0:4.5.0-33.el7
  libvirt-daemon-driver-storage-disk.x86_64 0:4.5.0-33.el7          libvirt-daemon-driver-storage-gluster.x86_64 0:4.5.0-33.el7           libvirt-daemon-driver-storage-iscsi.x86_64 0:4.5.0-33.el7
  libvirt-daemon-driver-storage-logical.x86_64 0:4.5.0-33.el7       libvirt-daemon-driver-storage-mpath.x86_64 0:4.5.0-33.el7             libvirt-daemon-driver-storage-rbd.x86_64 0:4.5.0-33.el7
  libvirt-daemon-driver-storage-scsi.x86_64 0:4.5.0-33.el7          libvirt-daemon-kvm.x86_64 0:4.5.0-33.el7                              libvirt-gconfig.x86_64 0:1.0.0-1.el7
  libvirt-glib.x86_64 0:1.0.0-1.el7                                 libvirt-gobject.x86_64 0:1.0.0-1.el7                                  libvirt-libs.x86_64 0:4.5.0-33.el7
  libwacom.x86_64 0:0.30-1.el7                                      libwacom-data.noarch 0:0.30-1.el7                                     libwinpr.x86_64 0:2.0.0-1.rc4.el7
  libwnck3.x86_64 0:3.24.1-2.el7                                    libwvstreams.x86_64 0:4.6.1-11.el7                                    libxcb-devel.x86_64 0:1.13-1.el7
  libxkbcommon-x11.x86_64 0:0.7.1-3.el7                             libxkbfile.x86_64 0:1.0.9-3.el7                                       libxklavier.x86_64 0:5.4-7.el7
  llvm-private.x86_64 0:7.0.1-1.el7                                 lockdev.x86_64 0:1.0.4-0.13.20111007git.el7                           lzop.x86_64 0:1.03-10.el7
  m17n-lib.x86_64 0:1.6.4-14.el7                                    marisa.x86_64 0:0.2.4-4.el7                                           meanwhile.x86_64 0:1.1.0-12.el7
  mesa-filesystem.x86_64 0:18.3.4-7.el7                             mesa-libxatracker.x86_64 0:18.3.4-7.el7                               mobile-broadband-provider-info.noarch 0:1.20170310-1.el7
  mozjs52.x86_64 0:52.9.0-1.el7                                     mpg123-libs.x86_64 0:1.25.6-1.el7                                     mtdev.x86_64 0:1.1.5-5.el7
  mutter.x86_64 0:3.28.3-20.el7                                     nautilus-extensions.x86_64 0:3.26.3.1-7.el7                           ncompress.x86_64 0:4.2.4.4-3.el7
  ndctl.x86_64 0:65-5.el7                                           ndctl-libs.x86_64 0:65-5.el7                                          netcf-libs.x86_64 0:0.2.8-4.el7
  nhn-nanum-fonts-common.noarch 0:3.020-9.el7                       nmap-ncat.x86_64 2:6.40-19.el7                                        numad.x86_64 0:0.5-18.20150602git.el7
  opencc.x86_64 0:0.4.3-3.el7                                       openjpeg-libs.x86_64 0:1.5.1-18.el7                                   osinfo-db.noarch 0:20190805-2.el7
  osinfo-db-tools.x86_64 0:1.1.0-1.el7                              pangomm.x86_64 0:2.40.1-1.el7                                         paps-libs.x86_64 0:0.6.8-28.el7.1
  pcre2.x86_64 0:10.23-2.el7                                        pcre2-utf16.x86_64 0:10.23-2.el7                                      pinentry-gtk.x86_64 0:0.8.1-17.el7
  plymouth-graphics-libs.x86_64 0:0.8.9-0.33.20140113.el7.centos    plymouth-plugin-label.x86_64 0:0.8.9-0.33.20140113.el7.centos         plymouth-plugin-two-step.x86_64 0:0.8.9-0.33.20140113.el7.centos
  plymouth-theme-charge.x86_64 0:0.8.9-0.33.20140113.el7.centos     policycoreutils-python.x86_64 0:2.5-34.el7                            poppler.x86_64 0:0.26.5-42.el7
  poppler-data.noarch 0:0.4.6-3.el7                                 poppler-glib.x86_64 0:0.26.5-42.el7                                   poppler-utils.x86_64 0:0.26.5-42.el7
  pulseaudio-gdm-hooks.x86_64 0:10.0-5.el7                          pulseaudio-libs.x86_64 0:10.0-5.el7                                   pulseaudio-libs-glib2.x86_64 0:10.0-5.el7
  pulseaudio-module-bluetooth.x86_64 0:10.0-5.el7                   python-IPy.noarch 0:0.75-6.el7                                        python-brlapi.x86_64 0:0.6.0-16.el7
  python-coverage.x86_64 0:3.6-0.5.b3.el7                           python-cups.x86_64 0:1.9.63-6.el7                                     python-deltarpm.x86_64 0:3.6-3.el7
  python-di.noarch 0:0.3-2.el7                                      python-gobject.x86_64 0:3.22.0-1.el7_4.1                              python-inotify.noarch 0:0.9.4-4.el7
  python-meh.noarch 0:0.25.3-1.el7                                  python-meh-gui.noarch 0:0.25.3-1.el7                                  python-ntplib.noarch 0:0.3.2-1.el7
  python-pwquality.x86_64 0:1.2.3-5.el7                             python2-pyatspi.noarch 0:2.26.0-3.el7                                 python2-subprocess32.x86_64 0:3.2.6-14.el7
  pytz.noarch 0:2016.10-2.el7                                       qemu-img.x86_64 10:1.5.3-173.el7                                      qemu-kvm.x86_64 10:1.5.3-173.el7
  qemu-kvm-common.x86_64 10:1.5.3-173.el7                           qpdf-libs.x86_64 0:5.0.1-3.el7                                        qt5-qtbase.x86_64 0:5.9.7-2.el7
  qt5-qtbase-common.noarch 0:5.9.7-2.el7                            qt5-qtbase-gui.x86_64 0:5.9.7-2.el7                                   radvd.x86_64 0:2.17-3.el7
  redhat-menus.noarch 0:12.0.2-8.el7                                rhino.noarch 0:1.7R5-1.el7                                            rtkit.x86_64 0:0.11-10.el7
  sane-backends.x86_64 0:1.0.24-12.el7                              sane-backends-libs.x86_64 0:1.0.24-12.el7                             sbc.x86_64 0:1.0-5.el7
  seabios-bin.noarch 0:1.11.0-2.el7                                 seavgabios-bin.noarch 0:1.11.0-2.el7                                  setools-libs.x86_64 0:3.3.8-4.el7
  setroubleshoot-plugins.noarch 0:3.0.67-4.el7                      setroubleshoot-server.x86_64 0:3.2.30-8.el7                           sgabios-bin.noarch 1:0.20110622svn-4.el7
  shim-x64.x86_64 0:15-2.el7.centos                                 skkdic.noarch 0:20130104-6.T1435.el7                                  smc-fonts-common.noarch 0:6.0-7.el7
  sound-theme-freedesktop.noarch 0:0.8-3.el7                        sox.x86_64 0:14.4.1-7.el7                                             speech-dispatcher.x86_64 0:0.7.1-15.el7
  speech-dispatcher-python.x86_64 0:0.7.1-15.el7                    speex.x86_64 0:1.2-0.19.rc1.el7                                       spice-glib.x86_64 0:0.35-5.el7
  spice-gtk3.x86_64 0:0.35-5.el7                                    spice-server.x86_64 0:0.14.0-9.el7                                    system-config-printer-libs.noarch 0:1.4.1-23.el7
  taglib.x86_64 0:1.8-8.20130218git.el7                             tagsoup.noarch 0:1.2.1-8.el7                                          telepathy-farstream.x86_64 0:0.6.0-5.el7
  telepathy-filesystem.noarch 0:0.0.2-6.el7                         telepathy-gabble.x86_64 0:0.18.1-4.el7                                telepathy-glib.x86_64 0:0.24.1-1.el7
  telepathy-haze.x86_64 0:0.8.0-1.el7                               telepathy-logger.x86_64 0:0.8.0-5.el7                                 telepathy-mission-control.x86_64 1:5.16.3-3.el7
  telepathy-salut.x86_64 0:0.8.1-6.el7                              thai-scalable-fonts-common.noarch 0:0.5.0-7.el7                       tigervnc-license.noarch 0:1.8.0-19.el7
  tigervnc-server-minimal.x86_64 0:1.8.0-19.el7                     totem-pl-parser.x86_64 0:3.26.1-1.el7                                 tracker.x86_64 0:1.10.5-8.el7
  udisks2.x86_64 0:2.8.4-1.el7                                      unbound-libs.x86_64 0:1.6.6-3.el7                                     upower.x86_64 0:0.99.7-1.el7
  usbmuxd.x86_64 0:1.1.0-1.el7                                      usbredir.x86_64 0:0.7.1-3.el7                                         volume_key-libs.x86_64 0:0.3.9-9.el7
  vorbis-tools.x86_64 1:1.4.0-13.el7                                vte-profile.x86_64 0:0.52.2-2.el7                                     vte291.x86_64 0:0.52.2-2.el7
  wavpack.x86_64 0:4.60.1-9.el7                                     wayland-devel.x86_64 0:1.15.0-1.el7                                   webkitgtk3.x86_64 0:2.4.11-2.el7
  webrtc-audio-processing.x86_64 0:0.3-1.el7                        xcb-util-image.x86_64 0:0.4.0-2.el7                                   xcb-util-keysyms.x86_64 0:0.4.0-1.el7
  xcb-util-renderutil.x86_64 0:0.3.9-3.el7                          xcb-util-wm.x86_64 0:0.4.1-5.el7                                      xdg-desktop-portal.x86_64 0:1.0.2-1.el7
  xdg-user-dirs.x86_64 0:0.15-5.el7                                 xorg-x11-drv-ati.x86_64 0:19.0.1-3.el7                                xorg-x11-drv-dummy.x86_64 0:0.3.7-1.el7.1
  xorg-x11-drv-evdev.x86_64 0:2.10.6-1.el7                          xorg-x11-drv-fbdev.x86_64 0:0.5.0-1.el7                               xorg-x11-drv-intel.x86_64 0:2.99.917-28.20180530.el7
  xorg-x11-drv-nouveau.x86_64 1:1.0.15-1.el7                        xorg-x11-drv-qxl.x86_64 0:0.1.5-5.el7                                 xorg-x11-drv-synaptics.x86_64 0:1.9.0-2.el7
  xorg-x11-drv-v4l.x86_64 0:0.2.0-49.el7                            xorg-x11-drv-vesa.x86_64 0:2.4.0-3.el7                                xorg-x11-drv-vmmouse.x86_64 0:13.1.0-1.el7.1
  xorg-x11-drv-vmware.x86_64 0:13.2.1-1.el7.1                       xorg-x11-drv-void.x86_64 0:1.4.1-2.el7.1                              xorg-x11-drv-wacom.x86_64 0:0.36.1-3.el7
  xorg-x11-proto-devel.noarch 0:2018.4-1.el7                        xorg-x11-server-common.x86_64 0:1.20.4-10.el7                         xorg-x11-xkb-utils.x86_64 0:7.7-14.el7
  zenity.x86_64 0:3.28.1-1.el7

Complete!

#查看当前是哪种模式
systemctl get-default

#开机启动图形界面
systemctl set-default graphical.target(图形界面)

#开机启动字符界面模式
systemctl set-default multi-user.target(字符界面模式)
#切换成图形界面后,启动Kickstart
[root@gbase8c_5_114 ~]# system-config-kickstart
/usr/share/system-config-kickstart/kickstartGui.py:104: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  xml = gtk.glade.XML ("/usr/share/system-config-kickstart/system-config-kickstart.glade", domain="system-config-kickstart")
Loaded plugins: fastestmirror, langpacks

启动后弹出界面:
在这里插入图片描述

ps:使用mobaxterm可以在ssh中选择Gnome模式进行图形化链接
在这里插入图片描述

2.3 配置kickstart选项

1.基本配置

默认语言设为”English(USA)”
时区设为“Asia/Shanghai”
设置root密码
高级配置中勾选“安装后重启”
在这里插入图片描述

2.安装方法

方式选择FTP
FTP服务器:ftp://172.16.5.114
FTP目录:centos7
在这里插入图片描述

3.引导装载程序选项

“安装类型”:安装新引导装载程序
“安装选项”:在主引导记录(MBR)中安装引导装载程序
在这里插入图片描述

4.分区信息

主引导记录:清除主引导记录
分区:删除所有现存分区
磁盘标签:初始化磁盘标签
布局:添加分区
挂载点:/boot,文件系统类型:xfs,固定大小:自定义M
文件系统类型:swap,固定大小:自定义M
挂载点:/,文件系统类型:xfs,使用磁盘上全部未使用空间
在这里插入图片描述

5.网络配置

添加网络设备“ens**”
网络类型设为“DHCP”
在这里插入图片描述

6.防火墙配置

禁用防火墙
在这里插入图片描述

7.安装后脚本

勾选“使用解释程序”:/bin/bash
编写配置yum源的脚本:
在这里插入图片描述

8.保存自动应答文件

选择“Kickstart 配置程序”窗口的“文件”–>“保存”命令,选择指定保存位置,文件名为ks.cfg
默认保存在/root/ks.cfg

cp /root/ks.cfg /var/ftp/ks.cfg

在这里插入图片描述
在这里插入图片描述

9.配置需要安装的软件包

可以根据需要将/root/anaconda-ks.cfg 的软件包安装脚本复制到 ks.cfg文件中,只需要复制%packages 到%end 部分即可。
在这里插入图片描述
复制信息添加到ks.cfg最后即可。

[root@gbase8c_5_114 ~]# cat anaconda-ks.cfg
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Network information
network  --bootproto=dhcp --device=ens192 --onboot=off --ipv6=auto --no-activate
network  --hostname=localhost

# Root password
rootpw --iscrypted $6$qM7qyGcbvpdjfw9Z$ZEp7CTVQOrXa7nmpDEIVTrjQxw8u/m.5ry/5XDc3beNWr8ilbZO/M7IkVVclz7/p0BBlsTUgTxRGOv7T7NN28/
# System services
services --disabled="chronyd"
# System timezone
timezone Asia/Shanghai --isUtc --nontp
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel

%packages
@^compute-node-environment
@base
@compat-libraries
@core
@debugging
@development
@directory-client
@guest-agents
@hardware-monitoring
@infiniband
@network-file-system-client
@performance
@remote-system-management
@scientific
@security-tools
@smart-card
@system-admin-tools
kexec-tools

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
[root@gbase8c_5_114 ~]# vim ks.cfg
[root@gbase8c_5_114 ~]#
[root@gbase8c_5_114 ~]# cat ks.cfg
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --iscrypted $1$5Ghs3q/5$DGbUl.0FtPAyfvnFAO/dX.
# System language
lang en_US
# System authorization information
auth  --useshadow  --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
firstboot --disable
# SELinux configuration
selinux --disabled


# Firewall configuration
firewall --disabled
# Network information
network  --bootproto=dhcp --device=ens192
# Halt after installation
halt
# System timezone
timezone Asia/Hong_Kong
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot --fstype="xfs" --size=1024
part / --fstype="xfs" --grow --size=1
part swap --fstype="swap" --size=10240

%post --interpreter=/bin/bash
mkdir /etc/yum.repos.d/bak
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak
echo '[local]
name=local
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=0' > /etc/yum.repos.d/CentOS7-Basel.repo
%end

ckages
@^compute-node-environment
@base
@compat-libraries
@core
@debugging
@development
@directory-client
@guest-agents
@hardware-monitoring
@infiniband
@network-file-system-client
@performance
@remote-system-management
@scientific
@security-tools
@smart-card
@system-admin-tools
kexec-tools

%end

10.编辑引导菜单文件 default,添加 ks 引导参数
[root@gbase8c_5_114 ~]# cat /var/lib/tftpboot/pxelinux.cfg/default
default auto                            #指定默认入口名称
prompt 1                                #设置是否等待用户选择,“1”表示等待用户控制

label auto                              #图形安装(默认)引导入口,label 用来定义启动项
kernel vmlinuz                          #kernel 和 append用来定义引导参数
append initrd=initrd.img method=ftp://172.16.5.114/centos7 ks=ftp://172.16.5.114/ks.cfg

label linux text                        #文本安装引导入口
kernel vmlinuz
append text initrd=initrd.img method=ftp://172.16.5.114/centos7 ks=ftp://172.16.5.114/ks.cfg

label linux rescue                      #救援模式引导入口
kernel vmlinuz
append rescue initrd=initrd.img method=ftp://172.16.5.114/centos7 ks=ftp://172.16.5.114/ks.cfg

11.验证无人值守安装

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1666658.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

JVM之运行时数据区

Java虚拟机在运行时管理的内存区域被称为运行时数据区。 程序计数器&#xff1a; 也叫pc寄存器&#xff0c;每个线程会通过程序计数器记录当前要执行的字节码指令的地址。程序计数器在运行时是不会发生内存溢出的&#xff0c;因为每个线程只存储一个固定长度的内存地址。 JAVA虚…

[蓝桥杯 2021 国 ABC] 123(java)——前缀和,思维

目录 题目 解析 代码 这么久了&#xff0c;我终于能不看别人代码完整写出来了&#xff0c;呜呜呜。虽然过程也是很曲折。 题目 解析 这个题&#xff0c;找其中数列的规律&#xff0c;1,1,2,1,2,3,1,2,3,4&#xff0c;...&#xff0c;因此我们把拆分成行列&#xff0c;如下…

Qt---信号和槽

一、信号和槽机制 所谓信号槽&#xff0c;实际就是观察者模式。当某个事件发生之后&#xff0c;比如&#xff0c;按钮检测到自己被点击了一下&#xff0c;它就会发出一个信号&#xff08;signal&#xff09;。这种发出是没有目的的&#xff0c;类似广播。如果有对象对这个信号…

车载测试和传统测试有什么区别

搞清楚车载测试和传统应用测试的区别,就可以大胆冲冲冲! 车载测试随着市场的需求量增加又火来一波,一直’遥遥领先’的我们一定要告诉大家一个事实:车载测试和传统的应用测试是有很大区别的. 测试对象不一样 传统测试:测试的对象无非就是各种应用,比如电脑端的web系统(使用浏…

Git系列:git tag 使用技巧

&#x1f49d;&#x1f49d;&#x1f49d;欢迎莅临我的博客&#xff0c;很高兴能够在这里和您见面&#xff01;希望您在这里可以感受到一份轻松愉快的氛围&#xff0c;不仅可以获得有趣的内容和知识&#xff0c;也可以畅所欲言、分享您的想法和见解。 推荐:「stormsha的主页」…

FANUC机器人坐标系的分类和简介

1、概述 坐标系是为了确定机器人的位置和姿势而在机器人或空间上定义的位置指标系统&#xff0c;坐标系分为关节坐标系和直角坐标系&#xff0c;直角坐标系遵循右手定则&#xff0c;而关节坐标系则是以机器人每个轴所转动的角度来表示机器人当前的位置。 2、坐标系的分类及简…

weblogic 反序列化 CVE-2018-2628

这个漏洞因为java版本问题一直下载不了ysoserial反序列化工具&#xff0c;没办法生成payload。这里记录一下漏洞原理。 一、漏洞简介 Weblogic Server中的RMI 通信使用T3协议在Weblogic Server和其它Java程序&#xff08;客户端或者其它Weblogic Server实例&#xff09;之间传…

团结引擎+OpenHarmony 3 通信

团结引擎和鸿蒙之间通信 因为 ts 并没有像 JAVA 有反射的调用&#xff0c;所以我们必须要像 Web GL 平台一样通过导出的行为告诉引擎到底哪些 ts 的接口可以给 C# 来调用。 1 在 Tuanjie 引擎里 需要一个tsllib文件&#xff0c;用于设置给导出对象 C#使用。就可以直接创建以 …

Unity基础

概述 基础知识 3D教学 数学计算公共类Mathf 练习: 三角函数 练习&#xff1a; Unity中的坐标系 Vector3向量 向量模长和单位向量 向量加减乘除 练习&#xff1a; 向量点乘 向量叉乘 向量插值运算 Quaternion四元数 为何要使用四元数 四元数是什么 四元数常用方法 四元数计算 练…

GeoServer安装以及部署

GeoServer介绍 GeoServer是一个开源的服务器软件&#xff0c;用于共享和编辑地理空间数据。它支持多种地理空间数据格式&#xff0c;并且可以发布为多种服务格式&#xff0c;如Web Feature Service (WFS)、Web Map Service (WMS)、Web Coverage Service (WCS)&#xff0c;以及…

十二、Redis主从复制

与其他的中间件存在同样的问题&#xff0c;在单机的情况&#xff0c;随着业务的增长&#xff0c;会面临着灾备、性能方面的压力。Redis在这方面提供了一主一从、一主多从的结构。这种结构同时也是实现读写分离功能的基础。即主节点提供写能力&#xff0c;从节点提供读能力。为了…

【C/C++】C/C++ 车票售票系统设计与实现(源码+课件)【独一无二】

&#x1f449;博__主&#x1f448;&#xff1a;米码收割机 &#x1f449;技__能&#x1f448;&#xff1a;C/Python语言 &#x1f449;公众号&#x1f448;&#xff1a;测试开发自动化【获取源码商业合作】 &#x1f449;荣__誉&#x1f448;&#xff1a;阿里云博客专家博主、5…

初识C语言——第十八天

循环while/do while while 语法结构 while(表达式) 循环语句; break:在while循环中&#xff0c;break用于永久的终止循环 continue:在while循环中&#xff0c;continue的作用是跳过本次循环continue后面的代码 直接去判断部分&#xff0c;看是否进行下一次循环。 注意事项…

射频识别技术RFID

射频识别技术RFID RFID介绍 射频识别&#xff1a; 英文名称是(Radio Frequency Identification)&#xff0c; 简称是“ RFID” 又称 无线射频识别&#xff0c; RFID是物联网的其中一种终端技术。 RFID是一种通信技术&#xff0c; 可通过无线电讯号耦合识别特定目标并读写相关…

保研机试之【二叉树后序】--1道题

参考&#xff1a;东哥带你刷二叉树&#xff08;后序篇&#xff09; | labuladong 的算法笔记 建议先过一遍&#xff1a;今天是二叉树~-CSDN博客&#xff0c;very重要&#xff01; 然后再过一遍&#xff08;理解怎么应用方法&#xff09;&#xff1a;保研机试之[三道二叉树习题…

简单易懂的Java Queue入门教程!

哈喽&#xff0c;各位小伙伴们&#xff0c;你们好呀&#xff0c;我是喵手。运营社区&#xff1a;C站/掘金/腾讯云&#xff1b;欢迎大家常来逛逛 今天我要给大家分享一些自己日常学习到的一些知识点&#xff0c;并以文字的形式跟大家一起交流&#xff0c;互相学习&#xff0c;一…

7. path路径绘制:使用path绘制曲线

曲线在SVG中通常是通过贝塞尔曲线命令来绘制的&#xff0c;包括二次贝塞尔曲线&#xff08;Q&#xff09;和三次贝塞尔曲线&#xff08;C&#xff09;。这些命令允许我们创建平滑的曲线路径。 贝塞尔曲线的原理 贝塞尔曲线的基本原理是通过控制点和锚点来定义一条曲线的形状。…

微服务下的技术栈架构解析

微服务是一种架构风格&#xff0c;它将一个复杂的应用拆分成多个独立自治的服务&#xff0c;每个服务负责应用程序中的一小部分功能。这些服务通过定义良好的API进行通信&#xff0c;通常是HTTP RESTful API或事件流。微服务架构的主要特点包括单一职责、自治性、可独立部署和扩…

14.跳跃游戏Ⅱ

文章目录 题目简介题目解答解法一&#xff1a;贪心算法动态规划代码&#xff1a;复杂度分析&#xff1a; 题目链接 大家好&#xff0c;我是晓星航。今天为大家带来的是 跳跃游戏Ⅱ 相关的讲解&#xff01;&#x1f600; 题目简介 题目解答 解法一&#xff1a;贪心算法动态规划…