Centos6.2文本模式安装与图形化模式安装比较
上一篇文章《Centos 6.2文本模式安装》写了文本模式安装centos6.2,发现文本模式安装不能自定义分区以及定制安装centos6.2,此文将对比一下文本模式安装和图形化几种安装的区别;(图形化模式安装过程可参考系统运维网站《CentOS 6.2最小化Minimal安装图解教程》一文,选择安装过程部分截图)。
公司主营业务:网站制作、网站建设、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。创新互联建站是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。创新互联建站推出西山免费做网站回馈大家。
一、安装环境:同《Centos 6.2文本模式安装》一文中的安装环境(同一虚拟机)
二、系统镜像:CentOS-6.2-x86_64-bin-DVD1.iso
三、系统安装过程:
(1).图形化安装,选择minimal进行安装:
这一步选择使用默认选择即英文;
这一步配置主机名及点击“configure network”进行网络配置,如下图:
配置完成继续下一步进行安装,直到“分区类型”这一步,如下图:
选择“create custom layout”,自定义分区,进入下一步。分区最终结果如下图:
继续进行下一步,直到选择软件界面即:“Centos 默认安装时最小安装,您现在可以选择不同的软件”界面;
这里选择minimal,next进入下一步;
这里可以看到总共安装235个软件包;这里安装的软件包与《Centos 6.2文本模式安装》一文中的软件包不同,其为353个软件包;其操作系统为32位,这里安装使用64位镜像,不知是不是这个原因?
安装完成如下图:
重启进入系统:执行如下命令
- [root@test2 ~]# rpm -qa | wc -l
- 235
- [root@test2 ~]# rpm -qa >2.txt
- [root@test2 test]# cat 2.txt |wc -l
- 235
(2)图形化安装在以下这个界面选择:“customize now”进行定制软件包:
这里仅仅勾选base system的base组;如下图:
这里可以看到总共安装380个软件包;
安装完成进入系统执行如下命令:
- [root@test2 ~]# rpm -qa | wc -l
- 380
- [root@test2 ~]# rpm -qa >3.txt
- [root@test2 test]# cat 3.txt |wc -l
- 380
(3)图形化安装在以下这个界面选择:“customize now”进行定制软件包:在下图界面将所有项前的对勾全部去掉;
可以看到总共安装201个软件包;
安装完成进入系统执行如下命令:
- [root@test2 ~]# rpm -qa | wc -l
- 201
- [root@test2 ~]# rpm -qa >4.txt
- [root@test2 test]# cat 4.txt |wc -l
- 201
对几种不同安装方式所安装的rpm包列表对比结果如下:
对比一:
- [root@test2 test]# comm -12 <(sort 1.txt) <(sort 4.txt)|wc -l
- 201
- [root@test2 test]# comm -13 <(sort 1.txt) <(sort 4.txt)|wc -l
- 0
- [root@test2 test]# comm -23 <(sort 1.txt) <(sort 4.txt)|wc -l
- 7
- [root@test2 test]# comm -23 <(sort 1.txt) <(sort 4.txt)
- device-mapper-1.02.66-6.el6.x86_64
- device-mapper-event-1.02.66-6.el6.x86_64
- device-mapper-event-libs-1.02.66-6.el6.x86_64
- device-mapper-libs-1.02.66-6.el6.x86_64
- libudev-147-2.40.el6.x86_64
- lvm2-2.02.87-6.el6.x86_64
- lvm2-libs-2.02.87-6.el6.x86_64
- [root@test2 test]# comm -12 <(sort 1.txt) <(sort 4.txt)
- acl-2.2.49-6.el6.x86_64
- aic94xx-firmware-30-2.el6.noarch
- atmel-firmware-1.3-7.el6.noarch
- attr-2.4.44-7.el6.x86_64
- audit-2.1.3-3.el6.x86_64
- audit-libs-2.1.3-3.el6.x86_64
- authconfig-6.1.12-5.el6.x86_64
- b43-openfwwf-5.2-4.el6.noarch
- basesystem-10.0-4.el6.noarch
- bash-4.1.2-8.el6.centos.x86_64
- bfa-firmware-3.0.0.0-1.el6.noarch
- binutils-2.20.51.0.2-5.28.el6.x86_64
- bzip2-1.0.5-7.el6_0.x86_64
- bzip2-libs-1.0.5-7.el6_0.x86_64
- ca-certificates-2010.63-3.el6_1.5.noarch
- centos-release-6-2.el6.centos.7.x86_64
- checkpolicy-2.0.22-1.el6.x86_64
- chkconfig-1.3.47-1.el6.x86_64
- coreutils-8.4-16.el6.x86_64
- coreutils-libs-8.4-16.el6.x86_64
- cpio-2.10-9.el6.x86_64
- cracklib-2.8.16-4.el6.x86_64
- cracklib-dicts-2.8.16-4.el6.x86_64
- cronie-1.4.4-7.el6.x86_64
- cronie-anacron-1.4.4-7.el6.x86_64
- crontabs-1.10-33.el6.noarch
- curl-7.19.7-26.el6_1.2.x86_64
- cyrus-sasl-2.1.23-13.el6.x86_64
- cyrus-sasl-lib-2.1.23-13.el6.x86_64
- dash-0.5.5.1-3.1.el6.x86_64
- db4-4.7.25-16.el6.x86_64
- db4-utils-4.7.25-16.el6.x86_64
- dbus-glib-0.86-5.el6.x86_64
- dbus-libs-1.2.24-5.el6_1.x86_64
- dhclient-4.1.1-25.P1.el6.x86_64
- dhcp-common-4.1.1-25.P1.el6.x86_64
- diffutils-2.8.1-28.el6.x86_64
- dracut-004-256.el6.noarch
- dracut-kernel-004-256.el6.noarch
- e2fsprogs-1.41.12-11.el6.x86_64
- e2fsprogs-libs-1.41.12-11.el6.x86_64
- efibootmgr-0.5.4-9.el6.x86_64
- elfutils-libelf-0.152-1.el6.x86_64
- ethtool-2.6.33-0.3.el6.x86_64
- expat-2.0.1-9.1.el6.x86_64
- file-libs-5.04-11.el6.x86_64
- filesystem-2.4.30-3.el6.x86_64
- findutils-4.4.2-6.el6.x86_64
- fipscheck-1.2.0-7.el6.x86_64
- fipscheck-lib-1.2.0-7.el6.x86_64
- gamin-0.1.10-9.el6.x86_64
- gawk-3.1.7-6.el6.x86_64
- gdbm-1.8.0-36.el6.x86_64
- glib2-2.22.5-6.el6.x86_64
- glibc-2.12-1.47.el6.x86_64
- glibc-common-2.12-1.47.el6.x86_64
- gmp-4.3.1-7.el6.x86_64
- gnupg2-2.0.14-4.el6.x86_64
- gpgme-1.1.8-3.el6.x86_64
- grep-2.6.3-2.el6.x86_64
- groff-1.18.1.4-21.el6.x86_64
- grub-0.97-75.el6.x86_64
- grubby-7.0.15-2.el6.x86_64
- gzip-1.3.12-18.el6.x86_64
- hwdata-0.233-7.6.el6.noarch
- info-4.13a-8.el6.x86_64
- initscripts-9.03.27-1.el6.centos.x86_64
- iproute-2.6.32-17.el6.x86_64
- iptables-1.4.7-4.el6.x86_64
- iptables-ipv6-1.4.7-4.el6.x86_64
- iputils-20071127-16.el6.x86_64
- ipw2100-firmware-1.3-11.el6.noarch
- ipw2200-firmware-3.1-4.el6.noarch
- ivtv-firmware-20080701-20.2.noarch
- iwl1000-firmware-39.31.5.1-1.el6.noarch
- iwl100-firmware-39.31.5.1-1.el6.noarch
- iwl3945-firmware-15.32.2.9-4.el6.noarch
- iwl4965-firmware-228.61.2.24-2.1.el6.noarch
- iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch
- iwl5150-firmware-8.24.2.2-1.el6.noarch
- iwl6000-firmware-9.221.4.1-1.el6.noarch
- iwl6000g2a-firmware-17.168.5.3-1.el6.noarch
- iwl6000g2b-firmware-17.168.5.2-1.el6.noarch
- iwl6050-firmware-41.28.5.1-2.el6.noarch
- kbd-1.15-11.el6.x86_64
- kbd-misc-1.15-11.el6.noarch
- kernel-2.6.32-220.el6.x86_64
- kernel-firmware-2.6.32-220.el6.noarch
- keyutils-libs-1.4-3.el6.x86_64
- krb5-libs-1.9-22.el6.x86_64
- less-436-10.el6.x86_64
- libacl-2.2.49-6.el6.x86_64
- libattr-2.4.44-7.el6.x86_64
- libblkid-2.17.2-12.4.el6.x86_64
- libcap-2.16-5.5.el6.x86_64
- libcap-ng-0.6.4-3.el6_0.1.x86_64
- libcom_err-1.41.12-11.el6.x86_64
- libcurl-7.19.7-26.el6_1.2.x86_64
- libdrm-2.4.25-2.el6.x86_64
- libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch
- libffi-3.0.5-3.2.el6.x86_64
- libgcc-4.4.6-3.el6.x86_64
- libgcrypt-1.4.5-9.el6.x86_64
- libgpg-error-1.7-4.el6.x86_64
- libidn-1.18-2.el6.x86_64
- libnih-1.0.1-7.el6.x86_64
- libselinux-2.0.94-5.2.el6.x86_64
- libselinux-utils-2.0.94-5.2.el6.x86_64
- libsemanage-2.0.43-4.1.el6.x86_64
- libsepol-2.0.41-4.el6.x86_64
- libss-1.41.12-11.el6.x86_64
- libssh3-1.2.2-7.el6_1.1.x86_64
- libstdc++-4.4.6-3.el6.x86_64
- libusb-0.1.12-23.el6.x86_64
- libuser-0.56.13-4.el6_0.1.x86_64
- libutempter-1.1.5-4.1.el6.x86_64
- libuuid-2.17.2-12.4.el6.x86_64
- libxml2-2.7.6-4.el6.x86_64
- logrotate-3.7.8-12.el6_0.1.x86_64
- lua-5.1.4-4.1.el6.x86_64
- m4-1.4.13-5.el6.x86_64
- MAKEDEV-3.24-6.el6.x86_64
- mingetty-1.08-5.el6.x86_64
- module-init-tools-3.9-17.el6.x86_64
- MySQL-libs-5.1.52-1.el6_0.1.x86_64
- ncurses-5.7-3.20090208.el6.x86_64
- ncurses-base-5.7-3.20090208.el6.x86_64
- ncurses-libs-5.7-3.20090208.el6.x86_64
- net-tools-1.60-109.el6.x86_64
- newt-0.52.11-3.el6.x86_64
- newt-python-0.52.11-3.el6.x86_64
- nspr-4.8.8-3.el6.x86_64
- nss-3.12.10-16.el6.x86_64
- nss-softokn-3.12.9-11.el6.x86_64
- nss-softokn-freebl-3.12.9-11.el6.x86_64
- nss-sysinit-3.12.10-16.el6.x86_64
- nss-util-3.12.10-2.el6.x86_64
- openldap-2.4.23-20.el6.x86_64
- openssh-5.3p1-70.el6.x86_64
- openssh-server-5.3p1-70.el6.x86_64
- openssl-1.0.0-20.el6.x86_64
- pam-1.1.1-10.el6.x86_64
- passwd-0.77-4.el6.x86_64
- pciutils-libs-3.1.4-11.el6.x86_64
- pcre-7.8-3.1.el6.x86_64
- pinentry-0.7.6-6.el6.x86_64
- plymouth-0.8.3-24.el6.centos.x86_64
- plymouth-core-libs-0.8.3-24.el6.centos.x86_64
- plymouth-scripts-0.8.3-24.el6.centos.x86_64
- policycoreutils-2.0.83-19.18.el6.x86_64
- popt-1.13-7.el6.x86_64
- postfix-2.6.6-2.2.el6_1.x86_64
- procps-3.2.8-21.el6.x86_64
- psmisc-22.6-15.el6_0.1.x86_64
- pth-2.0.7-9.3.el6.x86_64
- pygpgme-0.1-18.20090824bzr68.el6.x86_64
- python-2.6.6-29.el6.x86_64
- python-iniparse-0.3.1-2.1.el6.noarch
- python-libs-2.6.6-29.el6.x86_64
- python-pycurl-7.19.0-8.el6.x86_64
- python-urlgrabber-3.9.1-8.el6.noarch
- ql2100-firmware-1.19.38-3.1.el6.noarch
- ql2200-firmware-2.02.08-3.1.el6.noarch
- ql23xx-firmware-3.03.27-3.1.el6.noarch
- ql2400-firmware-5.06.02-1.el6.noarch
- ql2500-firmware-5.06.02-1.el6.noarch
- readline-6.0-3.el6.x86_64
- redhat-logos-60.0.14-10.el6.centos.noarch
- rootfiles-8.1-6.1.el6.noarch
- rpm-4.8.0-19.el6.x86_64
- rpm-libs-4.8.0-19.el6.x86_64
- rpm-python-4.8.0-19.el6.x86_64
- rsyslog-4.6.2-12.el6.x86_64
- rt61pci-firmware-1.2-7.el6.noarch
- rt73usb-firmware-1.8-7.el6.noarch
- sed-4.2.1-7.el6.x86_64
- selinux-policy-3.7.19-126.el6.noarch
- selinux-policy-targeted-3.7.19-126.el6.noarch
- setup-2.8.14-13.el6.noarch
- shadow-utils-4.1.4.2-13.el6.x86_64
- slang-2.2.1-1.el6.x86_64
- sqlite-3.6.20-1.el6.x86_64
- sudo-1.7.4p5-7.el6.x86_64
- system-config-firewall-base-1.2.27-5.el6.noarch
- sysvinit-tools-2.87-4.dsf.el6.x86_64
- tar-1.23-3.el6.x86_64
- tcp_wrappers-libs-7.6-57.el6.x86_64
- tzdata-2011l-4.el6.noarch
- udev-147-2.40.el6.x86_64
- upstart-0.6.5-10.el6.x86_64
- ustr-1.0.4-9.1.el6.x86_64
- util-linux-ng-2.17.2-12.4.el6.x86_64
- vim-minimal-7.2.411-1.6.el6.x86_64
- which-2.19-6.el6.x86_64
- xorg-x11-drv-ati-firmware-6.14.2-7.el6.noarch
- xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
- yum-3.2.29-22.el6.centos.noarch
- yum-metadata-parser-1.1.2-16.el6.x86_64
- yum-plugin-fastestmirror-1.1.30-10.el6.noarch
- zd1211-firmware-1.4-4.el6.noarch
- zlib-1.2.3-27.el6.x86_64
对比二:
- [root@test2 test]# comm -12 <(sort 2.txt) <(sort 4.txt)|wc -l
- 201
- [root@test2 test]# comm -13 <(sort 2.txt) <(sort 4.txt)|wc -l
- 0
- [root@test2 test]# comm -23 <(sort 2.txt) <(sort 4.txt)|wc -l
- 34
- [root@test2 test]# comm -23 <(sort 2.txt) <(sort 4.txt)
- boost-1.41.0-11.el6_1.2.x86_64
- boost-date-time-1.41.0-11.el6_1.2.x86_64
- boost-filesystem-1.41.0-11.el6_1.2.x86_64
- boost-graph-1.41.0-11.el6_1.2.x86_64
- boost-iostreams-1.41.0-11.el6_1.2.x86_64
- boost-program-options-1.41.0-11.el6_1.2.x86_64
- boost-python-1.41.0-11.el6_1.2.x86_64
- boost-regex-1.41.0-11.el6_1.2.x86_64
- boost-serialization-1.41.0-11.el6_1.2.x86_64
- boost-signals-1.41.0-11.el6_1.2.x86_64
- boost-system-1.41.0-11.el6_1.2.x86_64
- boost-test-1.41.0-11.el6_1.2.x86_64
- boost-thread-1.41.0-11.el6_1.2.x86_64
- boost-wave-1.41.0-11.el6_1.2.x86_64
- ConsoleKit-0.4.1-3.el6.x86_64
- ConsoleKit-libs-0.4.1-3.el6.x86_64
- dbus-1.2.24-5.el6_1.x86_64
- eggdbus-0.6-3.el6.x86_64
- libicu-4.2.1-9.el6.x86_64
- matahari-0.4.4-11.el6.x86_64
- matahari-agent-lib-0.4.4-11.el6.x86_64
- matahari-broker-0.4.4-11.el6.x86_64
- matahari-host-0.4.4-11.el6.x86_64
- matahari-lib-0.4.4-11.el6.x86_64
- matahari-network-0.4.4-11.el6.x86_64
- matahari-service-0.4.4-11.el6.x86_64
- matahari-sysconfig-0.4.4-11.el6.x86_64
- polkit-0.96-2.el6_0.1.x86_64
- qpid-cpp-client-0.12-6.el6.x86_64
- qpid-cpp-client-ssl-0.12-6.el6.x86_64
- qpid-cpp-server-0.12-6.el6.x86_64
- qpid-cpp-server-ssl-0.12-6.el6.x86_64
- qpid-qmf-0.12-6.el6.x86_64
- sigar-1.6.5-0.4.git58097d9.el6.x86_64
对比三:
- [root@test2 test]# comm -12 <(sort 2.txt) <(sort 3.txt)|wc -l
- 206
- [root@test2 test]# comm -13 <(sort 2.txt) <(sort 3.txt)|wc -l
- 174
- [root@test2 test]# comm -13 <(sort 2.txt) <(sort 3.txt)
- abrt-2.0.4-14.el6.centos.x86_64
- abrt-addon-ccpp-2.0.4-14.el6.centos.x86_64
- abrt-addon-kerneloops-2.0.4-14.el6.centos.x86_64
- abrt-addon-python-2.0.4-14.el6.centos.x86_64
- abrt-cli-2.0.4-14.el6.centos.x86_64
- abrt-libs-2.0.4-14.el6.centos.x86_64
- acpid-1.0.10-2.1.el6.x86_64
- alsa-lib-1.0.22-3.el6.x86_64
- alsa-utils-1.0.21-3.el6.x86_64
- at-3.1.10-43.el6.x86_64
- atk-1.28.0-2.el6.x86_64
- avahi-libs-0.6.25-11.el6.x86_64
- b43-fwcutter-012-2.2.el6.x86_64
- bc-1.06.95-1.el6.x86_64
- bind-libs-9.7.3-8.P3.el6.x86_64
- bind-utils-9.7.3-8.P3.el6.x86_64
- biosdevname-0.3.11-1.el6.x86_64
- blktrace-1.0.1-6.el6.x86_64
- bridge-utils-1.2-9.el6.x86_64
- btparser-0.13-1.el6.x86_64
- busybox-1.15.1-11.el6.x86_64
- cairo-1.8.8-3.1.el6.x86_64
- centos-indexhtml-6-1.el6.centos.noarch
- cpuspeed-1.5-15.el6.x86_64
- crda-1.1.1_2010.11.22-1.el6.x86_64
- cryptsetup-luks-1.2.0-6.el6.x86_64
- cryptsetup-luks-libs-1.2.0-6.el6.x86_64
- cups-libs-1.4.2-44.el6.x86_64
- cyrus-sasl-plain-2.1.23-13.el6.x86_64
- dbus-python-0.83.0-6.1.el6.x86_64
- desktop-file-utils-0.15-9.el6.x86_64
- device-mapper-1.02.66-6.el6.x86_64
- device-mapper-event-1.02.66-6.el6.x86_64
- device-mapper-event-libs-1.02.66-6.el6.x86_64
- device-mapper-libs-1.02.66-6.el6.x86_64
- dmidecode-2.11-2.el6.x86_64
- dmraid-1.0.0.rc16-10.el6.x86_64
- dmraid-events-1.0.0.rc16-10.el6.x86_64
- dosfstools-3.0.9-4.el6.x86_64
- ed-1.1-3.3.el6.x86_64
- eject-2.1.5-17.el6.x86_64
- elfutils-0.152-1.el6.x86_64
- elfutils-libs-0.152-1.el6.x86_64
- file-5.04-11.el6.x86_64
- fontconfig-2.8.0-3.el6.x86_64
- fprintd-0.1-19.git04fd09cfa.el6.x86_64
- fprintd-pam-0.1-19.git04fd09cfa.el6.x86_64
- freetype-2.3.11-6.el6_1.7.x86_64
- gnutls-2.8.5-4.el6.x86_64
- gpm-libs-1.20.6-12.el6.x86_64
- gtk2-2.18.9-6.el6.centos.x86_64
- hal-0.5.14-11.el6.x86_64
- hal-info-20090716-3.1.el6.noarch
- hal-libs-0.5.14-11.el6.x86_64
- hdparm-9.16-3.4.el6.x86_64
- hicolor-icon-theme-0.11-1.1.el6.noarch
- hunspell-1.2.8-16.el6.x86_64
- hunspell-en-0.20090216-7.1.el6.noarch
- irqbalance-0.55-29.el6.x86_64
- iw-0.9.17-4.el6.x86_64
- jasper-libs-1.900.1-15.el6.x86_64
- kexec-tools-2.0.0-209.el6.x86_64
- kpartx-0.4.9-46.el6.x86_64
- libaio-0.3.107-10.el6.x86_64
- libedit-2.11-4.20080712cvs.1.el6.x86_64
- libfprint-0.1.0-19.pre2.el6.x86_64
- libjpeg-6b-46.el6.x86_64
- libnl-1.1-14.el6.x86_64
- libpcap-1.0.0-6.20091201git117cb5.el6.x86_64
- libpng-1.2.46-1.el6_1.x86_64
- libreport-2.0.5-20.el6.x86_64
- libreport-cli-2.0.5-20.el6.x86_64
- libreport-plugin-kerneloops-2.0.5-20.el6.x86_64
- libreport-plugin-logger-2.0.5-20.el6.x86_64
- libreport-plugin-mailx-2.0.5-20.el6.x86_64
- libreport-plugin-reportuploader-2.0.5-20.el6.x86_64
- libreport-plugin-rhtsupport-2.0.5-20.el6.x86_64
- libreport-python-2.0.5-20.el6.x86_64
- libtar-1.2.11-16.el6.x86_64
- libtasn1-2.3-3.el6.x86_64
- libthai-0.1.12-3.el6.x86_64
- libtiff-3.9.4-1.el6_0.3.x86_64
- libudev-147-2.40.el6.x86_64
- libusb1-1.0.3-1.el6.x86_64
- libX11-1.3-2.el6.x86_64
- libX11-common-1.3-2.el6.noarch
- libXau-1.0.5-1.el6.x86_64
- libxcb-1.5-1.el6.x86_64
- libXcomposite-0.4.1-2.el6.x86_64
- libXcursor-1.1.10-2.el6.x86_64
- libXdamage-1.1.2-1.el6.x86_64
- libXext-1.1-3.el6.x86_64
- libXfixes-4.0.4-1.el6.x86_64
- libXft-2.1.13-4.1.el6.x86_64
- libXi-1.3-3.el6.x86_64
- libXinerama-1.1-1.el6.x86_64
- libxml2-python-2.7.6-4.el6.x86_64
- libXrandr-1.3.0-4.el6.x86_64
- libXrender-0.9.5-1.el6.x86_64
- lsof-4.82-2.el6.x86_64
- lvm2-2.02.87-6.el6.x86_64
- lvm2-libs-2.02.87-6.el6.x86_64
- mailx-12.4-6.el6.x86_64
- man-1.6f-29.el6.x86_64
- man-pages-3.22-17.el6.noarch
- man-pages-overrides-6.2.3-2.el6.noarch
- mdadm-3.2.2-9.el6.x86_64
- microcode_ctl-1.17-9.el6.x86_64
- mlocate-0.22.2-3.el6.x86_64
- mtr-0.75-5.el6.x86_64
- nano-2.0.9-7.el6.x86_64
- ntp-4.2.4p8-2.el6.centos.x86_64
- ntpdate-4.2.4p8-2.el6.centos.x86_64
- ntsysv-1.3.47-1.el6.x86_64
- openssh-clients-5.3p1-70.el6.x86_64
- pam_passwdqc-1.0.5-6.el6.x86_64
- pango-1.28.1-3.el6_0.centos.5.x86_64
- parted-2.1-17.el6.x86_64
- pciutils-3.1.4-11.el6.x86_64
- pcmciautils-015-4.2.el6.x86_64
- perl-5.10.1-119.el6_1.1.x86_64
- perl-libs-5.10.1-119.el6_1.1.x86_64
- perl-Module-Pluggable-3.90-119.el6_1.1.x86_64
- perl-Pod-Escapes-1.04-119.el6_1.1.x86_64
- perl-Pod-Simple-3.13-119.el6_1.1.x86_64
- perl-version-0.77-119.el6_1.1.x86_64
- pinfo-0.6.9-12.el6.x86_64
- pixman-0.18.4-1.el6_0.1.x86_64
- pkgconfig-0.23-9.1.el6.x86_64
- pm-utils-1.2.5-9.el6.x86_64
- prelink-0.4.6-3.el6.x86_64
- psacct-6.3.2-63.el6.x86_64
- python-ethtool-0.6-1.el6.x86_64
- python-iwlib-0.1-1.2.el6.x86_64
- quota-3.17-16.el6.x86_64
- rdate-1.4-16.el6.x86_64
- readahead-1.5.6-1.el6.x86_64
- rfkill-0.3-4.el6.x86_64
- rng-tools-2-10.el6.x86_64
- rsync-3.0.6-5.el6_0.1.x86_64
- setserial-2.17-25.el6.x86_64
- setuptool-1.19.9-3.el6.x86_64
- sgpio-1.2.0.10-5.el6.x86_64
- smartmontools-5.39.1-5.el6.x86_64
- sos-2.2-17.el6.noarch
- strace-4.5.19-1.10.el6.x86_64
- sysstat-9.0.4-18.el6.x86_64
- system-config-firewall-tui-1.2.27-5.el6.noarch
- system-config-network-tui-1.6.0.el6.2-1.el6.noarch
- systemtap-runtime-1.6-4.el6.x86_64
- tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.x86_64
- tcp_wrappers-7.6-57.el6.x86_64
- tcsh-6.17-14.el6.x86_64
- time-1.7-37.1.el6.x86_64
- tmpwatch-2.9.16-4.el6.x86_64
- traceroute-2.0.14-2.el6.x86_64
- unzip-6.0-1.el6.x86_64
- usbutils-003-4.el6.x86_64
- usermode-1.102-3.el6.x86_64
- vconfig-1.9-8.1.el6.x86_64
- vim-common-7.2.411-1.6.el6.x86_64
- vim-enhanced-7.2.411-1.6.el6.x86_64
- virt-what-1.11-1.1.el6.x86_64
- wget-1.12-1.4.el6.x86_64
- wireless-tools-29-5.1.1.el6.x86_64
- words-3.0-17.el6.noarch
- xdg-utils-1.0.2-17.20091016cvs.el6.noarch
- xmlrpc-c-1.16.24-1200.1840.el6_1.4.x86_64
- xmlrpc-c-client-1.16.24-1200.1840.el6_1.4.x86_64
- xz-4.999.9-0.3.beta.20091007git.el6.x86_64
- xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64
- yum-plugin-security-1.1.30-10.el6.noarch
- yum-utils-1.1.30-10.el6.noarch
- zip-3.0-1.el6.x86_64
- [root@test2 test]# comm -23 <(sort 2.txt) <(sort 3.txt)|wc -l
- 29
- [root@test2 test]# comm -23 <(sort 2.txt) <(sort 3.txt)
- boost-1.41.0-11.el6_1.2.x86_64
- boost-date-time-1.41.0-11.el6_1.2.x86_64
- boost-filesystem-1.41.0-11.el6_1.2.x86_64
- boost-graph-1.41.0-11.el6_1.2.x86_64
- boost-iostreams-1.41.0-11.el6_1.2.x86_64
- boost-program-options-1.41.0-11.el6_1.2.x86_64
- boost-python-1.41.0-11.el6_1.2.x86_64
- boost-regex-1.41.0-11.el6_1.2.x86_64
- boost-serialization-1.41.0-11.el6_1.2.x86_64
- boost-signals-1.41.0-11.el6_1.2.x86_64
- boost-system-1.41.0-11.el6_1.2.x86_64
- boost-test-1.41.0-11.el6_1.2.x86_64
- boost-thread-1.41.0-11.el6_1.2.x86_64
- boost-wave-1.41.0-11.el6_1.2.x86_64
- libicu-4.2.1-9.el6.x86_64
- matahari-0.4.4-11.el6.x86_64
- matahari-agent-lib-0.4.4-11.el6.x86_64
- matahari-broker-0.4.4-11.el6.x86_64
- matahari-host-0.4.4-11.el6.x86_64
- matahari-lib-0.4.4-11.el6.x86_64
- matahari-network-0.4.4-11.el6.x86_64
- matahari-service-0.4.4-11.el6.x86_64
- matahari-sysconfig-0.4.4-11.el6.x86_64
- qpid-cpp-client-0.12-6.el6.x86_64
- qpid-cpp-client-ssl-0.12-6.el6.x86_64
- qpid-cpp-server-0.12-6.el6.x86_64
- qpid-cpp-server-ssl-0.12-6.el6.x86_64
- qpid-qmf-0.12-6.el6.x86_64
- sigar-1.6.5-0.4.git58097d9.el6.x86_64
- [root@test2 test]# comm -12 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt)
- )|wc -l
- 201
- [root@test2 test]# comm -13 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt))|wc -l
- 5
- [root@test2 test]# comm -13 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt)
- )
- ConsoleKit-0.4.1-3.el6.x86_64
- ConsoleKit-libs-0.4.1-3.el6.x86_64
- dbus-1.2.24-5.el6_1.x86_64
- eggdbus-0.6-3.el6.x86_64
- polkit-0.96-2.el6_0.1.x86_64
- [root@test2 test]# comm -23 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt))|wc -l
- 0
对比四:
- [root@test2 test]# comm -12 <(sort 1.txt) <(sort 3.txt)|wc -l
- 208
- [root@test2 test]# comm -13 <(sort 1.txt) <(sort 3.txt)|wc -l
- 172
- [root@test2 test]# comm -23 <(sort 1.txt) <(sort 3.txt)|wc -l
- 0
由以上对比得知:
1.文本安装因为使用了lvm因此除了和图形化安装方式安装相同的201个软件包外,要额外安装7个软件包,即:
- device-mapper-1.02.66-6.el6.x86_64
- device-mapper-event-1.02.66-6.el6.x86_64
- device-mapper-event-libs-1.02.66-6.el6.x86_64
- device-mapper-libs-1.02.66-6.el6.x86_64
- libudev-147-2.40.el6.x86_64
- lvm2-2.02.87-6.el6.x86_64
- lvm2-libs-2.02.87-6.el6.x86_64
在图形化安装的系统中使用yum安装lvm2即可得知:
- [root@test2 test]# yum install lvm2
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirror.bit.edu.cn
- * extras: mirror.bit.edu.cn
- * updates: mirror.bit.edu.cn
- Setting up Install Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package lvm2.x86_64 0:2.02.95-10.el6 will be installed
- --> Processing Dependency: lvm2-libs = 2.02.95-10.el6 for package: lvm2-2.02.95-10.el6.x86_64
- --> Processing Dependency: libdevmapper.so.1.02(Base)(64bit) for package: lvm2-2.02.95-10.el6.x86_64
- --> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: lvm2-2.02.95-10.el6.x86_64
- --> Processing Dependency: libudev.so.0()(64bit) for package: lvm2-2.02.95-10.el6.x86_64
- --> Processing Dependency: libdevmapper.so.1.02()(64bit) for package: lvm2-2.02.95-10.el6.x86_64
- --> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: lvm2-2.02.95-10.el6.x86_64
- --> Running transaction check
- ---> Package device-mapper-event-libs.x86_64 0:1.02.74-10.el6 will be installed
- ---> Package device-mapper-libs.x86_64 0:1.02.74-10.el6 will be installed
- --> Processing Dependency: device-mapper = 1.02.74-10.el6 for package: device-mapper-libs-1.02.74-10.el6.x86_64
- ---> Package libudev.x86_64 0:147-2.42.el6 will be installed
- ---> Package lvm2-libs.x86_64 0:2.02.95-10.el6 will be installed
- --> Processing Dependency: device-mapper-event >= 1.02.74-10.el6 for package: lvm2-libs-2.02.95-10.el6.x86_64
- --> Running transaction check
- ---> Package device-mapper.x86_64 0:1.02.74-10.el6 will be installed
- ---> Package device-mapper-event.x86_64 0:1.02.74-10.el6 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- lvm2 x86_64 2.02.95-10.el6 base 613 k
- Installing for dependencies:
- device-mapper x86_64 1.02.74-10.el6 base 135 k
- device-mapper-event x86_64 1.02.74-10.el6 base 88 k
- device-mapper-event-libs x86_64 1.02.74-10.el6 base 83 k
- device-mapper-libs x86_64 1.02.74-10.el6 base 162 k
- libudev x86_64 147-2.42.el6 updates 75 k
- lvm2-libs x86_64 2.02.95-10.el6 base 678 k
- Transaction Summary
- ================================================================================
- Install 7 Package(s)
- Total download size: 1.8 M
- Installed size: 3.3 M
- Is this ok [y/N]:
2.最小安装可以最少安装201个软件包;
3.定制安装仅勾选base组软件包与minimal方式安装相比较安装了相同的206个软件包,相比较最小安装的201个软件包多装了以下5个软件包:
- ConsoleKit-0.4.1-3.el6.x86_64
- ConsoleKit-libs-0.4.1-3.el6.x86_64
- dbus-1.2.24-5.el6_1.x86_64
- eggdbus-0.6-3.el6.x86_64
- polkit-0.96-2.el6_0.1.x86_64
其次minimal方式安装安装了以下29个软件包而在使用定制安装勾选base组的方式中未安装。
- boost-1.41.0-11.el6_1.2.x86_64
- boost-date-time-1.41.0-11.el6_1.2.x86_64
- boost-filesystem-1.41.0-11.el6_1.2.x86_64
- boost-graph-1.41.0-11.el6_1.2.x86_64
- boost-iostreams-1.41.0-11.el6_1.2.x86_64
- boost-program-options-1.41.0-11.el6_1.2.x86_64
- boost-python-1.41.0-11.el6_1.2.x86_64
- boost-regex-1.41.0-11.el6_1.2.x86_64
- boost-serialization-1.41.0-11.el6_1.2.x86_64
- boost-signals-1.41.0-11.el6_1.2.x86_64
- boost-system-1.41.0-11.el6_1.2.x86_64
- boost-test-1.41.0-11.el6_1.2.x86_64
- boost-thread-1.41.0-11.el6_1.2.x86_64
- boost-wave-1.41.0-11.el6_1.2.x86_64
- libicu-4.2.1-9.el6.x86_64
- matahari-0.4.4-11.el6.x86_64
- matahari-agent-lib-0.4.4-11.el6.x86_64
- matahari-broker-0.4.4-11.el6.x86_64
- matahari-host-0.4.4-11.el6.x86_64
- matahari-lib-0.4.4-11.el6.x86_64
- matahari-network-0.4.4-11.el6.x86_64
- matahari-service-0.4.4-11.el6.x86_64
- matahari-sysconfig-0.4.4-11.el6.x86_64
- qpid-cpp-client-0.12-6.el6.x86_64
- qpid-cpp-client-ssl-0.12-6.el6.x86_64
- qpid-cpp-server-0.12-6.el6.x86_64
- qpid-cpp-server-ssl-0.12-6.el6.x86_64
- qpid-qmf-0.12-6.el6.x86_64
- sigar-1.6.5-0.4.git58097d9.el6.x86_64
在定制软件安装勾选base的安装方式中除了与minimal方式安装相同的206个软件包后多安装了174个软件包。
以上对几种安装方式所安装的软件包对比仅仅是了解每种安装方式,而不是每从网络上看到别人是怎么安装就怎么安装而不加任何思考,当然选择何种安装方式,还是根据自己的情况来进行选择。
最后总结一下:
1.因为文本模式安装系统不能自定义分区,因此可以考虑不选择。
2.图形化minimal安装系统,很多常用命令没有(因为所在软件包未安装,而大部分软件包都是Base组的),例如:hdparm、iostat、sar、unzip、wget、ntpstat、ntpdata、nano、setserial、bc、dmidecode、lsof、man、screen、ntsysv、at、sysreport、strace、tracert、lsusb、pinfo等。
是否看到熟悉的身影?
因此个人建议系统安装使用定制安装勾选base组进行安装;当然也可以选择minimal方式安装,安装完成后可以使用yum groupinstall Base 来安装Base组软件包;同样也可以yum install *.rpm来安装需要的软件包,当然需要知道自己需要什么?需要哪些软件包?
本文标题:Centos6.2文本模式安装与图形化模式安装比较
本文URL:http://scjbc.cn/article/jepsch.html