记录技术收获,分享个人心得

人生如负重远行,不可急于求成

Centos7安装图形界面及常见报错

一般市面上的云服务器为了节约服务器资源和性能,一般是不会安装GUI的图形界面程序,本教程针对centos7下图形界面的安装,一般不建议装这个东西,会增加系统负担,基本操作都可在命令行处理。

1、安装

(1)

# yum groupinstall -y "GNOME Desktop"

(2)

# yum groupinstall -y  "Graphical Administration Tools"

(3)

ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

(4)

echo -e "nameserver 119.29.29.29\nnameserver 180.76.76.76" > /etc/resolv.conf 

(5)reboot重启服务器即可

2、常见报错:

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
可参考:http://www.gaoshan.me/operation/system/linux/linux-centos-yum-epel.html 更新一下源,然后手工执行

#yum update  -y grub2-commonn
#yum install -y fwupdate-efi  
再试试安装


点赞

发表评论

邮箱地址不会被公开。 必填项已用*标注

hi~

你好,欢迎来到我的博客,欢迎留言。

快速搜索:





Generic selectors

Exact matches only


Search in title


Search in content



Search in posts


Search in pages

欢迎关注我:

微博
steam
网易云音乐
QQ
500px

常用命令:

http://www.gaoshan.me/cmd