Installation-and-Configuration-of-OS-Student-module
Installation-and-Configuration-of-OS-Student-module
2 Configuration of
Operating Syste m
INTRODUCTION
Any computer system has an operating system. The user
interacts with the machine via the operating system.
An operating system (OS) is the software that provides
an interface between the computer hardware and the
application programs or users. An operating system is
responsible for the management and coordination of
activities and sharing of the resources in computer. The
OS acts as a host for application programs that are run
on the machine. As a host, one of the purposes of an
OS is to handle the details of the operation of computer
hardware. OS offers a number of services to application
programs and users. Users may also interact with the OS
by commands or using a graphical user interface (GUI).
There are various types of operating systems, but all
of them essentially perform the same functions. This
Unit gives an overview of operating systems. Common OS
include Microsoft Windows, Mac OS X, and Linux. The
installation process of Microsoft Windows 10 and Ubuntu
Linux operating system is illustrated in this Unit. This will
enable the students to gain fundamental knowledge and
skills required to install and configure Windows 10 and
Ubuntu Linux operating systems.
4
CHAPTER
INTRODUCTION
INTRODUCTION TO OPERATING SYSTEM
I/O Management
Input/Output (IO) is the basic
process in any computing
device. OS manages I/O
devices and makes the I/O
process effective. It allows
interaction with I/O devices
using commands. OS accepts
inputs from the input device,
stores it in the main memory,
asks the CPU to process it, Terminated
and finally, provides the result
to the output device.
Fig. 4.2: Input/Output management
Data Management
In a computer, the data or programs are stored in a file.
The data is managed by performing various operations
on a file such as creating, updating, reading, writing,
Memory Management
Every computer has a primary memory (RAM). This
memory should be managed properly for efficient
functioning of the computer. Operating system loads
the data and programs into RAM before sending it to the
CPU for processing. The results obtained after processing
are also stored in RAM
OS OS before sending it to the
output devices. After
Process 1 Process 1 sending the output
Process 2 Process 4 to output device, OS
terminates starts
Process 2
releases the memory and
Process 2
makes it available for
use to other programs.
Process 3 Process 3
Thus, operating system
utilises the RAM
Fig. 4.4: Memory management
efficiently to manage the
memory for various processes. The activities of memory
management are — allocate memory, free memory,
re‑allocate memory, and keep track of memory usage.
Process Management
Every job to be performed by the computer system is
scheduled in the form of processes. These processes are
Device Management
Operating system manages the
peripheral devices attached I/O Command
to the computer system. The
processes may require certain
devices. Operating system finds
the status of the device and
allocates the appropriate device.
Device controllers are used to
control the peripheral devices
and device drivers are used to
control software components. Memory
Deadlock Prevention
In a multi‑programming environment,
multiple processes may try to access the
resource. A deadlock is a situation when a
process waits endlessly for the requested
resource which is being used by another
process that is waiting for some other
resource (Figure 4.9).
Fig. 4.9: Deadlock prevention
Virtual Storage
In a multiprogramming system, many Virtual Physical
Memory Memory
programs are located in the memory
along with the operating system. Some
applications require large memory as
the whole program cannot be loaded
into the memory. If the program is
larger than the main memory, then the
operating system uses free space of
the secondary memory which is known
as virtual memory and the secondary
storage used for storing which is
known as virtual storage. Virtual
memory allows the execution of those
processes that are not completely in
the memory. Fig. 4.10: Virtual storage
Fig. 4.11: Command line interface (CLI) Graphical User Interface (GUI)
The modern operating systems such as
Windows, Linux, and Mac all use GUI.
GUI is easy to operate and user‑friendly.
GUI provides the ability to use the mouse
or fingertips to navigate the commands.
It becomes easy to interact with the
computers. The operating system with GUI
uses four components to interact with the
Fig. 4.12: Graphical user interface (GUI) screen system. These are abbreviated as WIMP
(windows, icons, menus, and pointer).
Microsoft Windows
It is a graphical user interface (GUI) based operating
system. A typical desktop image of a computer system
Mac OS
It is an operating system that is created by
Apple. It is a preloaded OS on Macintosh
computer or Macs. A typical image of a
Mac desktop is shown in Figure 4.14.
Observe that this operating system also
has a graphical user interface (GUI). But
the GUI of Mac OS is different from that
of Microsoft Windows. All the commands
and programs available in Mac OS are
displayed in the form of icons or buttons.
By clicking appropriate buttons, we can Fig. 4.14: Mac OS screen
execute that program.
There are various versions of Mac OS. Most recent
version of Mac OS is OS X which is pronounced as OS
10. The latest version released on 24 September 2018
is Mac OS 10.14 and is named as Mojave (Liberty). The
earlier versions of Mac OS are OS X 10.11: El Capitan
(Gala) released on 30 September 2015, OS X 10.10:
Yosemite (Syrah) released on 16 October 2014, OS X
10.9 Mavericks (Cabernet) released on 22 October
2013, OS X 10.8 Mountain Lion (Zinfandel) released
Linux
It is a family of open source operating
systems. It means that it can be modified
and distributed by anyone around the
world. Earlier OS that we have discussed
such as Windows and Mac OS are
proprietary software. It means that they
can be modified only by the company
Fig. 4.15: Ubuntu Linux OS screen that owns it. Whenever you want to use
proprietary software on your computer
system, you need to purchase it by
paying a cost so that you can get a user
license. Linux is a freeware, meaning
that you need not to pay any cost and
you can use it on your computer system.
A typical desktop image that runs Linux
is shown in Figure 4.15. Observe that
Linux is also available in the form of
GUI. Every program in the Linux OS is
displayed in the form of an icon, button,
or graphics. By clicking on the icon or
button, we can execute that program.
There are many distributors of Linux, for
Fig. 4.16: Multi-programming with three programs
example Ubuntu, Linux Mint, Fedora,
Suse, Red Hat, and so on.
CLASSIFICATION OF OS
Task 1 Operating systems can be classified based
on the following:
Task 2
Word Classification based on
Processing Method
Browser OS
Task 3 Multi‑programming OS
CPU
In this, two or more programs are executed
Excel simultaneously by a single processor. It is
Fig. 4.17: Multitasking with three programs used in a multi‑user environment.
Time‑sharing system
In this, the processor is shared among
many users. The CPU switches so rapidly
from one user to another, that every
user gets the impression of getting the
services of CPU for all the time.
Multithreading OS
Active
This has the ability to divide the process
into sub‑processes known as threads
and execute them concurrently. Threads
are individual processes that execute Fig. 4.19: Time sharing system
simultaneously in multi‑tasking OS.
Batch processing OS
In this, similar jobs are grouped together
for processing. It consists of programs,
data, and system commands. The time
taken between job submission and job
completion is very high. It is suitable for
programs with large computation time
where user involvement is not necessary. Fig. 4.20: Batch processing
Online processing
operating system
In this, transactions are
processed immediately
and output is provided
to the user. Most of the
Fig. 4.21: Online processing present systems use
online processing. Bank
transactions are an example of online processing
system.
Real‑time OS
This method receives data, processes it, and returns
results quickly to affect the functioning of the system at
that time. It is an online processing system where the
processing time is critical. Monitoring and controlling
nuclear power stations, rocket launching systems, are
examples of real time systems.
Single user OS
The majority of small microcomputer based systems
have single user OS, which allows a single user to
operate the machine in an interactive mode. It allows
only one user program to use the system. MS‑DOS, PC‑
Fig. 4.22: Single user OS DOS are single user operating system.
INTRODUCTION
Windows 10 operating system is available for many devices
such as phones, tablets, laptops, and desktop computers. It
is also available in multiple editions and in both 32‑bit and
64‑bit versions. First, one needs to choose the appropriate
edition and architecture of Windows to provide the necessary
features, such as Secure Boot, Client Hyper‑V, Cortana,
and others. It is also important to verify the compatibility
of existing hardware such as printers, scanners, and other
peripherals with Windows 10.
In a new computer, a clean installation of Windows
10 is the perferred option. For a new computer, the user
needs to select another appropriate installation option
as per their requirements. This installation will resolve
startup and shut down problems as well as memory
usage and app issues. Also, you can get rid of viruses
and other types of malware, fix system corruption, and
improve battery life.
WINDOWS 10 EDITIONS
This comes in various editions ranging from a single
device to large enterprise. The specific editions of
Windows 10 are listed below:
General features
The following general features of Windows 10 provide
general usability and functional improvements:
Client Hyper-V: enables to create, manage, and run
virtual machines. For this feature, you should have a 64‑
bit version of Windows 10 Pro or Windows 10 Enterprise
edition, a computer that supports SLAT, additional 2
GB of physical memory to support running the virtual
machines.
Cortana: you can use Cortana as a digital assistant to
control Windows 10 and perform tasks such as writing
email, setting reminders, and performing web searches.
Since Cortana is voice‑activated and controlled,
Windows 10 device requires a microphone.
Continuum: Windows 10 is available on a variety
of devices types and form factors. With Continuum,
Microsoft endeavors to optimise the user experience
across device types by detecting the hardware on your
device and changing to that hardware. For example,
Windows 10 determines when you are using a non‑touch
desktop computer and enables traditional interaction
with the operating system by use of a mouse. For users
of hybrid devices, such as the new Microsoft Surface
Pro, when you disconnect a keyboard cover, Windows
10 switches to tablet mode. When you use Windows 10
Mobile, Continuum enables you to use a second external
display and optimises app behaviour on that display.
Fig. 5.2: Press any key for booting Fig. 5.3: Loading setup file
Fig. 5.4: Select language, time, and currency Fig. 5.5: Installation window and input
Fig. 5.8: License terms Fig. 5.9: Selecting installation setup window
Fig. 5.14: Window setting Fig. 5.15: Selecting update and security
Practical Activity
Practical Activity
Turning off automatic installation of device driver
1. Open ‘Control Panel’, click on ‘Devices and Printers’.
2. The icons of the various devices will be displayed.
Right‑click on the ‘Desktop’ icon. The Desktop icon
shows your computer name. Then select and click
on the ‘Device installation settings’, as shown in
Fig. 5.21: Device manager
window Figure 1.
3. ‘Device installation settings’ dialog box will appear
as shown in Figure 2. By default the ‘Yes’ option is
selected. Choose the option ‘No’ and then click on the
‘Save Changes’ button.
Fig. 5.24: Open Ethernet setting Fig. 5.25: Change adapter options
Practical Activity
Installation of Scanner
Step 1: Run Scanner setup.exe file as
shown in Figure 1. The setup.
exe file will extract as shown in
Figure 2.
Practical Activity
Standard installation of Quick Heal Total Security
Step 1. First, download the antivirus installer from the Quick Heal website. Click on the
download button to download the software.
Step 2. Wait until the setup wizard checks and finds the updated and latest version of the
antivirus or just click on the ‘Skip’ button to install the current version.
Step 3. Click on the ‘Next’ button to start setup or you can review the End‑User License
Agreement (EULA) as shown in Figure 3.
Step 4. Click ‘Next’ to review the ‘Install Location’ of Quick Heal Total Security as shown in
Figure 4.
Step 5. Installation process continues as shown in Figure 5.
Step 6. Installation successfully completed, now click on ‘Register Now’ as shown in Figure 6.
Fig. 3: ‘End User License Agreement’ window Fig. 4: Selecting ‘Install Location’ window
Fig. 5.33: Full system scan window Fig. 5.34: Full system scan window
OF UBUNTU LINUX
INTRODUCTION
Ubuntu (pronounced as oo‑BOON‑too) is an open source
operating system sponsored by Canonical Ltd. Primarily,
this operating system was developed for personal
computers (PCs) but later on, used in servers also. The
word ‘Ubuntu’ is from the African Zulu language whose
meaning is “humanity to others.” The Ubuntu desktop is
very easy to use and easy to install. It includes everything
you need to use in your school, home or office. It’s also
open source, secure, accessible, and free to download
from its official website www.ubuntu.com. In this
session, we will understand the installation requirement
and installation procedure of Ubuntu desktop operating
system using a bootable DVD drive or a USB flash drive.
INSTALLATION REQUIREMENTS
Ensure the following technical requirements are in place
before starting the installation:
• connect your computer system to an
uninterrupted power source,
• ensure that your computer has at least 25GB of
free disk storage space,
• make a bootable DVD or a USB flash drive of
latest version of Ubuntu. Here we are taking the
Ubuntu version 18.04,
• make sure to take data backup before starting
the fresh installation.
Fig. 6.8: Create a new partition Fig. 6.9: Creating ‘/’ boot partition
Fig. 6.10: Creating ‘/’ home partition Fig. 6.11: Creating root (/) partition
Fig. 6.15: Supplying user credentials Fig. 6.16: Expanding background installation
window
Background installation
The installation will now complete in
the background while the installation
window teaches you a little about how
wonderful Ubuntu is. Depending on
the speed of your machine and network
connection, installation will take a few
minutes.
Fig. 6.18: Login to Ubuntu