1. Install GNOME Desktop Environment use below command.
# yum -y groups install "GNOME Desktop"
If you will get like this you need to follow below
steps.
2. Check the network configuration in
your machine.
3. Type “nmcli d” command in your terminal for quick
identification of Ethernet cards installed in your machine.
You will get output ens33
ethernet disconnected
If you see the above result now you will setup
network for your system.
4. Network interface config files are located
in /etc/sysconfig/network-scripts/ directory. Open ifcfg-ens33 file ( For interface ens33 ) in your case may be different Device
name and you can see the content like below.
Now check the DHCP configuration.
5. For DHCP Find the below lines in
config File.
ONBOOT=no
and replace with
ONBOOT=
YES
And if you have BOOTPROTP=none replace
with
BOOTPROTP=dhcp and save the
file.
6.
Now
Restart network service by typing below command.
# systemctl restart network
Now your server will get IP Address from
DHCP
7. Now we will configure Static configuration.
Add below two lines end of the your
configuration file.
DNS1
=8.8.8.8
DNS2=8.8.4.4
Now Restart network service by
typing below command.
# systemctl restart network
Now Interface will have static IP.
8.
Additionally
you can use /etc/sysconfig/network file for hostname and DNS and save.
Now try step 1 again .
# yum -y groups install "GNOME Desktop"
Once complete installation.
9.
Type command
startx.
#startx
10. GNOME Desktop Environment will start.
For first booting, initial setup runs and you have to configure it for first
time.
a.
Select
System language first.
b.
Select
your keyboard type.
c.
Add online
accounts if you'd like to.
d. Finally click "Start using
CentOS Linux".
11. GNOME Desktop Environments starts
like follows.
Happy
learning.
No comments:
Post a Comment