NEO

蜀道难,难于上青天!

导航

20130426-Linux试玩随笔-04-CentOS安装

Posted on 2013-05-02 10:24  页面载入出错  阅读(265)  评论(0编辑  收藏  举报

CentOS-6.4安装手记

在虚拟机上安装CentOS时要注意,不要选自动安装模式,否则会出现错误

安装完了,自动重启,结果悲剧了,启动不了,提示下面的信息:
 
Installing VMware Tools, please wait...
mount: special device /dev/hda does not exist
mount: block device /dev/sr0 is write-protected, mounting read-only
./run_upgrade.sh: line 21: file: command not found

在选择安装镜像文件那里,选择"CentOS 64-bit detected.This operating system will use Easy Install. ",不要选择推荐的镜像安装

网卡配置

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
HWADDR=00:0c:29:5b:1c:de
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.1.223
NETMASK=255.255.255.0
PREFIX=24
GATEWAY=192.168.1.1
DNS1=192.168.1.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
USERCTL=no

 安装一些常用软件

yum install vim
yum install wget
yum install gcc
yum install make
yum install setuptool
yum install system-config-network-tui
yum install system-cofnig-firewall-tui
......

 安装xwindow

安装X Window:yum groupinstall "X Window System" 
安装gnome:yum groupinstall "Desktop" 
安装中文语言:yum groupinstall "Chinese Support"

startx
按下Ctrl+Alt+F2,进入xwindow