千家信息网

Centos8下怎么安装Xfce

发表于:2025-02-12 作者:千家信息网编辑
千家信息网最后更新 2025年02月12日,本文小编为大家详细介绍"Centos8下怎么安装Xfce",内容详细,步骤清晰,细节处理妥当,希望这篇"Centos8下怎么安装Xfce"文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习
千家信息网最后更新 2025年02月12日Centos8下怎么安装Xfce

本文小编为大家详细介绍"Centos8下怎么安装Xfce",内容详细,步骤清晰,细节处理妥当,希望这篇"Centos8下怎么安装Xfce"文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新知识吧。

环境

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

设置开机启动到图形界面

#开机启动lightdm显示管理器[root@localhost ~]# systemctl enable lightdm# 默认启动图形界面[root@localhost ~]# systemctl set-default graphical.targetRemoved /etc/systemd/system/default.target.Created symlink /etc/systemd/system/default.target ¡ú /usr/lib/systemd/system/graphical.target.关闭防火墙[root@localhost ~]# systemctl disable firewalldRemoved /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.confLANG="zh_CN.UTF-8"

重启一下系统,进入桌面看一下吧:

登录界面

使用默认配置

读到这里,这篇"Centos8下怎么安装Xfce"文章已经介绍完毕,想要掌握这篇文章的知识点还需要大家自己动手实践使用过才能领会,如果想了解更多相关内容的文章,欢迎关注行业资讯频道。

0