红帽linux7图形界⾯安装教程,RHEL7安装图形化
很多时候我们在安装OS的时候可能默认选择的最⼩化安装(Minimal Install),是没有图形化界⾯的。后⾯⼜想安装GUI图形化。在rhel7 平台上可以通过如下命令实现图形化安装。
查看当前可⽤的安装组
[root@361way mnt]# yum group list
Available environment groups:
Minimal Install
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
安装图形化界⾯
[root@361way mnt]#yum -y groupinstall "Server with GUI"
...
Complete!
查看已经安装详情
[root@361way mnt]# show-installed
WARNING: The following groups contain packages not found in the repositories:
XXX base
yum-plugin-security
minimal
XXX core
ql2100-firmware
ql23xx-firmware
ql2200-firmware
bfa-firmware
XXX gnome-desktop
unoconv
polkit-gnome
gvfs-obexftp
@base
-yum-plugin-security
@compat-libraries
@core
-bfa-firmware
-ql2100-firmware
-ql2200-firmware
-ql23xx-firmware
@development
@dial-up
@fonts
@gnome-desktop
-gvfs-obexftp
-polkit-gnome
-
unoconv
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@multimedia
@print-client
@x11
# Others
grub2
# 1255 package names, 246 leaves # 14 groups, 3 leftovers, 8 excludes
# 29 lines
show-installed是⼀个⽤python写的命令,该命令会去调⽤yum查看当前已安装的软件组和软件包。启⽤图形界⾯并设置默认启动
[root@361way mnt]# startx
[root@361way mnt]#systemctl get-default
multi-user.target
[root@361way mnt]#systemctl set-default graphical.target
rm '/etc/systemd/system/default.target'
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target' [root@361way mnt]#systemctl get-default
graphical.target
[root@361way mnt]#reboot

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。