您的位置 首页 技术

centos7无法安装图形界面

问题: centos7安装图形界面提示错误:connection X Server lost 原因:缺少一些启动项。 解决方案: yum updata 附: 安装方法: yum -…

问题:

centos7安装图形界面提示错误:connection X Server lost

原因:缺少一些启动项。

解决方案:

yum updata

附:

安装方法:

yum -y update  yum -y groupinstall "X Window System"yum groupinstall "GNOME Desktop" "Graphical Administration Tools"ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target  #设置图形界面为默认启动界面

错误二:There are no enabled repos.

原因:是没有指定yum的repos源文件

解决方案:

1、安装阿里源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

2、安装网易源 

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo

相关教程推荐:centos教程

以上就是centos7无法安装图形界面的详细内容,更多请关注24课堂在线网其它相关文章!

本文来自网络,不代表24小时课堂在线立场,转载请注明出处:https://www.24ketang.cn/57439.html

为您推荐

返回顶部