新聞中心
Xfce 是類 UNIX 操作系統(tǒng)上的輕量級(jí)桌面環(huán)境。雖然它致力于快速與低資源消耗,但仍然具有視覺吸引力且易于使用,下面為大家分享一下CentOS下安裝Xfce具體步驟。

創(chuàng)新互聯(lián)公司專業(yè)為企業(yè)提供龍馬潭網(wǎng)站建設(shè)、龍馬潭做網(wǎng)站、龍馬潭網(wǎng)站設(shè)計(jì)、龍馬潭網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計(jì)與制作、龍馬潭企業(yè)網(wǎng)站模板建站服務(wù),10年龍馬潭做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。
環(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)境就不要這樣玩了,本實(shí)驗(yàn)純屬測(cè)試一下而已。
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
# 解壓文件,并進(jìn)入文件夾,開始安裝
[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è)置開機(jī)啟動(dòng)到圖形界面
#開機(jī)啟動(dòng)lightdm顯示管理器
[root@localhost ~]# systemctl enable lightdm
# 默認(rèn)啟動(dòng)圖形界面
[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),進(jìn)入桌面看一下吧:
登錄界面
Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面
使用默認(rèn)配置
到此已經(jīng)安裝完成了!
總結(jié)
本篇文章介紹如何在CentOS8 Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。
本文名稱:CentOS下安裝Xfce具體步驟
網(wǎng)站網(wǎng)址:http://m.fisionsoft.com.cn/article/coishse.html


咨詢
建站咨詢
