v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
反覆安裝 上網百度,終於發現虛擬機安裝CentOS6.2時不能進入圖形化安裝的問題,竟然是內存小於1G的問題(CentOS5.5在內存512M時也能進行圖形化安裝).
安裝步驟:
1、製作U盤啟動引導
2、本地搭建CentOS 6.2Web安裝伺服器
3、安裝CentOS 6.2
在虛擬機內存設置為1G:
前面還是一樣的啟動安裝,選URL,設置IP,加入Web地址,等裝載install.img后就不是下圖了:
而是出現以下圖形:
繼續向後選默認設置,在選重新初始化的硬碟時選8G硬碟,注意:不要選錯了U盤.
CentOS預設給了分區模式,選創建自定義布局.
創建
創建“swap” 交換空間,再用人全部可用空間創建“/home”
選擇安裝的軟體包:可選的伺服器類型更多,而且默認安裝是一個非常小的甚至不完整的系統.選中
可選的類型說明如下:
Desktop :基本的桌面系統,包括常用的桌面軟體,如文檔查看工具.
Minimal Desktop :基本的桌面系統,包含的軟體更少.
Minimal :基本的系統,不含有任何可選的軟體包.
Basic Server :安裝的基本系統的平台支持,不包含桌面.
等20分鐘左右拷貝完文件后,重啟進入以下幾步,Kdump出錯,估計內存不夠:
再重啟,將正常進入:
4、啟動
[root@localhost ~]# cat anaconda-ks.cfg
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
url --url=http://113.194.75.214
lang zh_CN.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto static --ip 113.194.75.210 --netmask 255.255.255.248 --gateway 113.194.75.209 --ipv6 auto --nameserver 10.72.255.131
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Shanghai
bootloader --location=mbr --driveorder=sda --append=" rhgb crashkernel=auto quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --none
#part / --fstype=ext3 --size=5000
#part swap --size=1000
#part /home --fstype=ext3 --grow --size=200
repo --name="CentOS" --baseurl=http://113.194.75.214 --cost=100
%packages
@base
@chinese-support
@client-mgmt-tools
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
mtools
pax
oddjob
sgpio
genisoimage
wodim
abrt-gui
certmonger
pam_krb5
krb5-workstation
gnome-pilot
libXmu
%end[root@localhost ~]# [root@localhost ~]# cat anaconda-ks.cfg
# Kickstart file automatically generated by anaconda.
install
url --url=http://192.194.75.4
lang zh_CN.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto static --ip 192.194.75.3 --netmask 255.255.255.0 --gateway 192.194.75.1 --ipv6 auto --nameserver 10.72.255.131
rootpw --iscrypted $6$zht4IIaC9cLqX06o$f7IutYQjUN9EYVYpTPoW82Vn4cTGhTuW/WEAsQDwwoKzq5U3Lj.10u22A9W3y0RJUDW9rJOmqDavR/LiMKGMt0
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Shanghai
bootloader --location=mbr --driveorder=sda --append=" rhgb crashkernel=auto quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=sda
#volgroup VolGroup --pesize=4096 pv.008002
#logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --grow --size=1024 --maxsize=51200
#logvol swap --name=lv_swap --vgname=VolGroup --grow --size=512 --maxsize=1024
#part /boot --fstype=ext4 --size=500
#part pv.008002 --grow --size=1
repo --name="CentOS" --baseurl=http://192.194.75.4 --cost=100
%packages --nobase
@core
%end[root@localhost ~]#
本文出自 「空魔方」 博客,請務必保留此出處http://74516.blog.51cto.com/64516/790902
[火星人 ] Linux基礎自學記錄三3已經有519次圍觀