良许Linux教程网 干货合集 Centos8下安装Xfce

Centos8下安装Xfce

Xfce是类 UNIX 操作系统上的轻量级桌面环境。虽然它致力于快速与低资源消耗,但仍然具有视觉吸引力且易于使用,本篇文章重点为大家讲解一下Centos8安装Xfce具体方法。

img

环境

CentOS Linux release 8.2.2004 (Core) 、CentOS Linux release 8.0.1905 (Core)

安装xfce4

这里使用的xfce4相关的安装包都是从Fedora28系统中下载的,装在Centos8中或许有些不稳定,目前发现装上之后Firewalld有问题,如果不妨碍使用,可以禁用Firewalld。

生产环境就不要这样玩了,本实验纯属测试一下而已。

Xfce4相关的安装包我已经放在网盘里了:https://share.weiyun.com/VqEEZio1, 下载到本地,然后上传到Centos8中。

# 安装lrzsz,将下载好的 压缩包上传到系统中。
[root@localhost ~]# dnf -y install lrzsz tar
[root@localhost ~]# rz
# 解压文件,并进入文件夹,开始安装
[root@localhost ~]# tar xvf Xfce_fd28.tar.gz
[root@localhost ~]# cd Xfce
[root@localhost Xfce]# dnf install -y * --skip-broken --nobest
Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面
Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面
Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面
Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面

设置开机启动到图形界面

#开机启动lightdm显示管理器
[root@localhost ~]# systemctl enable lightdm
# 默认启动图形界面
[root@localhost ~]# systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target ¡ú /usr/lib/systemd/system/graphical.target.
关闭防火墙
[root@localhost ~]# systemctl disable firewalld
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

设置中文显示

安装中文:

[root@localhost ~]# yum -y install wqy* glibc-langpack-zh

修改/etc/locale.conf

[root@localhost ~]# sed -i 's/en_US/zh_CN/' /etc/locale.conf
[root@localhost ~]# cat /etc/locale.conf
LANG="zh_CN.UTF-8"

重启一下系统,进入桌面看一下吧: Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面

登录界面

Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面
Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面

使用默认配置

Centos8如何安装Xfce桌面Centos8如何安装Xfce桌面 到此已经安装完成了!

总结

本篇文章介绍如何在CentOS8 Linux操作系统中安装Xfce桌面环境和LightDM(Light Display Manager)。

以上就是良许教程网为各位朋友分享的Linux系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你 !

img
本文由 良许Linux教程网 发布,可自由转载、引用,但需署名作者且注明文章出处。如转载至微信公众号,请在文末添加作者公众号二维码。
良许

作者: 良许

良许,世界500强企业Linux开发工程师,公众号【良许Linux】的作者,全网拥有超30W粉丝。个人标签:创业者,CSDN学院讲师,副业达人,流量玩家,摄影爱好者。
上一篇
下一篇

发表评论

联系我们

联系我们

公众号:良许Linux

在线咨询: QQ交谈

邮箱: yychuyu@163.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部