一.配置yum本地安装源:
su - rootmkdir /mnt/cdrommount -t iso9660 /dev/sr0 /mnt/cdromcd /etc/yum.repos.d
vi local.repo [LOCAL]name=localbaseurl=file:///mnt/cdromenable=1gpgcheck=0
yum clean all
yum groupinstall “X Window System” yum groupinstall “Desktop”
init 5
vi /etc/inittab# System initialization is started by /etc/init/rcS.conf## Individual runlevels are started by /etc/init/rc.conf## Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf## Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,# with configuration in /etc/sysconfig/init.## For information on how to write upstart event handlers, or how# upstart works, see init(5), init(8), and initctl(8).## Default runlevel. The runlevels used are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single user mode# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)#
id:3:initdefault:
将上面红字部分的 3改成5 3为命令行界面 5为X window图形界面
4.安装桌面右键终端:
yum install nautilus-open-terminal
新闻热点
疑难解答
图片精选