Linux 为linux enterprises 6安装图形桌面教程

linux enterprises 6安装图形桌面教程

by:授客 QQ1033553122

 

安装系统后发现没图形界面,安装Xwindow[为了避免权限不足,以root登录]

步骤1、启动图形界面

# startx

出错了,提示xinit: No such file or directory(errno 2): no server “/usr/bin/X”in PATH

 

步骤2,查看已挂载文件系统

# mount

没看到光盘文件

 

步骤3,设置连接虚拟光驱

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 



步骤4,创建挂载目录

# cd /mnt

# mkdir cdrom

 

步骤5,挂载iso镜像光盘

# mount /dev/cdrom /mnt/cdrom

或者mount –t iso9660 /dev/cdrom /mnt/cdrom

mount: block device /dev/sr0 is write-protected, mounting read-only

 

步骤6,再次查看挂载情况

# mount

……

/dev/sr0 on /mnt/cdrom type iso9660(ro)

说明挂载成功

 

步骤7,进入挂载目录,查看文件

# cd /mnt/cdrom

#ls

 

步骤8,编辑配置文件,vim编辑器在/etc/yum.repos.d目录下直接编辑一个local.repo的文件并保存

# vim /etc/yum.repos.d/local.repo

[Server]

name=Server

baseurl=file:///mnt/cdrom/Server

enabled=1

gpgcheck=0

 

步骤9、下面我们来测试下本地yum源能否搜索到光盘上的软件包

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 



步骤10、安装软件包

# yum groupinstall  “X Window System”

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 

 

……

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 

 

# yum group install “Desktop”

安装过程中如下,

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 

输入y,回车

……

 

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

11,开启桌面系统

# startx

Linux <wbr>为linux <wbr>enterprises <wbr>6安装图形桌面教程

 



 

 

 

posted @ 2014-11-09 09:55  授客  阅读(544)  评论(0编辑  收藏  举报