您好,登錄后才能下訂單哦!
上一篇文章《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來安裝需要的軟件包,當然需要知道自己需要什么?需要哪些軟件包?
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。