温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

CentOS下怎么安装Xfce

发布时间:2022-02-17 10:38:41 来源:亿速云 阅读:274 作者:iii 栏目:开发技术

这篇文章主要介绍“CentOS下怎么安装Xfce”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“CentOS下怎么安装Xfce”文章能帮助大家解决问题。

Xfce 是类 UNIX 操作系统上的轻量级桌面环境。虽然它致力于快速与低资源消耗,但仍然具有视觉吸引力且易于使用。

CentOS下怎么安装Xfce

环境

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

安装xfce4

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

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

# 安装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
CentOS下怎么安装Xfce
CentOS下怎么安装Xfce

设置开机启动到图形界面

#开机启动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"

重启一下系统,进入桌面看一下吧: CentOS下怎么安装Xfce

登录界面

CentOS下怎么安装Xfce

使用默认配置

CentOS下怎么安装Xfce关于“CentOS下怎么安装Xfce”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI