linux安装gmone桌面,RedHat 7 修改系统启动级别并安装GHONE桌面环境

Viewing the Default Target

To determine which target unit is used by default, run the following command:systemctl get-default

Viewing the Current Target

To list all currently loaded target units, type the following command at a shell prompt:systemctl list-units --type target

By default, the systemctl list-units command displays only active units. If you want to list all loaded units regardless of their state, run this command with the --all or -a command line option:systemctl list-units --type target --all

Changing the Default Target

To configure the system to use a different target unit by default, type the following at a shell prompt as root:systemctl set-default name.target

Changing the Current Target

To change to a different target unit in the current session, type the following at a shell prompt as root:systemctl isolate name.target

From the above list selectServer with GUIinstallation group:[root@rhel7 ~]# yum groupinstall 'Server with GUI'

Transaction Summary

=================

Install  261 Packages (+604 Dependent packages)

Total download size: 527 M

Installed size: 1.7 G

Is this ok [y/d/N]:

Just because gnome desktop environment is a default GUI on RHEL 7 linux system the above command will install gnome. Alternatively, you can run the below command to only install core GNOME packages:[root@rhel7 ~]# yum groupinstall 'X Window System' 'GNOME'

Once the installation is finished, you need to change system's runlevel to runlevel 5. Changing runlevel on RHEL 7 is done by use ofsystemctlcommand. The below command will change runlevel from runlevel 3 to runelevel 5 on RHEL 7:[root@rhel7 ~]# systemctl enable graphical.target --force

Depending on your previous installations you may need to accept Redhat License after you reboot your system. Once you boot to your system you can check GNOME version using:[root@rhel7 ~]# gnome-shell --version

GNOME Shell 3.8.4

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值