问题:
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无法安装图形界面的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号