Centos8如何安装Xfce桌面
安装 如何 桌面 CentOS8
2023-09-27 14:29:14 时间
本篇文章介绍如何在CentOS8 Linux操作系统中安装Xfce桌面环境和LightDM(Light Display Manager)。 |
在Centos8中使用epel-release软件源安装Xfce4桌面时,发现安装之后的桌面是Gnome3的,许多xfce的工具打不开。所以研究了几天,通过Fedora28 Server版本的系统中,下载安装包拷贝到Centos8中,可以安装成功,在此记录一下安装过程。
环境
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.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 Linux操作系统中安装Xfce桌面环境和LightDM(Light Display Manager)。
相关文章
- 瑞思迈睡眠呼吸机resscan读数据”安装软件和下载数据篇“
- 如何在Debian和Ubuntu上安装MariaDB 10
- 【ARM-Linux开发】如何使用opkg在RicoBoard上在线安装软件包
- 【FFMPEG】【ARM-Linux开发】fmpeg安装第三方编码器(encoder)库,ffmpeg编码h264(完)
- CentOS安装和配置SVN
- 【Android Studio安装部署系列】二十四、Android studio中Gradle插件版本和Gradle版本关系
- 如何在Ubuntu 15.04/CentOS 7上安装Android Studio
- Fedora 23如何安装LAMP服务器
- 使用非服务器磁盘(MBROnly)安装ESXi时的方法.
- 安装好visual studio后,如何添加新的工作负载和组件
- CentOS7 安装 Redis 6.0.10
- 如何在windows上安装centos单系统,以及安装事项和 centOS Linux和centOS Stream区别
- mysql 安装成功后如何设置密码?
- my.cnf已经存在,影响安装--mysql
- Linux Ubuntu Docker 安装与配置
- 【开发环境】Mac 中 IntelliJ IDEA 运行 Python 程序 ( 安装 Python Community Edition 插件 )
- VCRedist.exe静默安装方法
- 【推荐】Nginx基础知识之————多模块(非覆盖安装、RTMP在线人数实例安装测试)
- 如何安装双系统
- 如何在FreeBSD中安装Nginx,MySQL,PHP(FEMP)
- 如何安装最新的 XFCE 桌面?