Step 1
Need to check the available groups of YUM with following command.
yum group list
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Available environment groups:
Minimal Install
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
it will show result like this. We need GUI it will listed in that group.
Step 2
Now need to install the GUI group with following command.
yum groupinstall 'Server with GUI' -y
it will install all the required dependencies and packages.
After installation complete just check the targets. In rhel 7 run levels called as targets.
systemctl get-default
it will show the result as below
multiuser.target
Now modify the targets to graphical.target, for that do the following steps.
systemctl enable graphical.target --force
rm /etc/systemmd/system/default.target
ln -s /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
Now verify the current target
systemctl get-default
it will show like
graphical.target
Step 3
Reboot the server and check.
Need to check the available groups of YUM with following command.
yum group list
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Available environment groups:
Minimal Install
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
it will show result like this. We need GUI it will listed in that group.
Step 2
Now need to install the GUI group with following command.
yum groupinstall 'Server with GUI' -y
it will install all the required dependencies and packages.
After installation complete just check the targets. In rhel 7 run levels called as targets.
systemctl get-default
it will show the result as below
multiuser.target
Now modify the targets to graphical.target, for that do the following steps.
systemctl enable graphical.target --force
rm /etc/systemmd/system/default.target
ln -s /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
Now verify the current target
systemctl get-default
it will show like
graphical.target
Step 3
Reboot the server and check.
No comments:
Post a Comment