You are on page 1of 18

Objectives

In this session, you will learn to:


Configure a Linux UI
Configure network services
Troubleshoot network-related problems

Configuring a Linux UI
The most popular Linux GUIs are:
GNU Network Object Model Environment (GNOME)
K Desktop Environment (KDE)

Configuring a Linux GUI involves:


Selecting the GUI
Personalizing the GUI

Selecting the GUI


Both GNOME and KDE provide:
Easy to use customizable interface
Various tools that help you perform day-to-day tasks

GNOME is installed by default with Fedora Core.


KDE is not installed by default for Fedora Core installations.

Working with GNOME


You can use GNOME for:
Launching applications by using the GNOME Panel.
Launching applications by using GNOME icons and shortcuts.
Managing files with Nautilus File Manager.
Personalizing the keyboard and mouse.
Exiting from the Linux desktop by using the log out option.

Just a Minute
Which is the default file manager in GNOME?

Solution:
The Nautilus file manager is the default file manager in
GNOME.

Configuring Network Services


To create the identity of the Linux computer on the network,
you need to configure the following for the Network Interface
Cards (NIC) installed on the computer:
IP address
Gateway address
Domain name server (DNS) address

Configuring the IP Address


To assign a static IP address to the NIC, you need to
manually configure the values for following parameters:
IP address
Subnet mask
Default gateway address
DNS

To assign a dynamic IP address, you need to enable the


DHCP service on the Linux computer to get the values for
the above parameters automatically.
You can use the following two methods to assign an IP
address and other parameters:
Commands
Network files

Configuring the IP Address (Contd.)


The following commands can be used to configure the
network parameters on the Linux computer:
neat
ifconfig
route
ifup and ifdown

You can modify the following network files to configure the


NIC parameters:
ifcfg-ethX
resolve.conf
hosts

Just a Minute
Which command is used to view and configure the current
routing table?

Solution:
The route command is used to view and configure the
current routing table.

Configuring a Mail Client


Evolution mail client is used to send and receive e-mail
messages and manage schedules, such as time of an
appointment.
Evolution mail client is configured by using a mail account
called Setup Assistant.

Using FTP to Upload and Download Files


You can upload/download the files to/from the FTP server.
Linux provides the following utilities to connect to the FTP
server:
ftp command A command line utility to connect to a ftp server
and transfer the files.
Graphical FTP (gFTP) A graphical ftp utility to connect to a ftp
server and transfer the files.

Accessing Network Shares by Using SMB and NFS


To share centralized data, Linux provides the NFS and
Samba servers.
To access files of the NFS server, you need to mount the
shared directories on the client computers by using the
following methods:
The mount command
The /etc/fstab file

To access the Samba shares on a network, you have to first


connect to the Samba server by using the following methods:
If you know the server name, then you can connect to the server
by using the smbclient command.
If you do not know the server name, then you can query the
network for a Samba server by executing the findsmb
command at the shell prompt of a server or client computer.

Securing Services by Using Basic Firewall


To enable the security of computer system, you need to
configure a firewall and mange the incoming and outgoing
traffic to the network.
Linux provides the lokkit utility for basic firewall
configuration.

Just a Minute
Which file is used to configure a DNS client?

Solution:
The /etc/resolv.conf file is used to configure a DNS client.

Troubleshooting Network-Related Problems


The various network diagnostic tools supported by Linux
are:
Ping
Traceroute
Nmap
Netstat
dig

Just a Minute
Which command is used to determine the path that a packet
takes to reach the target computer?

Solution:
The traceroute command is used to determine the path
that a packet takes to reach the target computer.

Summary
In this session, you learned that:
The commands to configure the network parameters are:
neat
ifconfig
ifup and ifdown

The network interface files are titled ifcfg-ethX, where ethX


refers to the device name corresponding to the network
interface.
The /etc/resolv.conf file is used to configure a DNS client.
Linux provides Evolution Mail client application to check the emails.
Linux has the FTP client service to upload and download the
files from FTP locations.
Linux provides NFS services to access the Linux share on the
network.

Summary (Contd.)
Linux provides SMB services to access the MS Window share
on the network.
Linux has built-in Firewall to protect the computer from
unauthorized access from the network.
The commands that you can use to troubleshoot networkrelated problems are:
ping
traceroute
nmap
host
netstat
dig