Recently, we started to connect Linode and DigitalOcean VPS. the Linux systems provided in these products are the "least secure ", so I want to see if the GNOME desktop can be installed, and then connect to the terminal desktop with xrdp desktop.
Security and desktop environments
Yum itself provides the groupinstall method for the security kit. First, run the following commands to check which KIT groups are available:
yum grouplist | more
The names of CentOS 5.x and 6.x are not exactly the same, for example, desktop environment kit:
CentOS 5.x:
CentOS 6.x:
GNOME: Desktop
KDE: KDE Desktop
The following steps deploy CentOS 5.x as the server guard. If you use CentOS 6.x, you need to configure the names of these two kits.
Security steps:
1. Installing XWindow
yum -y groupinstall 'X Window System'
2. Install GNOME and KDE)
yum -y groupinstall 'GNOME Desktop Environment'yum -y groupinstall 'KDE (K Desktop Environment)'
3. Server guard (optional)
yum -y groupinstall "Chinese Support"
4. If there is an Alibaba Cloud Security Chinese character system suite, You need to modify the character system.
Always writable:/etc/sysconfig/i18n, change LANG = "en_US.UTF-8" to LANG = "zh_TW.UTF-8", if the commit case is blank, join directly:
LANG="zh_TW.UTF-8"
5. Set the host to directly enter the desktop environment (optional)
Upload metadata:/etc/inittab, change id: 3: initdefault: to id: 5: initdefault:
6. Restart the host.
reboot