Changes

Jump to: navigation, search
no edit summary
[[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 option provides a method to access your computer if one OS '''fails to boot-up'''.</li><li>'''Access the Windows partition''' if your Windows OS cannot boot-up.</li><li>This booting method is great for '''troubleshooting'''<br>(''for example:'' boot into Linux OS to eliminate a hardware issue).</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>
[[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 is the process of running a virtual instance of a computer system in a layer abstracted from the actual hardware.'' Reference: https://opensource.com/resources/virtualizationVirtualization requires a compatible processor: not all processors support that feature.* Your BIOS should be set to '''<u>enable</u> 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>: '''Installation Tips:'''<ol><li>Virtualization requires a '''compatible processor''': not all processors support that feature.</li><li>Your '''BIOS''' should be set to '''<u>enable</u> Virtualization'''.</li><li>Popular VM software for '''Windows''', '''Apple''' and '''Linux''' OS include:<ul><li>VMware</li><li>Oracle Virtual Box</li></ul></li></ol>
Popular VM software for Windows and MAC include:
*'''VMware'''
*'''Oracle Virtual Box'''
*'''KVM'''
*'''XEN'''
<br>
=INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX=
<span style="color:red;">'''ATTENTION''': Depending on your ULI101 instructor, you may be required to complete this tutorial for '''marks''' in the course.<br>Please refer to your instructor's course notes or lectures to refer to evaluation for this course.<br><br>This is an OPTIONAL assignment, but is worth a '''bonus mark''' of 1% if successfully completed by the student.<br><br>The due date for successfully completing this tutorial (i.e. '''tutorial 7''') is by '''Friday by midnight''' next week (i.e. '''Week 12''').<br>If your instructor has NOT assigned marks for completing this tutorial, you can perform it for practice.</span><br><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>
# '''Click''' the '''Knoppix Start button''' (refer to <u>left</u> icon in diagram on right). In the '''Knoppix menu''', select '''System Tools'''<br><br>[[Image:xterm.png|thumb|right|280px|The '''Konsole''' application will display the Bash shell to issue Linux commands.]]
# In the system tools menu, and select '''Konsole''' to launch a terminal application.<br><br>'''FYI:''' To '''increase''' font size, press '''ctrl+''' to '''reduce''' font size, press '''ctrl-'''.<br>You can drag the Konsole terminal window from the bottom-right corner<br>to increase the window size.<br><br>
# In the bash shell, issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">whoami</span><br><br>What is the name of your generic Knoppix Linux Live account?<br>On your Knoppix live OS, there is a '''generic''' user called "'''knoppix'''" that can<br>be accessed <u>without</u> a password. This account has its own home directory.<br><br>Let's test this out by using the ssh command to connect to your Matrix account.<br>Your Knoppix virtual machine uses your host computer's operating system which<br>is already connected to '''Seneca's Global PortalGlobalProtect VPN'''.<br><br><!-- # Issue the following Linux command to '''download''' a Bash Shell script to connect<br>to the '''Seneca Global PortalGlobalProtect VPN''':<br><span style="color:blue;font-weight:bold;font-family:courier;">wget itas.senecacollege.ca/~mark.fernandes/vpn</span><br><br>
# Issue the following Linux command to add execute permissions to be able to run this script:<br><span style="color:blue;font-weight:bold;font-family:courier;">chmod +x vpn</span><br><br>
# Issue the following Linux command to the '''/usr/bin''' directory so this script works like a command:<br><span style="color:blue;font-weight:bold;font-family:courier;">sudo mv vpn /usr/bin</span><br><br>
# Issue the following shell script to connect to the Seneca Global PortalGlobalProtect VPN: <span style="color:blue;font-weight:bold;font-family:courier;">vpn -c</span><br><br>You should be connected to the Seneca Global PortalGlobalProtect VPN. <br>Let's test this out by using the ssh command to connect to your Matrix account.<br><br>
# We need the '''vpn -c''' command to <u>keep</u> running in this terminal; therefore, '''open <u>another</u> Konsole terminal'''.<br><br>
# In that '''<u>new</u>''' terminal, issue the following Linux command to connect to your Matrix account:<br><span style="color:blue;font-weight:bold;font-family:courier;">ssh yourSenecaId@matrix.senecacollege.ca</span><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/scripts~uli101/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>
13,420
edits

Navigation menu