Install GNOME GUI on RHEL 7 Linux Server
I have centos 6.3 minimal running as web server. I’m looking to install gui to my server to vnc to my server. You can install a group of packages with groupinstall command on centos, fedora, or red hat. All you have to do is to install the whole group of packages without installing many single packages at a time. Centos will install Gnome as default Gui.
Firstly you will need “X Window System” as the based for GUI
# yum groupinstall -y "X Window System"
After that you can choose one of these available Desktop groups to install. By default Centos 6 will install Gnome ask Desktop Environment
Gnome
# yum groupinstall basic-desktop desktop-platform x11 fonts
or
# yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
To list all installed and available groups
# yum grouplist
To remove a Group of Packages
# yum groupremove "General Purpose Desktop"
To list all packages and descriptions of a group
# yum groupinfo "General Purpose Desktop"
There are also some optional packages if you want something more than a gui desktop environment
# yum -y groupinstall "Graphical Administration Tools" # yum -y groupinstall "General Purpose Desktop" # yum -y groupinstall "Office Suite and Productivity" # yum -y groupinstall "Graphics Creation Tools" # yum -y groupinstall "Base" # yum -y groupinstall "Web Server" # yum -y groupinstall "MySQL Database Server" # yum -y groupinstall "Educational Software" # yum -y groupinstall 'Electronic Lab" # yum -y groupinstall "NFS file server" # yum -y groupinstall 'Network Storage Server" # yum -y groupinstall "Virtualization"
To boot to GUI directly without going to CLI mode, you need to edit /etc/inittab
# nano /etc/inittab
Change
id:3:initdefault:
To
id:5:initdefault:
KDE
KDE (K Desktop Environment) is an alternative GUI for Gnome, some people prefer KDE over Gnome for some reason since they are basically similar. To install KDE on Centos, use this command on your system terminal:
# yum groupinstall "X Window System" "KDE desktop"
TDE
TDE or Trinity Desktop Environment is very similar to KDE, but TDE is very easy to configure compare to KDE please you can easily change display choice to tree view with TDE. Same as KDE, TDE give you full desktop enviroment like panel, trask bar, task manger, quick launch, text editor, file manger and such.
Before you install TDE on Centos 6, you must add TDE or Trinity’s repo to your system
# rpm -Uvh http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity/rpm/el6/trinity-3.5.13/RPMS/noarch/extras/trinity-repo-3.5.13.2-2.el6.opt.noarch.rpm
To Install the minimum, basic TDE desktop
# yum install trinity-tdebase
To Install the entire Trinity desktop
# yum install trinity-desktop
Installing the entire Trinity desktop + all Trinity supported applications
# yum install trinity-desktop-all
Cinnamon
Created and developed by Linux Mint, Cinnamon Desktop project original known for desktop environment for Linux Mint releases. Cinnamon is built on top of Gnome but does not require gnome to be installed on your system. Lately Cinnamon is developed natively for fedora/centos OS. To install cinnamon on centos/fedora:
Become root or super user
$ su -
update your system
# yum update
Install cinnamon on centos/fedora
# yum -y install cinnamon
MATE
MATE desktop is another great GUI or Windows Managers for Linux. Mate is very similar to Gnome 2 and uses GTK3.
To install MATE desktop on Fedora/Centos
# yum update # yum groupinstall “MATE Desktop”
Xfce
If you want a lightweight desktop environment, Xfce is the one for you. Unlike Gnome and KDE, Xfce takes very little resource of your system.
To install Xfce on Centos, you need to download and install the epel-release package from fedora EPEL repository, and you need wget package.
# yum install wget
For 64bit Centos system
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
For 32bit Centos system
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
Finally, Install Xfce and few extra fonts packages for the graphical login screen in CentOS, without fonts packages you won’t be able to see any word and seeing square boxes instead.
# yum groupinstall "Xfce" "X Window System" "Fonts"
Reboot
To start xfce after you install it by these commands
$ /sbin/telinit 5
Or
$ startxfce4
To start xfce automatically, you need to modify the /etc/inittab file to change start up level to 5
# nano /etc/inittab
Change
# Default runlevel. The runlevels used are: 0 - halt (Do NOT set initdefault to this) 1 - Single user mode 2 - Multiuser, without NFS (The same as 3, if you do not have networking) 3 - Full multiuser mode 4 - unused 5 - X11 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault:
To
# Default runlevel. The runlevels used are: 0 - halt (Do NOT set initdefault to this) 1 - Single user mode 2 - Multiuser, without NFS (The same as 3, if you do not have networking) 3 - Full multiuser mode 4 - unused 5 - X11 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault:
相关推荐
Linux(CentOS/RHEL)下搭配Intel WiFi使用方法,通过terminal脚本部署,也可自动部署和配置
Linux Polkit 权限提升漏洞(CVE-2021-4034)在 CentOS/RHEL 6 修复升级的 rpm 离线包
主要介绍了将安装了CentOS/RHEL 6/7的机器转变成路由器的方法,我们将学习通过使用 NAT 技术将安装有 RHEL/CentOS 6 & 7 的机器转变成路由器来用,有兴趣的可以了解一下
CentOS7/RHEL7 pacemaker+corosync高可用集群搭建
一个centos7/rhel7 系统配置samba服务的教程,特别是实现windows下的share级共享
主要介绍了centos/rhel下实现nginx自启动脚本,需要的朋友可以参考下
DELL R750/740服务器H750/H755 raid卡 安装CentOS/RHEL7.4/7.5/7.6/7.7操作系统
1.如果你有安装CentOS / RHEL最小服务器安装,您可能有很多麻烦没有安装包 2.有一种方法来安装所有的包,需要一个基本的服务器,使用yum groupinstall命令 3.从最小的安装基本升级你的服务器 # yum groupinstall “Base...
本文会告诉你怎样在 CentOS/RHEL 上设置 SSH 免密码登录。自动登录配置好以后,你可以通过它使用 SSH (Secure Shell)和安全复制 (SCP)来移动文件。 SSH 是开源的,是用于远程登录的最为可靠的网络协议。系统管理...
shellcheck在centOS/redHat下没有可用的可执行文件或者可以直接编译生成的命令...附件是在centOS/redHat下已编译的可执行文件,理论上可以在其他centOS/redHat平台版本下使用,因编译过程太艰辛曲折,收取10分辛苦分。
官网文档翻译. ...安装先决条件: sudo yum install yum-utils 若要设置yum存储库,请...baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/ngin
最小化安装CentOS 7 64位
tar -zxvf ansible_v2.9.9_install.tar.gz # 进入安装目录下 cd ansible_v2.9.9_install # 一键安装 sh ansible_v2.9.0_install.sh 安装完成 # 一键部署脚本 #!/bin/bash rpm -ivh Ansible_install_RPM/* --...
Install Cobbler on CentOS 7 Install Cobbler on CentOS 7 Install Cobbler on CentOS 7 Install Cobbler on CentOS 7
How To Install nginx on CentOS 6 with yum
我写的Oracle11gR2在linux上的完整安装过程。
CentOS7各个版本镜像下载地址 # CentOS7.6 下载地址 ...http://mirrors.163.com/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso # CentOS-7-x86_64-Everything-1810.iso CentOS 7.6 Everything版 10G ...