CentOS安裝GUI圖形界面

CentOS安裝圖形界面

CentOS minimal環境安裝圖形界面。

列出所有可用的Environment Groups

yum group list
yum groupinfo "GNOME Desktop"

選擇GNOME Desktop軟件包組進行安裝

yum groupinstall -y 'GNOME Desktop'

如果要通過GUI配置網絡需要安裝Server with GUI

yum groups install -y "Server with GUI"

修改default target啓用GUI

systemctl set-default graphical.target
systemctl get-default

重新系統可直接進入圖形界面

reboot

在這裏插入圖片描述

也可以通過執行以下命令立即切換到GUI。

systemctl isolate graphical.target

刪除GUI

yum groupremove "GNOME Desktop"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章