189 8069 5689

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进行安装:

        Centos6.2文本模式安装与图形化模式安装比较

        这一步选择使用默认选择即英文;

        Centos6.2文本模式安装与图形化模式安装比较

        这一步配置主机名及点击“configure network”进行网络配置,如下图:

         Centos6.2文本模式安装与图形化模式安装比较

                  配置完成继续下一步进行安装,直到“分区类型”这一步,如下图:

         Centos6.2文本模式安装与图形化模式安装比较

         选择“create custom layout”,自定义分区,进入下一步。分区最终结果如下图:

         Centos6.2文本模式安装与图形化模式安装比较

         继续进行下一步,直到选择软件界面即:“Centos 默认安装时最小安装,您现在可以选择不同的软件”界面; 

         Centos6.2文本模式安装与图形化模式安装比较

         这里选择minimal,next进入下一步;

         Centos6.2文本模式安装与图形化模式安装比较

         这里可以看到总共安装235个软件包;这里安装的软件包与《Centos 6.2文本模式安装》一文中的软件包不同,其为353个软件包;其操作系统为32位,这里安装使用64位镜像,不知是不是这个原因?

         安装完成如下图:

          Centos6.2文本模式安装与图形化模式安装比较

          重启进入系统:执行如下命令

  1. [root@test2 ~]# rpm -qa | wc -l  
  2. 235  
  3. [root@test2 ~]# rpm -qa >2.txt 
  4. [root@test2 test]# cat 2.txt |wc -l
  5. 235

(2)图形化安装在以下这个界面选择:“customize now”进行定制软件包:

          Centos6.2文本模式安装与图形化模式安装比较

          Centos6.2文本模式安装与图形化模式安装比较

         这里仅仅勾选base system的base组;如下图:

          Centos6.2文本模式安装与图形化模式安装比较

          Centos6.2文本模式安装与图形化模式安装比较

          这里可以看到总共安装380个软件包;

          安装完成进入系统执行如下命令:

  1. [root@test2 ~]# rpm -qa | wc -l  
  2. 380  
  3. [root@test2 ~]# rpm -qa >3.txt
  4. [root@test2 test]# cat 3.txt |wc -l
  5. 380

(3)图形化安装在以下这个界面选择:“customize now”进行定制软件包:在下图界面将所有项前的对勾全部去掉;

          Centos6.2文本模式安装与图形化模式安装比较

          Centos6.2文本模式安装与图形化模式安装比较

         可以看到总共安装201个软件包;

         安装完成进入系统执行如下命令:

  1. [root@test2 ~]# rpm -qa | wc -l  
  2. 201  
  3. [root@test2 ~]# rpm -qa >4.txt
  4. [root@test2 test]# cat 4.txt |wc -l
  5. 201

对几种不同安装方式所安装的rpm包列表对比结果如下: 

对比一:
 

  1. [root@test2 test]# comm -12 <(sort 1.txt) <(sort 4.txt)|wc -l  
  2. 201  
  3. [root@test2 test]# comm -13 <(sort 1.txt) <(sort 4.txt)|wc -l  
  4. 0  
  5. [root@test2 test]# comm -23 <(sort 1.txt) <(sort 4.txt)|wc -l  
  6. 7  
  7.  
  8. [root@test2 test]# comm -23 <(sort 1.txt) <(sort 4.txt)  
  9. device-mapper-1.02.66-6.el6.x86_64  
  10. device-mapper-event-1.02.66-6.el6.x86_64  
  11. device-mapper-event-libs-1.02.66-6.el6.x86_64  
  12. device-mapper-libs-1.02.66-6.el6.x86_64  
  13. libudev-147-2.40.el6.x86_64  
  14. lvm2-2.02.87-6.el6.x86_64  
  15. lvm2-libs-2.02.87-6.el6.x86_64  
  16.  
  17. [root@test2 test]# comm -12 <(sort 1.txt) <(sort 4.txt)  
  18. acl-2.2.49-6.el6.x86_64  
  19. aic94xx-firmware-30-2.el6.noarch  
  20. atmel-firmware-1.3-7.el6.noarch  
  21. attr-2.4.44-7.el6.x86_64  
  22. audit-2.1.3-3.el6.x86_64  
  23. audit-libs-2.1.3-3.el6.x86_64  
  24. authconfig-6.1.12-5.el6.x86_64  
  25. b43-openfwwf-5.2-4.el6.noarch  
  26. basesystem-10.0-4.el6.noarch  
  27. bash-4.1.2-8.el6.centos.x86_64  
  28. bfa-firmware-3.0.0.0-1.el6.noarch  
  29. binutils-2.20.51.0.2-5.28.el6.x86_64  
  30. bzip2-1.0.5-7.el6_0.x86_64  
  31. bzip2-libs-1.0.5-7.el6_0.x86_64  
  32. ca-certificates-2010.63-3.el6_1.5.noarch  
  33. centos-release-6-2.el6.centos.7.x86_64  
  34. checkpolicy-2.0.22-1.el6.x86_64  
  35. chkconfig-1.3.47-1.el6.x86_64  
  36. coreutils-8.4-16.el6.x86_64  
  37. coreutils-libs-8.4-16.el6.x86_64  
  38. cpio-2.10-9.el6.x86_64  
  39. cracklib-2.8.16-4.el6.x86_64  
  40. cracklib-dicts-2.8.16-4.el6.x86_64  
  41. cronie-1.4.4-7.el6.x86_64  
  42. cronie-anacron-1.4.4-7.el6.x86_64  
  43. crontabs-1.10-33.el6.noarch  
  44. curl-7.19.7-26.el6_1.2.x86_64  
  45. cyrus-sasl-2.1.23-13.el6.x86_64  
  46. cyrus-sasl-lib-2.1.23-13.el6.x86_64  
  47. dash-0.5.5.1-3.1.el6.x86_64  
  48. db4-4.7.25-16.el6.x86_64  
  49. db4-utils-4.7.25-16.el6.x86_64  
  50. dbus-glib-0.86-5.el6.x86_64  
  51. dbus-libs-1.2.24-5.el6_1.x86_64  
  52. dhclient-4.1.1-25.P1.el6.x86_64  
  53. dhcp-common-4.1.1-25.P1.el6.x86_64  
  54. diffutils-2.8.1-28.el6.x86_64  
  55. dracut-004-256.el6.noarch  
  56. dracut-kernel-004-256.el6.noarch  
  57. e2fsprogs-1.41.12-11.el6.x86_64  
  58. e2fsprogs-libs-1.41.12-11.el6.x86_64  
  59. efibootmgr-0.5.4-9.el6.x86_64  
  60. elfutils-libelf-0.152-1.el6.x86_64  
  61. ethtool-2.6.33-0.3.el6.x86_64  
  62. expat-2.0.1-9.1.el6.x86_64  
  63. file-libs-5.04-11.el6.x86_64  
  64. filesystem-2.4.30-3.el6.x86_64  
  65. findutils-4.4.2-6.el6.x86_64  
  66. fipscheck-1.2.0-7.el6.x86_64  
  67. fipscheck-lib-1.2.0-7.el6.x86_64  
  68. gamin-0.1.10-9.el6.x86_64  
  69. gawk-3.1.7-6.el6.x86_64  
  70. gdbm-1.8.0-36.el6.x86_64  
  71. glib2-2.22.5-6.el6.x86_64  
  72. glibc-2.12-1.47.el6.x86_64  
  73. glibc-common-2.12-1.47.el6.x86_64  
  74. gmp-4.3.1-7.el6.x86_64  
  75. gnupg2-2.0.14-4.el6.x86_64  
  76. gpgme-1.1.8-3.el6.x86_64  
  77. grep-2.6.3-2.el6.x86_64  
  78. groff-1.18.1.4-21.el6.x86_64  
  79. grub-0.97-75.el6.x86_64  
  80. grubby-7.0.15-2.el6.x86_64  
  81. gzip-1.3.12-18.el6.x86_64  
  82. hwdata-0.233-7.6.el6.noarch  
  83. info-4.13a-8.el6.x86_64  
  84. initscripts-9.03.27-1.el6.centos.x86_64  
  85. iproute-2.6.32-17.el6.x86_64  
  86. iptables-1.4.7-4.el6.x86_64  
  87. iptables-ipv6-1.4.7-4.el6.x86_64  
  88. iputils-20071127-16.el6.x86_64  
  89. ipw2100-firmware-1.3-11.el6.noarch  
  90. ipw2200-firmware-3.1-4.el6.noarch  
  91. ivtv-firmware-20080701-20.2.noarch  
  92. iwl1000-firmware-39.31.5.1-1.el6.noarch  
  93. iwl100-firmware-39.31.5.1-1.el6.noarch  
  94. iwl3945-firmware-15.32.2.9-4.el6.noarch  
  95. iwl4965-firmware-228.61.2.24-2.1.el6.noarch  
  96. iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch  
  97. iwl5150-firmware-8.24.2.2-1.el6.noarch  
  98. iwl6000-firmware-9.221.4.1-1.el6.noarch  
  99. iwl6000g2a-firmware-17.168.5.3-1.el6.noarch  
  100. iwl6000g2b-firmware-17.168.5.2-1.el6.noarch  
  101. iwl6050-firmware-41.28.5.1-2.el6.noarch  
  102. kbd-1.15-11.el6.x86_64  
  103. kbd-misc-1.15-11.el6.noarch  
  104. kernel-2.6.32-220.el6.x86_64  
  105. kernel-firmware-2.6.32-220.el6.noarch  
  106. keyutils-libs-1.4-3.el6.x86_64  
  107. krb5-libs-1.9-22.el6.x86_64  
  108. less-436-10.el6.x86_64  
  109. libacl-2.2.49-6.el6.x86_64  
  110. libattr-2.4.44-7.el6.x86_64  
  111. libblkid-2.17.2-12.4.el6.x86_64  
  112. libcap-2.16-5.5.el6.x86_64  
  113. libcap-ng-0.6.4-3.el6_0.1.x86_64  
  114. libcom_err-1.41.12-11.el6.x86_64  
  115. libcurl-7.19.7-26.el6_1.2.x86_64  
  116. libdrm-2.4.25-2.el6.x86_64  
  117. libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch  
  118. libffi-3.0.5-3.2.el6.x86_64  
  119. libgcc-4.4.6-3.el6.x86_64  
  120. libgcrypt-1.4.5-9.el6.x86_64  
  121. libgpg-error-1.7-4.el6.x86_64  
  122. libidn-1.18-2.el6.x86_64  
  123. libnih-1.0.1-7.el6.x86_64  
  124. libselinux-2.0.94-5.2.el6.x86_64  
  125. libselinux-utils-2.0.94-5.2.el6.x86_64  
  126. libsemanage-2.0.43-4.1.el6.x86_64  
  127. libsepol-2.0.41-4.el6.x86_64  
  128. libss-1.41.12-11.el6.x86_64  
  129. libssh3-1.2.2-7.el6_1.1.x86_64  
  130. libstdc++-4.4.6-3.el6.x86_64  
  131. libusb-0.1.12-23.el6.x86_64  
  132. libuser-0.56.13-4.el6_0.1.x86_64  
  133. libutempter-1.1.5-4.1.el6.x86_64  
  134. libuuid-2.17.2-12.4.el6.x86_64  
  135. libxml2-2.7.6-4.el6.x86_64  
  136. logrotate-3.7.8-12.el6_0.1.x86_64  
  137. lua-5.1.4-4.1.el6.x86_64  
  138. m4-1.4.13-5.el6.x86_64  
  139. MAKEDEV-3.24-6.el6.x86_64  
  140. mingetty-1.08-5.el6.x86_64  
  141. module-init-tools-3.9-17.el6.x86_64  
  142. MySQL-libs-5.1.52-1.el6_0.1.x86_64  
  143. ncurses-5.7-3.20090208.el6.x86_64  
  144. ncurses-base-5.7-3.20090208.el6.x86_64  
  145. ncurses-libs-5.7-3.20090208.el6.x86_64  
  146. net-tools-1.60-109.el6.x86_64  
  147. newt-0.52.11-3.el6.x86_64  
  148. newt-python-0.52.11-3.el6.x86_64  
  149. nspr-4.8.8-3.el6.x86_64  
  150. nss-3.12.10-16.el6.x86_64  
  151. nss-softokn-3.12.9-11.el6.x86_64  
  152. nss-softokn-freebl-3.12.9-11.el6.x86_64  
  153. nss-sysinit-3.12.10-16.el6.x86_64  
  154. nss-util-3.12.10-2.el6.x86_64  
  155. openldap-2.4.23-20.el6.x86_64  
  156. openssh-5.3p1-70.el6.x86_64  
  157. openssh-server-5.3p1-70.el6.x86_64  
  158. openssl-1.0.0-20.el6.x86_64  
  159. pam-1.1.1-10.el6.x86_64  
  160. passwd-0.77-4.el6.x86_64  
  161. pciutils-libs-3.1.4-11.el6.x86_64  
  162. pcre-7.8-3.1.el6.x86_64  
  163. pinentry-0.7.6-6.el6.x86_64  
  164. plymouth-0.8.3-24.el6.centos.x86_64  
  165. plymouth-core-libs-0.8.3-24.el6.centos.x86_64  
  166. plymouth-scripts-0.8.3-24.el6.centos.x86_64  
  167. policycoreutils-2.0.83-19.18.el6.x86_64  
  168. popt-1.13-7.el6.x86_64  
  169. postfix-2.6.6-2.2.el6_1.x86_64  
  170. procps-3.2.8-21.el6.x86_64  
  171. psmisc-22.6-15.el6_0.1.x86_64  
  172. pth-2.0.7-9.3.el6.x86_64  
  173. pygpgme-0.1-18.20090824bzr68.el6.x86_64  
  174. python-2.6.6-29.el6.x86_64  
  175. python-iniparse-0.3.1-2.1.el6.noarch  
  176. python-libs-2.6.6-29.el6.x86_64  
  177. python-pycurl-7.19.0-8.el6.x86_64  
  178. python-urlgrabber-3.9.1-8.el6.noarch  
  179. ql2100-firmware-1.19.38-3.1.el6.noarch  
  180. ql2200-firmware-2.02.08-3.1.el6.noarch  
  181. ql23xx-firmware-3.03.27-3.1.el6.noarch  
  182. ql2400-firmware-5.06.02-1.el6.noarch  
  183. ql2500-firmware-5.06.02-1.el6.noarch  
  184. readline-6.0-3.el6.x86_64  
  185. redhat-logos-60.0.14-10.el6.centos.noarch  
  186. rootfiles-8.1-6.1.el6.noarch  
  187. rpm-4.8.0-19.el6.x86_64  
  188. rpm-libs-4.8.0-19.el6.x86_64  
  189. rpm-python-4.8.0-19.el6.x86_64  
  190. rsyslog-4.6.2-12.el6.x86_64  
  191. rt61pci-firmware-1.2-7.el6.noarch  
  192. rt73usb-firmware-1.8-7.el6.noarch  
  193. sed-4.2.1-7.el6.x86_64  
  194. selinux-policy-3.7.19-126.el6.noarch  
  195. selinux-policy-targeted-3.7.19-126.el6.noarch  
  196. setup-2.8.14-13.el6.noarch  
  197. shadow-utils-4.1.4.2-13.el6.x86_64  
  198. slang-2.2.1-1.el6.x86_64  
  199. sqlite-3.6.20-1.el6.x86_64  
  200. sudo-1.7.4p5-7.el6.x86_64  
  201. system-config-firewall-base-1.2.27-5.el6.noarch  
  202. sysvinit-tools-2.87-4.dsf.el6.x86_64  
  203. tar-1.23-3.el6.x86_64  
  204. tcp_wrappers-libs-7.6-57.el6.x86_64  
  205. tzdata-2011l-4.el6.noarch  
  206. udev-147-2.40.el6.x86_64  
  207. upstart-0.6.5-10.el6.x86_64  
  208. ustr-1.0.4-9.1.el6.x86_64  
  209. util-linux-ng-2.17.2-12.4.el6.x86_64  
  210. vim-minimal-7.2.411-1.6.el6.x86_64  
  211. which-2.19-6.el6.x86_64  
  212. xorg-x11-drv-ati-firmware-6.14.2-7.el6.noarch  
  213. xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64  
  214. yum-3.2.29-22.el6.centos.noarch  
  215. yum-metadata-parser-1.1.2-16.el6.x86_64  
  216. yum-plugin-fastestmirror-1.1.30-10.el6.noarch  
  217. zd1211-firmware-1.4-4.el6.noarch  
  218. zlib-1.2.3-27.el6.x86_64  

 对比二:

  1. [root@test2 test]# comm -12 <(sort 2.txt) <(sort 4.txt)|wc -l  
  2. 201  
  3. [root@test2 test]# comm -13 <(sort 2.txt) <(sort 4.txt)|wc -l  
  4. 0  
  5. [root@test2 test]# comm -23 <(sort 2.txt) <(sort 4.txt)|wc -l  
  6. 34  
  7. [root@test2 test]# comm -23 <(sort 2.txt) <(sort 4.txt)  
  8. boost-1.41.0-11.el6_1.2.x86_64  
  9. boost-date-time-1.41.0-11.el6_1.2.x86_64  
  10. boost-filesystem-1.41.0-11.el6_1.2.x86_64  
  11. boost-graph-1.41.0-11.el6_1.2.x86_64  
  12. boost-iostreams-1.41.0-11.el6_1.2.x86_64  
  13. boost-program-options-1.41.0-11.el6_1.2.x86_64  
  14. boost-python-1.41.0-11.el6_1.2.x86_64  
  15. boost-regex-1.41.0-11.el6_1.2.x86_64  
  16. boost-serialization-1.41.0-11.el6_1.2.x86_64  
  17. boost-signals-1.41.0-11.el6_1.2.x86_64  
  18. boost-system-1.41.0-11.el6_1.2.x86_64  
  19. boost-test-1.41.0-11.el6_1.2.x86_64  
  20. boost-thread-1.41.0-11.el6_1.2.x86_64  
  21. boost-wave-1.41.0-11.el6_1.2.x86_64  
  22. ConsoleKit-0.4.1-3.el6.x86_64  
  23. ConsoleKit-libs-0.4.1-3.el6.x86_64  
  24. dbus-1.2.24-5.el6_1.x86_64  
  25. eggdbus-0.6-3.el6.x86_64  
  26. libicu-4.2.1-9.el6.x86_64  
  27. matahari-0.4.4-11.el6.x86_64  
  28. matahari-agent-lib-0.4.4-11.el6.x86_64  
  29. matahari-broker-0.4.4-11.el6.x86_64  
  30. matahari-host-0.4.4-11.el6.x86_64  
  31. matahari-lib-0.4.4-11.el6.x86_64  
  32. matahari-network-0.4.4-11.el6.x86_64  
  33. matahari-service-0.4.4-11.el6.x86_64  
  34. matahari-sysconfig-0.4.4-11.el6.x86_64  
  35. polkit-0.96-2.el6_0.1.x86_64  
  36. qpid-cpp-client-0.12-6.el6.x86_64  
  37. qpid-cpp-client-ssl-0.12-6.el6.x86_64  
  38. qpid-cpp-server-0.12-6.el6.x86_64  
  39. qpid-cpp-server-ssl-0.12-6.el6.x86_64  
  40. qpid-qmf-0.12-6.el6.x86_64  
  41. sigar-1.6.5-0.4.git58097d9.el6.x86_64  

对比三:

  1. [root@test2 test]# comm -12 <(sort 2.txt) <(sort 3.txt)|wc -l  
  2. 206  
  3. [root@test2 test]# comm -13 <(sort 2.txt) <(sort 3.txt)|wc -l  
  4. 174  
  5.  
  6. [root@test2 test]# comm -13 <(sort 2.txt) <(sort 3.txt)  
  7. abrt-2.0.4-14.el6.centos.x86_64  
  8. abrt-addon-ccpp-2.0.4-14.el6.centos.x86_64  
  9. abrt-addon-kerneloops-2.0.4-14.el6.centos.x86_64  
  10. abrt-addon-python-2.0.4-14.el6.centos.x86_64  
  11. abrt-cli-2.0.4-14.el6.centos.x86_64  
  12. abrt-libs-2.0.4-14.el6.centos.x86_64  
  13. acpid-1.0.10-2.1.el6.x86_64  
  14. alsa-lib-1.0.22-3.el6.x86_64  
  15. alsa-utils-1.0.21-3.el6.x86_64  
  16. at-3.1.10-43.el6.x86_64  
  17. atk-1.28.0-2.el6.x86_64  
  18. avahi-libs-0.6.25-11.el6.x86_64  
  19. b43-fwcutter-012-2.2.el6.x86_64  
  20. bc-1.06.95-1.el6.x86_64  
  21. bind-libs-9.7.3-8.P3.el6.x86_64  
  22. bind-utils-9.7.3-8.P3.el6.x86_64  
  23. biosdevname-0.3.11-1.el6.x86_64  
  24. blktrace-1.0.1-6.el6.x86_64  
  25. bridge-utils-1.2-9.el6.x86_64  
  26. btparser-0.13-1.el6.x86_64  
  27. busybox-1.15.1-11.el6.x86_64  
  28. cairo-1.8.8-3.1.el6.x86_64  
  29. centos-indexhtml-6-1.el6.centos.noarch  
  30. cpuspeed-1.5-15.el6.x86_64  
  31. crda-1.1.1_2010.11.22-1.el6.x86_64  
  32. cryptsetup-luks-1.2.0-6.el6.x86_64  
  33. cryptsetup-luks-libs-1.2.0-6.el6.x86_64  
  34. cups-libs-1.4.2-44.el6.x86_64  
  35. cyrus-sasl-plain-2.1.23-13.el6.x86_64  
  36. dbus-python-0.83.0-6.1.el6.x86_64  
  37. desktop-file-utils-0.15-9.el6.x86_64  
  38. device-mapper-1.02.66-6.el6.x86_64  
  39. device-mapper-event-1.02.66-6.el6.x86_64  
  40. device-mapper-event-libs-1.02.66-6.el6.x86_64  
  41. device-mapper-libs-1.02.66-6.el6.x86_64  
  42. dmidecode-2.11-2.el6.x86_64  
  43. dmraid-1.0.0.rc16-10.el6.x86_64  
  44. dmraid-events-1.0.0.rc16-10.el6.x86_64  
  45. dosfstools-3.0.9-4.el6.x86_64  
  46. ed-1.1-3.3.el6.x86_64  
  47. eject-2.1.5-17.el6.x86_64  
  48. elfutils-0.152-1.el6.x86_64  
  49. elfutils-libs-0.152-1.el6.x86_64  
  50. file-5.04-11.el6.x86_64  
  51. fontconfig-2.8.0-3.el6.x86_64  
  52. fprintd-0.1-19.git04fd09cfa.el6.x86_64  
  53. fprintd-pam-0.1-19.git04fd09cfa.el6.x86_64  
  54. freetype-2.3.11-6.el6_1.7.x86_64  
  55. gnutls-2.8.5-4.el6.x86_64  
  56. gpm-libs-1.20.6-12.el6.x86_64  
  57. gtk2-2.18.9-6.el6.centos.x86_64  
  58. hal-0.5.14-11.el6.x86_64  
  59. hal-info-20090716-3.1.el6.noarch  
  60. hal-libs-0.5.14-11.el6.x86_64  
  61. hdparm-9.16-3.4.el6.x86_64  
  62. hicolor-icon-theme-0.11-1.1.el6.noarch  
  63. hunspell-1.2.8-16.el6.x86_64  
  64. hunspell-en-0.20090216-7.1.el6.noarch  
  65. irqbalance-0.55-29.el6.x86_64  
  66. iw-0.9.17-4.el6.x86_64  
  67. jasper-libs-1.900.1-15.el6.x86_64  
  68. kexec-tools-2.0.0-209.el6.x86_64  
  69. kpartx-0.4.9-46.el6.x86_64  
  70. libaio-0.3.107-10.el6.x86_64  
  71. libedit-2.11-4.20080712cvs.1.el6.x86_64  
  72. libfprint-0.1.0-19.pre2.el6.x86_64  
  73. libjpeg-6b-46.el6.x86_64  
  74. libnl-1.1-14.el6.x86_64  
  75. libpcap-1.0.0-6.20091201git117cb5.el6.x86_64  
  76. libpng-1.2.46-1.el6_1.x86_64  
  77. libreport-2.0.5-20.el6.x86_64  
  78. libreport-cli-2.0.5-20.el6.x86_64  
  79. libreport-plugin-kerneloops-2.0.5-20.el6.x86_64  
  80. libreport-plugin-logger-2.0.5-20.el6.x86_64  
  81. libreport-plugin-mailx-2.0.5-20.el6.x86_64  
  82. libreport-plugin-reportuploader-2.0.5-20.el6.x86_64  
  83. libreport-plugin-rhtsupport-2.0.5-20.el6.x86_64  
  84. libreport-python-2.0.5-20.el6.x86_64  
  85. libtar-1.2.11-16.el6.x86_64  
  86. libtasn1-2.3-3.el6.x86_64  
  87. libthai-0.1.12-3.el6.x86_64  
  88. libtiff-3.9.4-1.el6_0.3.x86_64  
  89. libudev-147-2.40.el6.x86_64  
  90. libusb1-1.0.3-1.el6.x86_64  
  91. libX11-1.3-2.el6.x86_64  
  92. libX11-common-1.3-2.el6.noarch  
  93. libXau-1.0.5-1.el6.x86_64  
  94. libxcb-1.5-1.el6.x86_64  
  95. libXcomposite-0.4.1-2.el6.x86_64  
  96. libXcursor-1.1.10-2.el6.x86_64  
  97. libXdamage-1.1.2-1.el6.x86_64  
  98. libXext-1.1-3.el6.x86_64  
  99. libXfixes-4.0.4-1.el6.x86_64  
  100. libXft-2.1.13-4.1.el6.x86_64  
  101. libXi-1.3-3.el6.x86_64  
  102. libXinerama-1.1-1.el6.x86_64  
  103. libxml2-python-2.7.6-4.el6.x86_64  
  104. libXrandr-1.3.0-4.el6.x86_64  
  105. libXrender-0.9.5-1.el6.x86_64  
  106. lsof-4.82-2.el6.x86_64  
  107. lvm2-2.02.87-6.el6.x86_64  
  108. lvm2-libs-2.02.87-6.el6.x86_64  
  109. mailx-12.4-6.el6.x86_64  
  110. man-1.6f-29.el6.x86_64  
  111. man-pages-3.22-17.el6.noarch  
  112. man-pages-overrides-6.2.3-2.el6.noarch  
  113. mdadm-3.2.2-9.el6.x86_64  
  114. microcode_ctl-1.17-9.el6.x86_64  
  115. mlocate-0.22.2-3.el6.x86_64  
  116. mtr-0.75-5.el6.x86_64  
  117. nano-2.0.9-7.el6.x86_64  
  118. ntp-4.2.4p8-2.el6.centos.x86_64  
  119. ntpdate-4.2.4p8-2.el6.centos.x86_64  
  120. ntsysv-1.3.47-1.el6.x86_64  
  121. openssh-clients-5.3p1-70.el6.x86_64  
  122. pam_passwdqc-1.0.5-6.el6.x86_64  
  123. pango-1.28.1-3.el6_0.centos.5.x86_64  
  124. parted-2.1-17.el6.x86_64  
  125. pciutils-3.1.4-11.el6.x86_64  
  126. pcmciautils-015-4.2.el6.x86_64  
  127. perl-5.10.1-119.el6_1.1.x86_64  
  128. perl-libs-5.10.1-119.el6_1.1.x86_64  
  129. perl-Module-Pluggable-3.90-119.el6_1.1.x86_64  
  130. perl-Pod-Escapes-1.04-119.el6_1.1.x86_64  
  131. perl-Pod-Simple-3.13-119.el6_1.1.x86_64  
  132. perl-version-0.77-119.el6_1.1.x86_64  
  133. pinfo-0.6.9-12.el6.x86_64  
  134. pixman-0.18.4-1.el6_0.1.x86_64  
  135. pkgconfig-0.23-9.1.el6.x86_64  
  136. pm-utils-1.2.5-9.el6.x86_64  
  137. prelink-0.4.6-3.el6.x86_64  
  138. psacct-6.3.2-63.el6.x86_64  
  139. python-ethtool-0.6-1.el6.x86_64  
  140. python-iwlib-0.1-1.2.el6.x86_64  
  141. quota-3.17-16.el6.x86_64  
  142. rdate-1.4-16.el6.x86_64  
  143. readahead-1.5.6-1.el6.x86_64  
  144. rfkill-0.3-4.el6.x86_64  
  145. rng-tools-2-10.el6.x86_64  
  146. rsync-3.0.6-5.el6_0.1.x86_64  
  147. setserial-2.17-25.el6.x86_64  
  148. setuptool-1.19.9-3.el6.x86_64  
  149. sgpio-1.2.0.10-5.el6.x86_64  
  150. smartmontools-5.39.1-5.el6.x86_64  
  151. sos-2.2-17.el6.noarch  
  152. strace-4.5.19-1.10.el6.x86_64  
  153. sysstat-9.0.4-18.el6.x86_64  
  154. system-config-firewall-tui-1.2.27-5.el6.noarch  
  155. system-config-network-tui-1.6.0.el6.2-1.el6.noarch  
  156. systemtap-runtime-1.6-4.el6.x86_64  
  157. tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.x86_64  
  158. tcp_wrappers-7.6-57.el6.x86_64  
  159. tcsh-6.17-14.el6.x86_64  
  160. time-1.7-37.1.el6.x86_64  
  161. tmpwatch-2.9.16-4.el6.x86_64  
  162. traceroute-2.0.14-2.el6.x86_64  
  163. unzip-6.0-1.el6.x86_64  
  164. usbutils-003-4.el6.x86_64  
  165. usermode-1.102-3.el6.x86_64  
  166. vconfig-1.9-8.1.el6.x86_64  
  167. vim-common-7.2.411-1.6.el6.x86_64  
  168. vim-enhanced-7.2.411-1.6.el6.x86_64  
  169. virt-what-1.11-1.1.el6.x86_64  
  170. wget-1.12-1.4.el6.x86_64  
  171. wireless-tools-29-5.1.1.el6.x86_64  
  172. words-3.0-17.el6.noarch  
  173. xdg-utils-1.0.2-17.20091016cvs.el6.noarch  
  174. xmlrpc-c-1.16.24-1200.1840.el6_1.4.x86_64  
  175. xmlrpc-c-client-1.16.24-1200.1840.el6_1.4.x86_64  
  176. xz-4.999.9-0.3.beta.20091007git.el6.x86_64  
  177. xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64  
  178. yum-plugin-security-1.1.30-10.el6.noarch  
  179. yum-utils-1.1.30-10.el6.noarch  
  180. zip-3.0-1.el6.x86_64  
  181.  
  182. [root@test2 test]# comm -23 <(sort 2.txt) <(sort 3.txt)|wc -l  
  183. 29  
  184.  
  185. [root@test2 test]# comm -23 <(sort 2.txt) <(sort 3.txt)  
  186. boost-1.41.0-11.el6_1.2.x86_64  
  187. boost-date-time-1.41.0-11.el6_1.2.x86_64  
  188. boost-filesystem-1.41.0-11.el6_1.2.x86_64  
  189. boost-graph-1.41.0-11.el6_1.2.x86_64  
  190. boost-iostreams-1.41.0-11.el6_1.2.x86_64  
  191. boost-program-options-1.41.0-11.el6_1.2.x86_64  
  192. boost-python-1.41.0-11.el6_1.2.x86_64  
  193. boost-regex-1.41.0-11.el6_1.2.x86_64  
  194. boost-serialization-1.41.0-11.el6_1.2.x86_64  
  195. boost-signals-1.41.0-11.el6_1.2.x86_64  
  196. boost-system-1.41.0-11.el6_1.2.x86_64  
  197. boost-test-1.41.0-11.el6_1.2.x86_64  
  198. boost-thread-1.41.0-11.el6_1.2.x86_64  
  199. boost-wave-1.41.0-11.el6_1.2.x86_64  
  200. libicu-4.2.1-9.el6.x86_64  
  201. matahari-0.4.4-11.el6.x86_64  
  202. matahari-agent-lib-0.4.4-11.el6.x86_64  
  203. matahari-broker-0.4.4-11.el6.x86_64  
  204. matahari-host-0.4.4-11.el6.x86_64  
  205. matahari-lib-0.4.4-11.el6.x86_64  
  206. matahari-network-0.4.4-11.el6.x86_64  
  207. matahari-service-0.4.4-11.el6.x86_64  
  208. matahari-sysconfig-0.4.4-11.el6.x86_64  
  209. qpid-cpp-client-0.12-6.el6.x86_64  
  210. qpid-cpp-client-ssl-0.12-6.el6.x86_64  
  211. qpid-cpp-server-0.12-6.el6.x86_64  
  212. qpid-cpp-server-ssl-0.12-6.el6.x86_64  
  213. qpid-qmf-0.12-6.el6.x86_64  
  214. sigar-1.6.5-0.4.git58097d9.el6.x86_64  
  215.  
  216. [root@test2 test]# comm -12 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt)  
  217. )|wc -l  
  218. 201  
  219.  
  220. [root@test2 test]# comm -13 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt))|wc -l  
  221. 5  
  222.  
  223. [root@test2 test]# comm -13 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt)  
  224. )  
  225. ConsoleKit-0.4.1-3.el6.x86_64  
  226. ConsoleKit-libs-0.4.1-3.el6.x86_64  
  227. dbus-1.2.24-5.el6_1.x86_64  
  228. eggdbus-0.6-3.el6.x86_64  
  229. polkit-0.96-2.el6_0.1.x86_64  
  230.  
  231. [root@test2 test]# comm -23 <(sort 4.txt) <(comm -12 <(sort 2.txt) <(sort 3.txt))|wc -l  
  232. 0  

        对比四:

  1. [root@test2 test]# comm -12 <(sort 1.txt) <(sort 3.txt)|wc -l  
  2. 208  
  3. [root@test2 test]# comm -13 <(sort 1.txt) <(sort 3.txt)|wc -l  
  4. 172  
  5. [root@test2 test]# comm -23 <(sort 1.txt) <(sort 3.txt)|wc -l  
  6. 0  

 由以上对比得知:

1.文本安装因为使用了lvm因此除了和图形化安装方式安装相同的201个软件包外,要额外安装7个软件包,即:

  1. device-mapper-1.02.66-6.el6.x86_64   
  2. device-mapper-event-1.02.66-6.el6.x86_64    
  3. device-mapper-event-libs-1.02.66-6.el6.x86_64    
  4. device-mapper-libs-1.02.66-6.el6.x86_64    
  5. libudev-147-2.40.el6.x86_64    
  6. lvm2-2.02.87-6.el6.x86_64    
  7. lvm2-libs-2.02.87-6.el6.x86_64 

在图形化安装的系统中使用yum安装lvm2即可得知:

  1. [root@test2 test]# yum install lvm2  
  2. Loaded plugins: fastestmirror  
  3. Loading mirror speeds from cached hostfile  
  4.  * base: mirror.bit.edu.cn  
  5.  * extras: mirror.bit.edu.cn  
  6.  * updates: mirror.bit.edu.cn  
  7. Setting up Install Process  
  8. Resolving Dependencies  
  9. --> Running transaction check 
  10. ---> Package lvm2.x86_64 0:2.02.95-10.el6 will be installed 
  11. --> Processing Dependency: lvm2-libs = 2.02.95-10.el6 for package: lvm2-2.02.95-10.el6.x86_64 
  12. --> Processing Dependency: libdevmapper.so.1.02(Base)(64bit) for package: lvm2-2.02.95-10.el6.x86_64 
  13. --> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: lvm2-2.02.95-10.el6.x86_64 
  14. --> Processing Dependency: libudev.so.0()(64bit) for package: lvm2-2.02.95-10.el6.x86_64 
  15. --> Processing Dependency: libdevmapper.so.1.02()(64bit) for package: lvm2-2.02.95-10.el6.x86_64 
  16. --> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: lvm2-2.02.95-10.el6.x86_64 
  17. --> Running transaction check 
  18. ---> Package device-mapper-event-libs.x86_64 0:1.02.74-10.el6 will be installed 
  19. ---> Package device-mapper-libs.x86_64 0:1.02.74-10.el6 will be installed 
  20. --> Processing Dependency: device-mapper = 1.02.74-10.el6 for package: device-mapper-libs-1.02.74-10.el6.x86_64 
  21. ---> Package libudev.x86_64 0:147-2.42.el6 will be installed 
  22. ---> Package lvm2-libs.x86_64 0:2.02.95-10.el6 will be installed 
  23. --> Processing Dependency: device-mapper-event >= 1.02.74-10.el6 for package: lvm2-libs-2.02.95-10.el6.x86_64 
  24. --> Running transaction check 
  25. ---> Package device-mapper.x86_64 0:1.02.74-10.el6 will be installed 
  26. ---> Package device-mapper-event.x86_64 0:1.02.74-10.el6 will be installed 
  27. --> Finished Dependency Resolution 
  28.  
  29. Dependencies Resolved  
  30.  
  31. ================================================================================  
  32.  Package                      Arch       Version              Repository   Size 
  33. ================================================================================  
  34. Installing:  
  35.  lvm2                         x86_64     2.02.95-10.el6       base        613 k  
  36. Installing for dependencies:  
  37.  device-mapper                x86_64     1.02.74-10.el6       base        135 k  
  38.  device-mapper-event          x86_64     1.02.74-10.el6       base         88 k  
  39.  device-mapper-event-libs     x86_64     1.02.74-10.el6       base         83 k  
  40.  device-mapper-libs           x86_64     1.02.74-10.el6       base        162 k  
  41.  libudev                      x86_64     147-2.42.el6         updates      75 k  
  42.  lvm2-libs                    x86_64     2.02.95-10.el6       base        678 k  
  43.  
  44. Transaction Summary  
  45. ================================================================================  
  46. Install       7 Package(s)  
  47.  
  48. Total download size: 1.8 M  
  49. Installed size: 3.3 M  
  50. Is this ok [y/N]:  

2.最小安装可以最少安装201个软件包;

3.定制安装仅勾选base组软件包与minimal方式安装相比较安装了相同的206个软件包,相比较最小安装的201个软件包多装了以下5个软件包:

  1. ConsoleKit-0.4.1-3.el6.x86_64    
  2. ConsoleKit-libs-0.4.1-3.el6.x86_64    
  3. dbus-1.2.24-5.el6_1.x86_64    
  4. eggdbus-0.6-3.el6.x86_64    
  5. polkit-0.96-2.el6_0.1.x86_64  

其次minimal方式安装安装了以下29个软件包而在使用定制安装勾选base组的方式中未安装。

  1. boost-1.41.0-11.el6_1.2.x86_64    
  2. boost-date-time-1.41.0-11.el6_1.2.x86_64    
  3. boost-filesystem-1.41.0-11.el6_1.2.x86_64    
  4. boost-graph-1.41.0-11.el6_1.2.x86_64    
  5. boost-iostreams-1.41.0-11.el6_1.2.x86_64    
  6. boost-program-options-1.41.0-11.el6_1.2.x86_64    
  7. boost-python-1.41.0-11.el6_1.2.x86_64    
  8. boost-regex-1.41.0-11.el6_1.2.x86_64    
  9. boost-serialization-1.41.0-11.el6_1.2.x86_64    
  10. boost-signals-1.41.0-11.el6_1.2.x86_64    
  11. boost-system-1.41.0-11.el6_1.2.x86_64    
  12. boost-test-1.41.0-11.el6_1.2.x86_64    
  13. boost-thread-1.41.0-11.el6_1.2.x86_64    
  14. boost-wave-1.41.0-11.el6_1.2.x86_64    
  15. libicu-4.2.1-9.el6.x86_64    
  16. matahari-0.4.4-11.el6.x86_64    
  17. matahari-agent-lib-0.4.4-11.el6.x86_64    
  18. matahari-broker-0.4.4-11.el6.x86_64    
  19. matahari-host-0.4.4-11.el6.x86_64    
  20. matahari-lib-0.4.4-11.el6.x86_64    
  21. matahari-network-0.4.4-11.el6.x86_64    
  22. matahari-service-0.4.4-11.el6.x86_64    
  23. matahari-sysconfig-0.4.4-11.el6.x86_64    
  24. qpid-cpp-client-0.12-6.el6.x86_64    
  25. qpid-cpp-client-ssl-0.12-6.el6.x86_64    
  26. qpid-cpp-server-0.12-6.el6.x86_64    
  27. qpid-cpp-server-ssl-0.12-6.el6.x86_64    
  28. qpid-qmf-0.12-6.el6.x86_64    
  29. 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来安装需要的软件包,当然需要知道自己需要什么?需要哪些软件包? 

附件:http://down.51cto.com/data/2361402

当前题目:Centos6.2文本模式安装与图形化模式安装比较
路径分享:http://cdxtjz.cn/article/jepsch.html

其他资讯