Centos 6.2文本模式安装

一、安装环境:虚拟机 VMware? Workstation 7.1.3 build-324285

                宿主机:家用主机 AMD Athlon x250+4G+昂达A785GT+ +500G

                网络环境:ADSL拨号

二、操作系统镜像:CentOS-6.2-x86_64-bin-DVD1.iso

三、创建虚拟机如图:

xnj

三、开始安装:

1.启动虚拟机,按下ESC:进入启动菜单选择项:

 

qdcd

2.选择cd-rom drive启动,进入光盘安装界面:

azjm

3.按ESC键,进入如下图:输入linux text回车,进入文本安装模式

boot

4.下图界面选择skip跳过关盘介质测试:

welcom

5.在下图界面直接OK进入下一步:

welcom2

 

 

 

 

6.下图界面选择语言:使用默认语言English

yuyan

7.选择键盘模式:

 

8.注意:因为这个虚拟机我之前安装过系统,因此这里会提示是全新安装还是升级现有安装:

system

9.选择时区:这里选择亚洲/上海

timezone

 

10.设置root密码:

rootpass

11. 提示密码为弱口令:建议生产环境密码使用较为复杂的密码;这里选择use anyway ,继续使用设置的密码;

weakpassword

 

 

12.分区类型:选择use entire drive 使用整个磁盘

partition

13.写入配置:选择write changes to disk

writing

14.进入软件包安装阶段:

clip_image002

15.安装完成,按下reboot重启。

安装完成后,登录系统

1.配置IP、网关、DNS:

  
  
  
  
  1. ifconfig eth0 192.168.128.10 netmask 255.255.255.0 up  
  2. route add dufault gw 192.168.128.2  
  3. vi /etc/resolv.conf  
  4. nameserver  192.168.128.2  
  5. ping www.google.cn  
  6. [root@localhost ~]# rpm -qa | wc -l  
  7. 208  

配置好了以后可以用SshClient通过ssh登录管理。

注:通过ifconfig命令以及route命令设置的ip地址以及默认网关重启后均无效。

2.查看磁盘分区结构:

  
  
  
  
  1. Disk /dev/sda: 21.5 GB, 21474836480 bytes  
  2. 255 heads, 63 sectors/track, 2610 cylinders  
  3. Units = cylinders of 16065 * 512 = 8225280 bytes  
  4. Sector size (logical/physical): 512 bytes / 512 bytes  
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes  
  6. Disk identifier: 0x00039a2f  
  7.  
  8.    Device Boot      Start         End      Blocks   Id  System  
  9. /dev/sda1   *           1          64      512000   83  Linux  
  10. Partition 1 does not end on cylinder boundary.  
  11. /dev/sda2              64        2611    20458496   8e  Linux LVM  
  12.  
  13. Disk /dev/mapper/VolGroup-lv_root: 18.8 GB, 18832424960 bytes  
  14. 255 heads, 63 sectors/track, 2289 cylinders  
  15. Units = cylinders of 16065 * 512 = 8225280 bytes  
  16. Sector size (logical/physical): 512 bytes / 512 bytes  
  17. I/O size (minimum/optimal): 512 bytes / 512 bytes  
  18. Disk identifier: 0x00000000  
  19.  
  20.  
  21. Disk /dev/mapper/VolGroup-lv_swap: 2113 MB, 2113929216 bytes  
  22. 255 heads, 63 sectors/track, 257 cylinders  
  23. Units = cylinders of 16065 * 512 = 8225280 bytes  
  24. Sector size (logical/physical): 512 bytes / 512 bytes  
  25. I/O size (minimum/optimal): 512 bytes / 512 bytes  
  26. Disk identifier: 0x00000000  

以上为整个安装过程,可以看到整个安装过程中:

1.没有设置分区步骤,系统自动分区;

2.没有自定义选择软件包;

3.总共安装208个软件包;

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

这是因为centos6.2提供的文本安装模式功能受到局限,其不支持设置分区、存储方式以及选择组件。如果需要自定义磁盘分区,以及自定义安装组件还是用图形化安装来的方便。

参考:centos6.2发行说明:http://wiki.centos.org/zh/Manuals/ReleaseNotes/CentOS6.2?action=show&redirect=Manuals%2FReleaseNotes%2FCentOS6.2%2FChinese

你可能感兴趣的:(centos6,centos6.2,文本安装)