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:
相关推荐
Cockpit 是一个强大的基于 Web 的服务器管理工具,专为 Linux 系统设计,特别是 CentOS 和 RHEL。在 CentOS 8 和 RHEL 8 这两个最新版本中,Cockpit 被作为默认的管理界面提供。它允许系统管理员通过直观的图形用户...
sudo yum install lrzsz # 对于CentOS/RHEL ``` 在使用rz和sz之前,确保本地和远程主机之间的连接已经建立,并且权限设置正确,例如通过ssh连接。一旦连接建立,就可以在终端中使用rz和sz命令进行文件传输了。 在...
sudo yum install nmon # CentOS/RHEL ``` 安装完成后,可直接通过命令行运行nmon: ```bash sudo nmon ``` ### 2. nmon界面及功能 nmon提供了友好的文本界面,分为多个视图,通过按键切换: - **CPU视图**:...
在软件选择选项中,可以选择安装的模式,例如“包含图形界面Server with GUI”或“最小化安装Minimal Install”。 五、总结 本文详细介绍了 CentOS 8 的安装过程,并提供了相关的图解,以便读者更好地理解和安装 ...
sudo yum install gtkmm30-devel # 对于CentOS/RHEL ``` 然后,根据程序的具体需求,你可能还需要其他依赖项,如编译器、链接器和其他开发工具。在安装完所有必要依赖后,你可以按照程序提供的说明进行编译和安装。...
wget http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-gui-tools-5.0r12-rhel4-i386.tar.gz -O mysql-gui-tools.tar.gz tar xvf mysql-gui-tools.tar.gz ``` 安装完成后,可以通过MySQL命令行客户端进行...
# 对于基于RHEL/Fedora的系统 sudo yum install xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi xorg-x11-fonts-cyrillic xorg-x11-fonts-misc xorg-x11-fonts-Type1.noarch ``` 现在,我们可以...
在Ubuntu/Debian上,执行`sudo apt-get install libmosquitto-dev`,在Fedora/RHEL/CentOS,使用`sudo yum install libmosquitto-devel`。 5. **配置Qt Creator**:打开Qt Creator,创建一个新的Qt Console ...
或者在CentOS/RHEL上: ``` sudo yum install tcl-devel tk-devel ``` 3. **macOS安装**: - 安装Homebrew(如果尚未安装):`/bin/bash -c "$(curl -fsSL ...
CentOS (Community ENTerprise Operating System) is a Linux operating system maintained by a small team of core developers based on Red Hat Enterprise Linux (RHEL) Lead author Christopher Negus is the ...
在VMware中创建新的虚拟机时,选择"自定义"配置并选择"Linux"作为操作系统类型,然后选择"Red Hat Enterprise Linux 7.x 64位",因为CentOS 8与RHEL 7.x兼容。 接着,我们需要获取CentOS 8.4.2105的ISO镜像文件,将...
- 安装LibreOffice:在大多数Linux发行版中,可以通过包管理器安装,如Ubuntu/Debian使用`sudo apt-get install libreoffice`,CentOS/RHEL使用`sudo yum install libreoffice`或`sudo dnf install libreoffice`。...
对于CentOS/RHEL用户,使用`sudo yum install sqlite3`。移植SQLite意味着将它从一个环境移动到另一个环境,这通常涉及到确保目标系统也有SQLite支持,并且能够处理现有的SQLite数据库文件。 2. **sqlite3_source**...
在Linux系统中,软件安装通常通过包管理器进行,比如Debian/Ubuntu系统中的`apt-get`,Fedora/CentOS/RHEL中的`yum`或`dnf`,以及Arch Linux的`pacman`。这些命令行工具能方便地搜索、安装、更新和移除软件包,同时...
CentOS 7 是一款广泛使用的 Linux 发行版,基于 Red Hat Enterprise Linux (RHEL) 并提供免费支持。桌面化安装是指在服务器操作系统上安装图形用户界面 (GUI),以便用户可以通过图形界面来进行操作而不是仅依赖...
- **CentOS**:是一种基于 Red Hat Enterprise Linux (RHEL) 源代码重新编译的免费操作系统,适用于企业级服务器环境。 #### 二、安装配置步骤 ##### 1. YUM 安装 Piranha - 使用 yum 命令安装所需的软件包: ``...
CentOS是Community ENTerprise Operating System的缩写,基于Red Hat Enterprise Linux (RHEL)的源代码构建,旨在提供一个免费的企业级计算平台。CentOS遵循严格的版本发布策略,确保系统稳定,适合作为生产环境的...
在大多数Linux发行版中,可以通过包管理器(如apt-get for Debian/Ubuntu或yum for CentOS/RHEL)来安装。 2. **mplayer-plugins**:这个包包含了额外的插件,用于支持更多特定的编码格式和流媒体服务。这些插件...
CentOS是Community ENTerprise Operating System的缩写,是一款基于RHEL(Red Hat Enterprise Linux)源代码再编译的免费操作系统。CentOS 7是其第七个主要版本,提供了稳定、安全且高性能的服务器运行环境,是许多...