打造基于CentOS7的xfce最简工作环境

论坛 期权论坛 脚本     
匿名技术用户   2021-1-4 15:31   11   0

参考这里:http://blog.csdn.net/smstong/article/details/44802989没成功。

又参考这里http://jensd.be/125/linux/rhel/install-mate-or-xfce-on-centos-7 成功了。

1、我是在win7下,虚拟机中,CentOS7 最小安装
2、执行 yum update 更新系统
3、执行 # yum install epel-release 安装额外包yum源(extra package for Enterprise Linux)
4、执行yum groupinstall "X Window system",安装X Window system
5、yum groupinstall "MATE Desktop"
6、yum groupinstall xfce 安装Xfce桌面环境
7、systemctl isolate graphical.target
终于见到桌面了,下次重启可能还要执行第7步。

之后可以Start the GUI on boot:
sudo systemctl set-default graphical.target
rm '/etc/systemd/system/default.target'
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
还可以Change the default display manager

转载于:https://www.cnblogs.com/pu369/p/6020492.html

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP