Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

774 bytes removed, 11:41, 15 April 2021
INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX
[[Image:distro-1.png|thumb|right|450px|Listing of Common Linux Distributions.<br>(Image licensed under [https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
''A '''Linux distribution''' (often abbreviated as distro) is an operating system made from a software collection that is based upon the Linux kernel and, often, a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices (for example, OpenWrt) and personal computers (for example, Linux Mint) to powerful supercomputers (for example, Rocks Cluster Distribution)...''
Reference: https://en.wikipedia.org/wiki/Linux_distribution
''Steps in the Linux Installation Process:''
* '''Select a Linux Distribution''' and '''download'a '' a Linux Distribution Install '''ISO''' file<br>to your Computer ('''Note:download''' Be aware of any required Hardware Requirements for the Linux OS prior to installation(ISO image file or VM file).)* '''Burn an Linux Distribution CD/DVDCreate''', or VM and '''USBinstall''', Linux Distribution or use '''downloaded file when creating a virtual machinerun'''VM file.* Once booted, the installation process '''transfers the live image to a disk (or flash memory)''' and configures the system.* For most distributions, the installation involves a '''guided graphical environment''' help assist with the Linux installation process.<br>
===Linux Installation Methods===
'''Standalone Installation'''
* : Linux is the <u>only </u> OS on the computer . * : Any existing data on your hard disk will be '''erased'''.
'''Dual-boot / Multi-boot Installation'''
* : A '''boot menu''' allows the user to select the desired OS.<br><br>* : '''Advantages''' of Dual-Boot or Multi-Boot:<ol><li>This options option provides a method to access your computer if one OS '''fails to boot-up'''.* Most Linux distributions can </li><li>'''access Access the Windows partition''' if your Windows OS cannot boot-up.* </li><li>This booting method is great for '''troubleshooting''' <br>(''for example:'' booting boot into other Linux OS to confirm that you can connect to the Internet to rule-out eliminate a hardware issuesissue).</li></ol>* : '''Installation Tips:'''<ol><li>It is recommended to '''back up important data''' before proceeding.* </li><li>It is recommended to '''install the Linux OS <u>last</u>''', as other operating systems may not offer a multi-boot option.</li></ol>
'''Virtualized Virtual Machine Installation'''
[[Image:vm-player-menu.png|thumb|right|250px|VMware Player launch menu for Ubuntu Linux OS<br>(Image licensed under [https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
* : ''Virtualization requires is the process of running a virtual instance of a computer system in a compatible processor: not all processors support that featurelayer abstracted from the actual hardware.* Most recent '''multi-core processors''' support Reference: https://opensource.com/resources/virtualization.* : The virtualized OS is installed and run in a window under another OS.Special software is used to manage the entire process, referred to as the '''hypervisor'''.<br><br>* The installation : '''Advantages''' of Virtualization:<ol><li>You can usually be accomplished run VM from an '''ISO imagefile''' or a '''VM file'''.* </li><li>One or more virtual machines can be run at the <u>same </u> time.* </li><li>The '''guest ''' OS '''shares hardware''' with the '''host ''' OS and possibly other virtualized systems.* Special software is used to manage the entire process, referred to as the </li><li>The '''hypervisorguest'''.* The guest systems have '''network access ''' through the host.</li></ol>* The selection of virtualization software (which allows : '''Installation Tips:'''<ol><li>Virtualization requires a '''compatible processor''': not all processors creation and running of virtual machines) depends mainly on the host OS, although some are cross-platformsupport that feature. Other considerations as </li><li>Your '''BIOS''' should be set to virtualization '''<u>enable</u> Virtualization'''.</li><li>Popular VM software may be featuresfor '''Windows''', support, price '''Apple''' and'''Linux''' OS include:<ul><li>VMware</li><li>Oracle Virtual Box</li></or personal preferences.ul></li></ol>
 
Popular VM software for Windows and MAC include:
*'''VMware'''
*'''Oracle Virtual Box'''
*'''KVM'''
*'''XEN'''
<br>
[[Image:linux-distro-2.png|thumb|right|150px|Knoppix is a popular Live Linux CD Distribution.<br>(Image licensed under[https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
''A live CD (also live DVD, live disc, or live operating system) is a complete bootable computer installation including operating system which runs directly from a CD-ROM or similar storage device into a computer's memory, rather than loading from a hard disk drive. A Live CD allows users to run an operating system for any purpose without installing it or making any changes to the computer's configuration. Live CDs can run on a computer without secondary storage, such as a hard disk drive, or with a corrupted hard disk drive or file system, allowing data recovery.<br><br>As CD and DVD drives have been steadily phased-out, live CDs have become less popular, being replaced by live USBs, which are equivalent systems written onto USB flash drives, which have the added benefit of having write-able storage. The functionality of a live CD is also available with a bootable live USB flash drive, or an external hard disk drive connected by USB.''
Reference: https://en.wikipedia.org/wiki/Live_CD
# Click on the following link to download the lastest knoppix ISO:<br>[https://www.knopper.net/knoppix-mirrors/index-en.html https://www.knopper.net/knoppix-mirrors/index-en.html]<br><br>
# If you are burning to a CD, click on the following link for instructions:<br>[https://www.wikihow.com/Install-Knoppix-Linux Install Knoppix LInux]<br><br>'''NOTE:''' If you are burning to a USB, click on the following link for instructions:<br>[https://itstillworks.com/boot-knoppix-usb-6904288.html How to Boot Knoppix from USB] -->
<br><br>
=INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX=
<br>
In this sectioninvestigation, you will first ''download'' and ''install'' the '''VirtualBox''' VM application on your home computer,<br>then you will then ''download'' and unzip the '''Knoppix Live Distribution VM''' file to your computer.
-->
# '''Click''' the following link to access the '''Oracle Virtualbox''' application download website:<br>[https://www.virtualbox.org/wiki/Downloads https://www.virtualbox.org/wiki/Downloads]<br><br>
# In this website, '''click''' the link corresponding to your '''computer's operating system'''<br>to download to your computer.<br><br>
# '''Install''' the downloaded '''Virtualbox''' VM application on your computer.<br><br>'''NOTE:''' You may be required to allow '''authorization''' to run this program, select to install devices (if prompted) and to '''restart''' your computer after installation.<br><br>
# '''Save''' editing changes and '''exit''' the text editor.<br><br>
# Confirm that you created this file and confirm that the contents of this file are correct.<br><br>Let's run a <b>shell script</b> to check that you created the '''myvm.txt''' file (with correct file contents) in your home directory.<br><br>
#Enter the following command: <span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scriptsmyscripts/week7-check-1</span><br><br>
# If you encounter errors, make corrections and then re-run the checking script until you receive<br>a congratulations message, and proceed to the next step.<br><br>
# Issue the following Linux command to '''terminate''' your Matrix session: <span style="color:blue;font-weight:bold;font-family:courier;">exit</span><br><br>
# In the web-browser, go to the '''Google''' website and perform a ''Net-search'' on the '''Knoppix wiki'''.<br><br>
# When finished browsing the Knoppix WIKI, '''close''' the ''Firefox'' web-browser.<br><br>
# Use the ''Knoppix start menu'' to select '''Office''' and then select '''LibreOffice - Writer'''<br>to launch a ''word processor processing'' application.<br><br>'''NOTE:''' Libre office is a <u>free</u> '''open-source suite''' of productivity tools for<br>creating ''documents'', ''spreadsheets'' and ''slide presentations''.<br><br>
# Create a new document, type in a paragraph and then '''save''' changes to the file '''mydoc''' to your home directory,<br>and '''exit''' the Libreoffice word processing document.<br><br>[[Image:shudtdown-knoppix.png|thumb|right|200px|'''Shutdown menu''' for Knoppix to terminal graphical Linux session.]]
# Use the ''Knoppix start menu'' to select '''logout''', then select '''shutdown''' to terminate your Knoppix Linux Live session.<br><br>
# Press '''ENTER''' when it indicates to '''Remove your CD'''.<br><br>'''NOTE:''' Although you are NOT using a physical CD, this step is required to shut-down<br>your Knoppix session and close your VirtualBox application.<br><br>[[Image:Knoppix-file-manager.png|thumb|right|200px|Graphical '''file manager''' for Knoppix.]]
# '''Launch''' a new Knoppix Linux Live session (''[https://wiki.cdot.senecacollege.ca/wiki/Tutorial7:_Installing_Linux_/_Live_Linux_/_Virtualization#INVESTIGATION_1:_BOOTING_KNOPPIX_.28LIVE_LINUX.29_VIA_VIRTUALBOX INVESTIGATION 1]'', '''step #7''').<br><br>
# Use the ''Knoppix start menu'' to '''launch''' a '''<u>graphical</u> file manager'''<br>('''Hint:''' ''Accessories'' -&gt; ''Files'').<br><br>
# In the file manager, search for your word processing document file and your downloaded shell script that were contained on your home directory.<br><br>Does your word processing document or your downloaded shell script exist?<br>If not, why?<br><br>[[Image:frozen-bubble.png|thumb|right|200px|The '''Frozen-Bubble''' arcade game.]]
13,420
edits

Navigation menu