1、如何在centOS7下安裝GUI圖形界面
當你安裝centOS7服務器版本的時候,系統默認是不會安裝GUI的圖形界面程序,這個需要手動安裝CentOS7 Gnome GUI包。
2、在系統下使用命令安裝gnome圖形界面程序
在安裝Gnome包之前,需要檢查一下安裝源(yum)是否正常,因為需要在yum命令來安裝gnome包。
第一步:先檢查yum 是否安裝了,以及網絡是否有網絡。如果這兩者都沒有,先解決網絡,在解決yum的安裝。
(配置步驟可以查看我的博客文章-centos7配置IP地址-的步驟來實現 )
第二步:在命令行下 輸入下面的命令來安裝Gnome包。
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
問題描述:
Transaction check error:
file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch
解決方案:
# yum update grub2-common
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
第三步:更新系統的運行級別。
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
第四步:重啟機器。啟動默認進入圖形界面。
# reboot
3、centos yum 安裝完成桌面環境后無法訪問,顯示.serverauth.** does not exist解決辦法
問題描述:
安裝centos的yum安裝xwindows界面,出現以上的錯誤提示:
Host name lookup failure
.serverauth.** does not exist
Before reporting problems, check ..... to make sure that you have the latest version.
解決方案:
yum update
yum groupinstall "X Window System"
yum groupinstall "Desktop"
4、系統啟動后直接進入圖形界面