Centos8如何安裝Xfce桌面-創(chuàng)新互聯(lián)

本篇文章介紹如何在 CentOS8  Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。

在Centos8中使用epel-release軟件源安裝Xfce4桌面時,發(fā)現(xiàn)安裝之后的桌面是Gnome3的,許多xfce的工具打不開。所以研究了幾天,通過Fedora28 Server版本的系統(tǒng)中,下載安裝包拷貝到Centos8中,可以安裝成功,在此記錄一下安裝過程。
Centos8如何安裝Xfce桌面

創(chuàng)新互聯(lián)建站是一家專業(yè)從事網(wǎng)站設(shè)計制作、做網(wǎng)站的網(wǎng)絡(luò)公司。作為專業(yè)網(wǎng)站設(shè)計公司,創(chuàng)新互聯(lián)建站依托的技術(shù)實力、以及多年的網(wǎng)站運營經(jīng)驗,為您提供專業(yè)的成都網(wǎng)站建設(shè)、成都全網(wǎng)營銷推廣及網(wǎng)站設(shè)計開發(fā)服務(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)境就不要這樣玩了,本實驗純屬測試一下而已。

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桌面

設(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桌面

使用默認配置


Centos8如何安裝Xfce桌面
到此已經(jīng)安裝完成了!

總結(jié)

本篇文章介紹如何在CentOS8 Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。

原文地址: https://www.linuxprobe.com/centos8-xfce-desktop.html

文章題目:Centos8如何安裝Xfce桌面-創(chuàng)新互聯(lián)
標題來源:http://bm7419.com/article4/igeie.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制網(wǎng)站、品牌網(wǎng)站設(shè)計外貿(mào)建站、外貿(mào)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計公司、網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)