Centos8如何安裝Xfce桌面

2021-10-13 12:48:23 字數 1878 閱讀 6358

本篇文章介紹如何在centos8 linux作業系統中安裝xfce桌面環境和lightdm(light display manager)。

環境

centos linux release 8.2.2004 (core) 、centos linux release 8.0.1905 (core)

安裝xfce4

生產環境就不要這樣玩了,本實驗純屬測試一下而已。

[root@localhost ~]# dnf -y install lrzsz tar

[root@localhost ~]# rz

# 解壓檔案,並進入資料夾,開始安裝

設定開機啟動到圖形介面

#開機啟動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)。

Centos8 安裝教程

所謂虛擬機器,也就是通過軟體虛擬的方式搭建乙個外殼,而且這個外殼就相當於我們的物理主機,在這個虛擬外殼內部可以通過安裝的方法安裝另外乙個作業系統。在虛擬機器內部可以對劃分的磁碟進行動態的分割槽,格式化,安裝作業系統安裝軟體,資料儲存和網路訪問。總之物理機既能夠實現的,虛擬機器都能實現,虛擬機器與物理...

如何在CentOS 8上安裝XRDP?

步驟1 首先,讓我們首先確保您的系統是最新的。sudo dnf clean all sudo dnf install epel release sudo dnf update 步驟2.安裝桌面環境。如果您的centos 8上沒有安裝gui 桌面環境,請使用以下命令進行安裝 sudo dnf grou...

如何在CentOS 8上安裝Vtiger CRM?

別忘了,我們將需要更改一些資料夾許可權 sudo chown r apache apache var www html vtigercrm 步驟4.為vtiger crm配置mariadb。預設情況下,不會對mariadb進行加固。您可以使用mysql secure installation指令碼保...