0% found this document useful (0 votes)
419 views78 pages

Red Hat Linux Installation Guide

This document provides instructions for downloading and installing Linux operating systems like RHEL, CentOS, VMware Workstation, and Oracle VirtualBox. It then discusses how to install Linux using VMware Workstation and VirtualBox. Next, it covers accessing the Linux command line using the local console and describes the bash shell, shell prompts, and logging into a local machine. The document concludes with an introduction to the GNOME desktop environment.

Uploaded by

A M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
419 views78 pages

Red Hat Linux Installation Guide

This document provides instructions for downloading and installing Linux operating systems like RHEL, CentOS, VMware Workstation, and Oracle VirtualBox. It then discusses how to install Linux using VMware Workstation and VirtualBox. Next, it covers accessing the Linux command line using the local console and describes the bash shell, shell prompts, and logging into a local machine. The document concludes with an introduction to the GNOME desktop environment.

Uploaded by

A M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

1

Shikhar Verma
2

Download RHEL, CentOS, VMware Workstation & Oracle VirtualBox

RHEL Iso Image


•[Link]

CentOS Iso Image


•[Link] or [Link]

VMware Workstation
•[Link]

Oracle VM VirtualBox
•[Link]

Shikhar Verma
3

Installation of Linux Operating System using VMware Workstation

Shikhar Verma
4

Installation of Linux Operating System using Oracle VM VirtualBox.

Shikhar Verma
5

Accessing the command line using the local console

Objective: After the completion of this section, students should be able to log into a Linux system on a local text
console and run simple commands using the shell.

The Bash Shell

The shell provides you with an interface to the UNIX system. It gathers input from you and executes programs based on
that input. When a program finishes executing, it displays that program's output.

A shell is an environment in which we can run our commands, programs, and shell scripts. There are different flavours
of shells, just as there are different flavours of operating systems. Each flavour of shell has its own set of recognized
commands and functions.

Shikhar Verma
6

 Accessing the command line using the local console

 Shell Prompt:

The prompt, $, which is called command prompt, is issued by the shell. While the prompt is displayed, you can type a
command.

The shell reads your input after you press Enter. It determines the command you want executed by looking at the first
word of your input. A word is an unbroken set of characters. Spaces and tabs separate words.
Following is a simple example of date command which displays current date and time:

$date
Thu May 25 [Link] IST 2019

Shikhar Verma
7

 Accessing the command line using the local console

 Over the long history of UNIX-like systems, many shells have been developed. The default shell for users in Red
Hat Enterprise Linux is the GNU Bourne-Again Shell (bash). Bash is an improved version of one of the most
successful shells used on UNIX-like systems, the Bourne Shell (sh).

 When a shell is used interactively, it displays a string when it is waiting for a command from the user. This is called
the shell prompt. When a regular user starts a shell, the default prompt ends with a $ character, as shown below.
[user@rhel8 ~]$

 The $ character is replaced by a # character if the shell is running as the superuser, root. This makes it more obvious
that it is a superuser shell, which helps to avoid accidents and mistakes which can affect the whole system. The
superuser shell prompt is shown below.
[root@rhel8 ~]#

Shikhar Verma
8

 Logging in to a Local Machine

 Users access the bash shell through a terminal. A terminal provides a keyboard for user input and display for
output. On text-based installations, this can be the Linux machine’s physical console. Terminal can also be
configured through serial ports.

 Another way to access a shell is from virtual console. A Linux machine’s physical console supports multiple virtual
consoles which act like separate terminals. Each virtual console supports an independent login sessions.

 Each virtual console supports an independent login session. You can switch between them by pressing Ctrl+Alt and
a function key (F1 through F6) at the same time.

 In Red Hat Enterprise Linux 8, if the graphical environment is available, the login screen will run on the first virtual
console, called tty1. Five additional text login prompts are available on virtual consoles two through six.

Shikhar Verma
9

 Introduction to the GNOME Desktop

 The desktop environment is the graphical user interface on a Linux System. The default desktop environment in Red
Hat Enterprise Linux 8 is provided by GNOME 3.

Shikhar Verma
10

Practice Lab Session

Shikhar Verma
11

 What is a path?

A path is a unique location to a file or a folder in a file system of an OS. A path to a file is a combination of / and alpha-
numeric characters.

 What is an absolute path?

An absolute path is defined as the specifying the location of a file or directory from the root directory(/). In other words
we can say absolute path is a complete path from start of actual filesystem from / directory.

 Some examples of absolute path:

/var/cron/chrony
/etc/httpd/[Link]
/boot/grub/[Link]

If you see all these paths started from / directory which is a root directory for every Linux/Unix machines.
Shikhar Verma
12

 What is the relative path?

Relative path is defined as path related to the present working directory(pwd). Suppose I am located in /var/ftp and I
want to change directory to /var/ftp/pub. I can use relative path concept to change directory to kernel

 Changing directory to /var/ftp/pub by using relative path concept.

cd pub

 Changing directory to /var/log/kernel using absolute path concept.

cd /var/ftp/pub

Shikhar Verma
13

Practice Lab Session

Shikhar Verma
14

 Command-Line File Management

Create, remove, copy, and move files & Directories.

Shikhar Verma
15

Shikhar Verma
16

Shikhar Verma
17

Shikhar Verma
18

Shikhar Verma
19

Shikhar Verma
20

Shikhar Verma
21

Shikhar Verma
22

Shikhar Verma
23

Shikhar Verma
24

Shikhar Verma
25

Shikhar Verma
26

Shikhar Verma
27

Channels (File Descriptors)

Shikhar Verma
28

Shikhar Verma
29

Shikhar Verma
30

Shikhar Verma
31

Shikhar Verma
32

Shikhar Verma
33

Shikhar Verma
34

Shikhar Verma
35

Shikhar Verma
36

Shikhar Verma
37

Shikhar Verma
38

Shikhar Verma
39

Shikhar Verma
40

Shikhar Verma
41

Shikhar Verma
42

Shikhar Verma
43

Shikhar Verma
44

Shikhar Verma
45

Shikhar Verma
46

Shikhar Verma
47

Shikhar Verma
48

Shikhar Verma
49

Shikhar Verma
50

Shikhar Verma
51

Shikhar Verma
52

Shikhar Verma
53

Shikhar Verma
54

Shikhar Verma
55

Shikhar Verma
56

Shikhar Verma
57

Shikhar Verma
58

Shikhar Verma
59

Shikhar Verma
60

Shikhar Verma
61

Shikhar Verma
62

Shikhar Verma
63

Shikhar Verma
64

Shikhar Verma
65

Shikhar Verma
66

Shikhar Verma
67

Shikhar Verma
68

Shikhar Verma
69

Shikhar Verma
70

Shikhar Verma
71

Shikhar Verma
72

Shikhar Verma
73

Shikhar Verma
74

Shikhar Verma
75

Shikhar Verma
76

Shikhar Verma
77

Shikhar Verma
78

END of this Course Module.

Thanks

You might also like