• 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安装图形桌面教程



     

     

  • 相关阅读:
    Linux开发工具之Makefile(上)
    Linux shell入门基础(八)
    Linux开发工具之gcc
    Linux shell入门基础(七)
    Linux shell入门基础(六)
    Linux shell入门基础(五)
    Linux shell入门基础(四)
    随机洗牌算法
    Windows中查找文件被何进程使用
    哲学家进餐问题解析
  • 原文地址:https://www.cnblogs.com/shouke/p/10158210.html
Copyright © 2020-2023  润新知