新聞中心
Xfce是類 UNIX 操作系統(tǒng)上的輕量級桌面環(huán)境。雖然它致力于快速與低資源消耗,但仍然具有視覺吸引力且易于使用,本篇文章重點為大家講解一下Centos8安裝Xfce具體方法。

創(chuàng)新互聯(lián)建站擁有一支富有激情的企業(yè)網(wǎng)站制作團隊,在互聯(lián)網(wǎng)網(wǎng)站建設(shè)行業(yè)深耕10余年,專業(yè)且經(jīng)驗豐富。10余年網(wǎng)站優(yōu)化營銷經(jīng)驗,我們已為近千家中小企業(yè)提供了網(wǎng)站建設(shè)、做網(wǎng)站解決方案,定制網(wǎng)站,設(shè)計滿意,售后服務(wù)無憂。所有客戶皆提供一年免費網(wǎng)站維護!
環(huán)境
CentOS Linux release 8.2.2004 (Core) 、CentOS Linux release 8.0.1905 (Core)
安裝xfce4
這里使用的xfce4相關(guān)的安裝包都是從Fedora28系統(tǒng)中下載的,裝在Centos8中或許有些不穩(wěn)定,目前發(fā)現(xiàn)裝上之后Firewalld有問題,如果不妨礙使用,可以禁用Firewalld。
生產(chǎn)環(huán)境就不要這樣玩了,本實驗純屬測試一下而已。
Xfce4相關(guān)的安裝包我已經(jīng)放在網(wǎng)盤里了:https://share.weiyun.com/VqEEZio1, 下載到本地,然后上傳到Centos8中。
# 安裝lrzsz,將下載好的 壓縮包上傳到系統(tǒng)中。
[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桌面
設(shè)置開機啟動到圖形界面
#開機啟動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.
關(guān)閉防火墻
[root@localhost ~]# systemctl disable firewalld
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
設(shè)置中文顯示
安裝中文:
[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"
重啟一下系統(tǒng),進入桌面看一下吧:
登錄界面
Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面
使用默認配置
到此已經(jīng)安裝完成了!
總結(jié)
本篇文章介紹如何在CentOS8 Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。
文章標題:Centos8下安裝Xfce
網(wǎng)頁路徑:http://www.dlmjj.cn/article/cdsiohs.html


咨詢
建站咨詢
