CentOS 6.4是当前最新版本,很多朋友想尝试下,跑php运行环境,linux是王道,这里感谢osyunwei网站,确实学到不少好东西

附:CentOS 6.4下载地址

32位:http://mirror.centos.org/centos/6.4/isos/i386/CentOS-6.4-i386-bin-DVD1to2.torrent

64位:http://mirror.centos.org/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-bin-DVD1to2.torrent

说明:

1、CentOS 6.4系统镜像有两个,安装系统只用到第一个镜像即CentOS-6.4-i386-bin-DVD1.iso(32位)或者CentOS-6.4-x86_64-bin-DVD1.iso(64位),第二个镜像是系统自带软件安装包;

2、安装CentOS 6.4系统的计算机内存必须等于或者大于628M(最小内存628M),才能启用图形安装模式;

3、CentOS 6.4文本安装模式不支持自定义分区,建议使用图形安装模式安装;

4、CentOS 6.4的系统安装方式分为:图形安装模式和文本安装模式;

5、CentOS 6.4的系统运行方式分为:带图形界面、可以用鼠标操作的图形化方式和不带图形界面、直接用命令行操作的文本方式(具体的系统运行方式,可以在系统安装的过程中自定义选择);

6、解决VMware Workstation虚拟机自动安装CentOS问题;http://www.jb51.net/softjc/85894.html

安装图解

用系统安装盘成功引导之后,出现如下界面

hygon cpu 服务器安装centos 服务器安装centos6_vmware

界面说明:

安装或升级现有的系统

安装过程中采用 基本的显卡驱动

进入系统修复模式

退出安装从硬盘启动

内存检测

这里选择第一项,安装或升级现有的系统,回车。

出现是否对CD媒体进行测试的提问,这里选择“Skip”跳过测试。

hygon cpu 服务器安装centos 服务器安装centos6_自定义_02

出现下面的界面

hygon cpu 服务器安装centos 服务器安装centos6_自定义_03

Next

hygon cpu 服务器安装centos 服务器安装centos6_vmware_04

选择语言为:中文(简体)Next

hygon cpu 服务器安装centos 服务器安装centos6_centos_05

键盘选择为:美国英语式

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_06

选择第一项,基本存储设备

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_07

选择第一项:是,忽略所有数据

下一步

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_08

设置主机名,默认即可,也可以自定义

hygon cpu 服务器安装centos 服务器安装centos6_自定义_09

时区选择:亚洲/上海

取消“系统时钟使用UTC时间”前面的勾

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_10

设置root密码

hygon cpu 服务器安装centos 服务器安装centos6_自定义_11

注意:如果你使用的密码过于简单,系统会自动提示,这里选择“无论如何都使用”

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_12

选择最后一项,创建自定义布局

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_13

可以看到硬盘的容量,我这里显示的是5G,现在自定义分区。

注意:分区之前,自己先要规划好,怎么分区

我这里的分区如下:

硬盘总共5G

/4G

Swap1G(内存小于2G时,设置为内存的2倍;内存大于或等于2G时,设置为2G)

特别说明:用于正式生产的服务器,切记必须把数据盘单独分区,防止系统出问题时,保证数据的完整性。

比如可以再划分一个/data专门用来存放数据。

hygon cpu 服务器安装centos 服务器安装centos6_vmware_14

选中空闲分区,点创建,选择标准分区,再点创建

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_15

挂载点:/

文件系统类型:ext4

大小:4096

确定

hygon cpu 服务器安装centos 服务器安装centos6_centos_16

继续选中空闲分区,点创建

hygon cpu 服务器安装centos 服务器安装centos6_centos_17

选择“标准分区”,点创建

hygon cpu 服务器安装centos 服务器安装centos6_vmware_18

文件系统类型:swap

大小:1023

其他选项默认即可

确定

hygon cpu 服务器安装centos 服务器安装centos6_centos_19

创建好分区之后,如上图所示,然后点“下一步”

hygon cpu 服务器安装centos 服务器安装centos6_centos_20

点“格式化”

hygon cpu 服务器安装centos 服务器安装centos6_自定义_21

选择“将修改写入磁盘”

hygon cpu 服务器安装centos 服务器安装centos6_自定义_22

下一步

hygon cpu 服务器安装centos 服务器安装centos6_centos_23

默认是:Minimal(最小)

如果是初次学习,建议选择:Desktop (桌面)

如果是用作正式服务器,建议选择:Minimal(最小)

这里选择:Desktop (桌面)

下一步

hygon cpu 服务器安装centos 服务器安装centos6_自定义_24

检测软件包

hygon cpu 服务器安装centos 服务器安装centos6_自定义_25

启动安装过程

hygon cpu 服务器安装centos 服务器安装centos6_自定义_26

hygon cpu 服务器安装centos 服务器安装centos6_centos_27

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_28

正在安装

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_29

点“重新引导”,系统自动重启

hygon cpu 服务器安装centos 服务器安装centos6_vmware_30

前进

hygon cpu 服务器安装centos 服务器安装centos6_centos_31

选择“是,我同意该许可协议”

前进

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_32

创建用户

注意:这里可以根据提示创建一个普通的用户,也可以直接点前进,不创建

建议:创建一个普通用户

用户名:osyunwei

全名:www.osyunwei.com(对用户名的描述)

密码:******(自己设置)

确认密码:******

全部设置好之后,点前进

hygon cpu 服务器安装centos 服务器安装centos6_vmware_33

注意:如果密码设置的过于简单,会弹出上面的对话框,可以点“否”,返回重新设置一个强壮的密码

也可以点“是”,继续使用该密码

这里点“是”

前进

hygon cpu 服务器安装centos 服务器安装centos6_vmware_34

日期和时间,默认即可

前进

hygon cpu 服务器安装centos 服务器安装centos6_自定义_35

确定

hygon cpu 服务器安装centos 服务器安装centos6_CentOS_36

完成

hygon cpu 服务器安装centos 服务器安装centos6_centos_37

出现登录界面

点用户全名:www.osyunwei.com

hygon cpu 服务器安装centos 服务器安装centos6_centos_38

输入上面设置的用户密码

登录

hygon cpu 服务器安装centos 服务器安装centos6_vmware_39

登录成功

hygon cpu 服务器安装centos 服务器安装centos6_自定义_40

点系统-注销osyunwei

hygon cpu 服务器安装centos 服务器安装centos6_centos_41

点“注销”

hygon cpu 服务器安装centos 服务器安装centos6_centos_42

用户名:root

登录

hygon cpu 服务器安装centos 服务器安装centos6_vmware_43

密码:输入root的密码

登录

hygon cpu 服务器安装centos 服务器安装centos6_centos_44

关闭

hygon cpu 服务器安装centos 服务器安装centos6_vmware_45

root用户登录成功

至此,CentOS 6.4安装(超级详细图解教程)完成