迷你安裝的redhat/centos安裝gnome案頭

來源:互聯網
上載者:User

標籤:des   os   sp   檔案   on   bs   ef   as   tt   

因系統版本和語言環境不同,安裝包的名字會有所差別

安裝方式可以選擇直接連網安裝,也可以載入dvd鏡像源安裝,這裡針對配置redhat/centos本地dvd的yum源做個記錄:

1.複製 redhat ISO 系統dvd鏡像到當前系統任一目錄下,這裡記作:/tmp/redhat.iso

2.掛載鏡像到/mnt/dvd

    # mkdir /mnt/dvd

    # mount -o loop /tmp/redhat.iso /mnt/dvd

3.配置yum源

    # cp /etc/yum.repos.d/redhat-Base.repo /etc/yum.repos.d/redhat-Base.repo_sysbak

    # vi /etc/yum.repos.d/redhat-Base.repo

        在開啟的檔案中,只留 [base] 配置,其他刪除,修改 [base] 中的

        enable=1

        gppcheck=0

4.儲存,執行

    # yum update

    別著急更新,繼續執行

    # yum grouplist

    要安裝案頭環境,其中的 X Window System(有可能是 X 視窗系統 等)是必須安裝的,執行

    # yum groupinstall "X Window System"

    如果要安裝 GNOME 案頭環境(有可能是 GNOME Desktop、GNOME Desktop Environment、案頭、Desktop等)

    # yum groupinstall "GNOME 案頭環境"

5.開機啟動圖形介面

    # vi /etc/inittab

    修改其中 id:3:initdefault 一行,將 3 改成 5 ,重新啟動系統

 

迷你安裝的redhat/centos安裝gnome案頭

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.