Showing Page:
1/4
KISII UNIVERSITY
SCHOOL OF INFORMATION SCIENCES AND TECHNOLOGY
DEPARTMENT OF COMPUTING SCIENCES
COMP426 SYSTEMS ADMINISTRATION
CAT 2
INSTRUCTIONS
Answer ALL questions.
1. What command gives you network information in Linux?
Ifconfig to get Ip address of the host computer
less /etc/resolv.conf For the DNS information
netstat -nr For the Gateway
2. In your own words, describe the functions of an operating system
Operating System is an interface between the user and the machine. OS can also be described as
an interpreter which is responsible for bridging the gap between hardware and application needs.
The major functions of Operating System are as follows:
Process management
File management
Memory management and
Security management
Operating System will Manages all the Resources those are attached to the System means all the
Resource like Memory and Processor and all the Input output Devices those are Attached to the
System are Known as the Resources of the Computer System and the Operating system will
Manage all the Resources of the System.
The Operating System will identify at which Time the CPU will perform which Operation and in
which Time the Memory is used by which Programs. And which Input Device will respond to
which Request of the user means When the Input and Output Devices are used by the which
Programs. So, this will manage all the Resources those are attached to the Computer System.
3. There are many devices that can be connected to a computer; these devices
include printer, usb flash drive, mouse etc. etc. What enables an operating
system to recognize any of these devices?
Device driver enable OS to detect such devices. Device driver is a computer program that operates
or controls a particular type of device that is attached to a computer. A driver provides a software
Showing Page:
2/4
interface to hardware devices, enabling operating systems and other computer programs to access
hardware functions without needing to know precise details of the hardware being used.
4. What benefits of a virtual machine to a developer?
A virtual machine is a piece of software that emulates a real operating system
i) Having the Ability to Test Out New Ideas or Install Potentially Buggy Software
Without Screwing Up Your Base System
Installing buggy software on the base system or complicated confirmation sometimes would get
the base system messed up. Therefore, I prefer base system to be safe and stable. But if I want to
test out bleeding edge software or potentially buggy software, or various new ideas I have, I can
test out them out in a virtual machine without worrying about messing up my own system. This
can be especially helpful for really tech savvy people or system administrators who can’t afford
to make major mistakes on their systems, but still need various things tested.
ii) . When You Have Very Few Reasons to Have Multiple Partitions with Different
Operating Systems on Your Computer
While it isn’t very complicated to create two or more partitions on your computer with different
operating systems, there may be a few disadvantages to doing this.
If, for example, your main system is Fedora, Linux distribution OS, but you need to use Windows
to run a few pieces Windows software, but and only use those pieces of software very rarely, then
it might not be worth creating a separate partition for Windows.
Another reason not to use multiple partitions could be that if encryption is done well enough, you
won’t be able to read the data on other partitions from any one partition, so each partition would
not be able to work with your entire hard drive.
iii) Having the Ability to Easily Delete and Recreate New Virtual Machines
With a virtual machine software like QEMU, you can create as many virtual machines as you
want; you are just limited by your hard drive space. So, you could have a virtual machine image
of Ubuntu, another of Debian, another of Fedora, one of Windows XP, one of Windows 7, and so
on.
Likewise, deleting or destroying a virtual machine is literally as easy as just deleting the virtual
machine’s image file. You could do this in 5 seconds or less probably. But, if you wanted to
delete 1 or more partitions on your computer, it will probably take much longer.
iv) Having the Ability to Test Out Software in The Environment(s) They Were Made For
Showing Page:
3/4
Wine is a great software that can run many different Windows programs in a Linux or Unix
environment, but by no means can it run all Windows software. There many pieces of software
which either doesn’t run at all or doesn’t run well in Linux using Wine.
While there are some pieces of software which I was able to (mostly) successfully emulate using
Wine, such as Age of Empires II, there were also many other pieces of software which I couldn’t
get to run at all in Wine.
But, if you use a virtual machine with Windows installed on it, it should be the case the the
Windows software that you want to test works (almost) just as well as if you were running the
software on a separate partition with Windows installed on it. This is because the software is
being run in its native environment, albeit in a virtual environment.
v) It Saves Money
Using a virtual machine allows you to emulate an operating system without having to buy
additional hardware (though Apple products may be an exception to this).
If you use Google’s Android Studio, which has an Android emulator included, you can test out
different versions of Android on different virtual devices. You could test out what your app or
website would look like in different versions of Android on a Google Nexus phone. Or you could
test what the app or website would look like in a Samsung Galaxy S6 and many other mobile
phones, tablets, and devices which support Android.
The same can be said of Linux and Windows. You wouldn’t necessarily need to buy a computer
that only runs Windows, one that only runs Ubuntu, and one that only runs Debian. You would
likely be able to run all of those operating on your base system using virtual machines.
5. Usually there is a new version of fedora roughly every six months, list and
explain the different ways of upgrading fedora from one version to the next.
i) Upgrading using the DNF System Upgrade plugin
This method is used to an upgrade Fedora installation using the command-line. It is also used to
troubleshoot issues with packages preventing the graphical method from upgrading.
i) Upgrading using the Fedora installer (anaconda)?
To upgrade using the installer, boot the system from a network install or DVD image for the target
release, and run through the initial steps of the install process. After you select storage devices the
installer should offer you the option to upgrade the installed system.
ii) Can I upgrade from an End Of Life (EOL) release?
Showing Page:
4/4
if you do have an end-of-life release installed on a system you cannot just discard or re-deploy, you
can attempt to upgrade it, though this is not officially tested or supported.
If you have Fedora 20 or earlier, you will have to perform at least part of the upgrade with bare yum.
You can either use that method to upgrade to Fedora 21 or later and then use DNF system upgrade
to upgrade from there to a currently-supported release, or just use bare dnf or yum for the entire
upgrade process.
iii) How do I upgrade to Rawhide and Branched?
Rawhide and Branched are the development releases of Fedora. They are suitable for users
developing or testing Fedora before public release. They are not suitable for regular day-to-day use
unless you are a fairly experienced user, and certainly not suitable for mission-critical use. You
should read through those pages carefully before deciding to run Branched or Rawhide
INSTRUCTIONSFORSUBMITTINGTHECAT
Send your CAT in an email and include your Reg No, Full Name, and Cell No to
kkibwage@yahoo.com and use COMP426-IN12/34567/89 as the subject of your email. This is a
combination of the unit code and your registration number (where IN12/34567/89 is to be replaced
by your registration number). Please note that there are no spaces within
COMP426IN12/34567/89”. For more clarity see below.
TO
kkibwage@yahoo.com
Subject
COMP426-IN12/34567/89
Body
Reg No, Full Name, Cell No and the assignment itself
PS: No attachments
Observe the deadlines, late work will be accepted with penalties

Unformatted Attachment Preview

KISII UNIVERSITY SCHOOL OF INFORMATION SCIENCES AND TECHNOLOGY DEPARTMENT OF COMPUTING SCIENCES COMP426 SYSTEMS ADMINISTRATION CAT 2 INSTRUCTIONS Answer ALL questions. 1. What command gives you network information in Linux? Ifconfig to get Ip address of the host computer less /etc/resolv.conf For the DNS information netstat -nr For the Gateway 2. In your own words, describe the functions of an operating system Operating System is an interface between the user and the machine. OS can also be described as an interpreter which is responsible for bridging the gap between hardware and application needs. The major functions of Operating System are as follows: • Process management • File management • Memory management and • Security management Operating System will Manages all the Resources those are attached to the System means all the Resource like Memory and Processor and all the Input output Devices those are Attached to the System are Known as the Resources of the Computer System and the Operating system will Manage all the Resources of the System. The Operating System will identify at which Time the CPU will perform which Operation and in which Time the Memory is used by which Programs. And which Input Device will respond to which Request of the user means When the Input and Output Devices are used by the which Programs. So, this will manage all the Resources those are attached to the Computer System. 3. There are many devices that can be connected to a computer; these devices include printer, usb flash drive, mouse etc. etc. What enables an operating system to recognize any of these devices? Device driver enable OS to detect such devices. Device driver is a computer program that operates or controls a particular type of device that is attached to a computer. A driver provides a software interface to hardware devices, enabling operating systems and other computer programs to access hardware functions without needing to know precise details of the hardware being used. 4. What benefits of a virtual machine to a developer? A virtual machine is a piece of software that emulates a real operating system i) Having the Ability to Test Out New Ideas or Install Potentially Buggy Software Without Screwing Up Your Base System Installing buggy software on the base system or complicated confirmation sometimes would get the base system messed up. Therefore, I prefer base system to be safe and stable. But if I want to test out bleeding edge software or potentially buggy software, or various new ideas I have, I can test out them out in a virtual machine without worrying about messing up my own system. This can be especially helpful for really tech savvy people or system administrators who can’t afford to make major mistakes on their systems, but still need various things tested. ii) . When You Have Very Few Reasons to Have Multiple Partitions with Different Operating Systems on Your Computer While it isn’t very complicated to create two or more partitions on your computer with different operating systems, there may be a few disadvantages to doing this. If, for example, your main system is Fedora, Linux distribution OS, but you need to use Windows to run a few pieces Windows software, but and only use those pieces of software very rarely, then it might not be worth creating a separate partition for Windows. Another reason not to use multiple partitions could be that if encryption is done well enough, you won’t be able to read the data on other partitions from any one partition, so each partition would not be able to work with your entire hard drive. iii) Having the Ability to Easily Delete and Recreate New Virtual Machines With a virtual machine software like QEMU, you can create as many virtual machines as you want; you are just limited by your hard drive space. So, you could have a virtual machine image of Ubuntu, another of Debian, another of Fedora, one of Windows XP, one of Windows 7, and so on. Likewise, deleting or destroying a virtual machine is literally as easy as just deleting the virtual machine’s image file. You could do this in 5 seconds or less probably. But, if you wanted to delete 1 or more partitions on your computer, it will probably take much longer. iv) Having the Ability to Test Out Software in The Environment(s) They Were Made For Wine is a great software that can run many different Windows programs in a Linux or Unix environment, but by no means can it run all Windows software. There many pieces of software which either doesn’t run at all or doesn’t run well in Linux using Wine. While there are some pieces of software which I was able to (mostly) successfully emulate using Wine, such as Age of Empires II, there were also many other pieces of software which I couldn’t get to run at all in Wine. But, if you use a virtual machine with Windows installed on it, it should be the case the the Windows software that you want to test works (almost) just as well as if you were running the software on a separate partition with Windows installed on it. This is because the software is being run in its native environment, albeit in a virtual environment. v) It Saves Money Using a virtual machine allows you to emulate an operating system without having to buy additional hardware (though Apple products may be an exception to this). If you use Google’s Android Studio, which has an Android emulator included, you can test out different versions of Android on different virtual devices. You could test out what your app or website would look like in different versions of Android on a Google Nexus phone. Or you could test what the app or website would look like in a Samsung Galaxy S6 and many other mobile phones, tablets, and devices which support Android. The same can be said of Linux and Windows. You wouldn’t necessarily need to buy a computer that only runs Windows, one that only runs Ubuntu, and one that only runs Debian. You would likely be able to run all of those operating on your base system using virtual machines. 5. Usually there is a new version of fedora roughly every six months, list and explain the different ways of upgrading fedora from one version to the next. i) Upgrading using the DNF System Upgrade plugin This method is used to an upgrade Fedora installation using the command-line. It is also used to troubleshoot issues with packages preventing the graphical method from upgrading. i) Upgrading using the Fedora installer (anaconda)? To upgrade using the installer, boot the system from a network install or DVD image for the target release, and run through the initial steps of the install process. After you select storage devices the installer should offer you the option to upgrade the installed system. ii) Can I upgrade from an End Of Life (EOL) release? if you do have an end-of-life release installed on a system you cannot just discard or re-deploy, you can attempt to upgrade it, though this is not officially tested or supported. If you have Fedora 20 or earlier, you will have to perform at least part of the upgrade with bare yum. You can either use that method to upgrade to Fedora 21 or later and then use DNF system upgrade to upgrade from there to a currently-supported release, or just use bare dnf or yum for the entire upgrade process. iii) How do I upgrade to Rawhide and Branched? Rawhide and Branched are the development releases of Fedora. They are suitable for users developing or testing Fedora before public release. They are not suitable for regular day-to-day use unless you are a fairly experienced user, and certainly not suitable for mission-critical use. You should read through those pages carefully before deciding to run Branched or Rawhide INSTRUCTIONSFORSUBMITTINGTHECAT Send your CAT in an email and include your Reg No, Full Name, and Cell No to kkibwage@yahoo.com and use COMP426-IN12/34567/89 as the subject of your email. This is a combination of the unit code and your registration number (where IN12/34567/89 is to be replaced by your registration number). Please note that there are no spaces within “COMP426IN12/34567/89”. For more clarity see below. TO kkibwage@yahoo.com Subject COMP426-IN12/34567/89 Body Reg No, Full Name, Cell No and the assignment itself PS: No attachments Observe the deadlines, late work will be accepted with penalties Name: Description: ...
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4