Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

12,792 bytes added, 05:30, 10 April 2022
INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX
===Main Objectives of this Practice Tutorial===
:* List Download and explain install the common types of installing Linux'''VirtualBox''' VM software application
:* Define Download and explain run the purpose of using a '''Knoppix Live Linux distributionVirtualBox file'''in a virtual machine
:* Define Open a terminal and explain connect to your Matrix account via the purpose of '''Virtualizationssh'''utility
:* Boot Run several '''open-source applications''' in your graphical Knoppix Linux environment :* Understand the '''limitation''' of running Knoppix Live Linux distribution from MyAppsas opposed to a '''persistent''' Knoppix installation
<br>
| style="padding-left:15px;" |Installing Linux
* [https://www.linux.com/training-tutorials/linux-installation-choices/ Linux Installation MethodsChoices]* [https://en.wikipedia.org/wiki/Live_CD Live LinuxDefinition]* [https://en.wikipedia.org/wiki/Virtualization VirtualizationDefinition]<br><br>| style="padding-left:15px;"|SoftwareKnoppix Resources* [https://www.knopper.net/knoppix/index-en.html Knoppix Website]* [https://itas.senecacollege.ca/~uli101/Knoppix.zip Download KnoppixVirtualBox VM]
|colspan="1" style="padding-left:15px;" width="30%"|Instructional Videos:<ul><li>x[https://www.youtube.com/watch?v=rCU9d5EZaAY Install Knoppix as a Virtual Machine]</li></ul>
|}
Having your own a Linux system offers a Linux student a great learning opportunity and gives you on your home computer provides '''access ''' to a large library selection of '''open source software'''.<br>You can also install different versions of a Linux system including a graphical desktop version, server version, etc.
Installing your own version of Linux on your notebook or desktop computer at home also can also help for make it easier to practice working<br>in the Linux environment and '''learn ''' how to perform routine '''Linux OS administration tasks'''.
[[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 to '''download''' a Linux Distribution Install (ISO image file or VM file<br>to your Computer ('''Note:''' Be aware of any required Hardware Requirements for the Linux OS prior to installation).)* '''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===
[[Image:stand-alone.png|thumb|right|250px|Linux is the only OS on the computer<br>(Image licensed under [https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
'''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 still use access your computer if one OS '''fails to boot-up'''.* Most Linux distributions can access </li><li>'''Access the Windows partition ''' if your Windows OS cannot boot-up.* </li><li>This option 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>* The installation process will take some of the free disk space from the OS already installed.* : '''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 processorlayer abstracted from the actual hardware.'' Reference: https: not all processors support that feature//opensource.* Most recent multi-core processors support 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 completed 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 the hardware ''' with the '''host ''' OS and possibly other virtualized systems* Special software is used to manage the entire process, referred to as the “hypervisor”.* </li><li>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 features, supportfor '''Windows''', price '''Apple''' and'''Linux''' OS include:<ul><li>VMware</li><li>Oracle Virtual Box</li></ul></li></or personal preferences.ol>
 Popular VM software for Windows and MAC include:*VMware*Oracle Virtual Box*KVM*XEN<br>
===Live Linux CD===
[[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
The '''Knoppix Live CD id ''' is available to run on workstations at Seneca College via '''AppsAnywhere'''<br>or you can download and run it on your home computer via as a Virtual Machine<br>(requires '''AppsAnywhereVirtualBox'''VM software installed on your computer).<br><br><!--:''Steps to Run Knoppix from AppsAnywhere(Seneca Labs):''
<table align="right"><tr valign="top" ><td>[[Image:knoppix-3.png|thumb|right|280px|'''Launch Knoppix''' from '''Virtualbox''' menu.<br>(Image licensed under[https://creativecommons.org/licenses/by-sa/3.0/ cc])]]</td><td>[[Image:knoppix-4.png|thumb|right|200px|Click '''Switch''' to enter '''scale mode'''.]]</td></tr></table>
#Start your Seneca College lab workstation and login to your Seneca Windows account.
# '''Double-click''' on the Knoppix VM in the left window to launch this VM and click the '''Switch''' button when prompted to enter scale mode.
 You can also burn in a Knoppix CD or USB Live Image to Run on your Computer :''Steps to Run Knoppix Live from Your Remote Computer:''
[[Image:knoppix-download.png|thumb|right|280px|'''Knoppix Download Webpage.]]
# 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) FROM MYAPPSVIA VIRTUALBOX<span style="color:red;">'''ATTENTION''': This tutorial relates to an interest topic and is NOT worth marks.</span><br><br> In this investigation, 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.   You will then ''launch'' the VirtualBox application by double-clicking the downloaded VirtualBox VM.<br>Once you launch the Knoppix Linux distribution, you will learn in '''INVESTIGATION 2''' to perform<br>a few basic operations in the '''Knoppix''' Linux ''graphical'' Linux environment.
<br>
In this section, you will learn how to launch the Knoppix Live Linux distribution from a workstation as Seneca College using MyApps.
'''Perform the Following Steps:'''
[[Image:virtualbox-download.png|thumb|right|280px|Download page for '''VirtualBox''' VM application.]]
# Start :<span style="color:red;"><b>ATTENTION</b>: If you receive an error message indicating that your workstation in your lab and login computer is NOT<br>set to handle '''virtualization''', you need to your Seneca Windows account.<bru>enable<br/u># Make certain that the virtualization in your notebook’s '''MyAppsBIOS''' window is open. This window should have opened shortly after you logged into </span> <!-- Instructions to launch via myapps # Start your Windows workstation. If the application windows is not computer and open, click on the a '''MyAppsweb-browser''' icon on .<br><br># Click the desktop following link to launch)AppsAnywhere: https://myapps.senecacollege.ca/<br><br>
# Click on the '''Search Apps''' area located in the top right corner of the MyApps window and type the word: <span style="color:blue;font-weight:bold;font-family:courier;">knoppix</span><br><br>
# The ''Knoppix'' Linux Distribution will appear. <br><br>[[Image:knoppix-3.png|thumb|right|280px|'''NOTE:Launch Knoppix''' from '''Virtualbox'' All of these applications allow you to connect to your Matrix account.<br>We will use the application called '''SSH Secure Shell Client''' for this practice tutorialmenu.<br><br>[(Image licensed under[Imagehttps:knoppix//creativecommons.org/licenses/by-sa/3.png|thumb|right|280px|0/ cc])]]# Launch the '''Launch Knoppix''' from Linux distribution by clicking the '''VirtualboxLaunch''' menubutton.<br>(Image licensed under[https<br>''''''NOTE://creativecommons.org/licenses/by-sa/3.0/ cc])]]# Launch the '''Knoppix''' Linux distribution by clicking the ' Your '''file manager'''Launch''' button.<br><br>'''NOTE:''' Your file manager will will open and display both the '''Knoppix virtual machine icon''' and a '''Knoppix Installation ISO file'''. You will be launching the Knoppix Virtual machine in the '''Virtualbox''' application.<br><br># '''Double-click ''' on the icon Knoppix.vbox in the Virtualbox menu.<br><br># Another dialog box will appear. '''Double-click ''' on the '''Switch''' button when prompted to enter '''scale mode'''or '''Switch''' to scale mode.<br><br>'''NOTE:''' You should notice that you can switch between your Knoppix VM and your Windows computer which is referred to as the '''host machine'''.<br><br>--> # Allow a little time for the Knoppix Linux distribution to start. This is a '''graphical Linux distributionClick'''the following link to access the ' which will start-up in a desktop environment.<br><br>'''NOTE:Oracle Virtualbox''' You are NOT prompted for a username and password because this is a Linux Live distribution,<application download website:<br>and you have been assigned a '''generic account'''[https://www.virtualbox.org/wiki/Downloads https://www.virtualbox.org/wiki/Downloads]<br><br>[[Image:knoppix-desktop.png|thumb|right|380px|The # In this website, '''click''' the link corresponding to your '''computer'Knoppix Linux desktop environments operating system''' has a similar look as the MS Windows desktop environment.<br>(Image licensed under[https://creativecommonsto download to your computer.org/licenses/by-sa/3.0/ cc])]]# On the bottom left-hand side, click on <br><br># '''Install''' the downloaded '''Knoppix start menuVirtualbox''' (similar to the Windows start menu)VM application on your computer.<br><br># In the start menu, select '''System ToolsNOTE:''' You may be required to allow '''authorization'<br><br>[[Image:xterm.png|thumb|right|200px|The '' to run this program, select to install devices (if prompted) and to '''xtermrestart''' application will display the Bash shell to issue Linux commandsyour computer after installation.]]<br><br> # In '''Click''' the system tools menu, scroll down and select following link to launch download the terminal application called '''xtermzipped'''(''compressed'') Knoppix Live Distribution<br>file to your computer: [https://itas.senecacollege.ca/~uli101/Knoppix.zip Knoppix Virtualbox VM]<br># In the bash shell, issue the following Linux command<br>'''NOTE: <span style="color:blue;font-weight:bold;font-family:courier;">whoami</span>''' This file is approximately '''5GB''' in size and might take a while to download.<br><br>What is # Open a '''File Manager''' application and '''navigate''' to directory that the name of your generic '''Knoppix Linux Live account?.zip''' file<br>was downloaded (eg. '''Downloads''').<br><br># Issue the following command to connect to your Matrix account (when prompted for your password, enter your MySeneca password as you do when checking your MySeneca email[[Image:knoppix-file.png|thumb|right|280px|Knoppix VM file contained in the zipped file. <b>NOTE:</b> Nothing appears on '''Double-click''' '''Knoppix.vbox''' file to launch the screen as you type your password but ensure you press <b>Enter</b> when done'''Knoppix Live Linux''' Distribution.): <span style="color]]# '''Unzip''' the downloaded zip file (In MS Windows:blue;font-weight:bold;font-family:courier;''Right click'' and Select ">ssh yourSenecaId@matrix.senecacollege.ca</span>''Extract All''" )<br><br>Where you able to connect to your Matrix account?'''NOTE:''' The contents of this zipped file should appear in another file manager window.<br><br># After logging in Navigate to your Matrix account, issue the following command to terminate your Matrix session: <span style="color:blue;fontfolder containing the ''extracted zipped files'' and '''double-weight:bold;font-family:courier;">exit</span>click''' the file called '''Knoppix.vbox''' to launch the Knoppix VM.<br><br># Make certain to close your '''xtermNOTE:'''By '' application.'double-clicking''' on this file (even if the VirtualBox application is not running)<br>it will launch the VirtualBox application and start the Knoppix virtual machine.<br><br># Use the ''Knoppix start menu'For Mac Users:''' to launch a web-browser and go to If you experience an error message regarding the Kernel extension,<br>click on '''System Preferences'''Google, select '''Security and Privacy''' website.<br><br># Use the ''Knoppix start menu'' and click to select '''Office''' and then select '''LibreOffice - Writerallow Oracle''' service extensions to launch a word processor applicationrun on your machine.<br><br># Create a small document and save changes to If you have difficulty running Knoppix on your home directory using machine/laptop you may ask your first name, and exit the Libreoffice word processing document<br>'''Learning Centre ULG leaders''' for additional help in troubleshooting why Knoppix<br>is not working on your home machine/laptop.<br><br><table align="right"><tr valign="top"><td>[[Image:knoppix-start-menu.png|thumb|right|150px|'''Knoppix Start button''' (icon on the '''left''').]]</td><td>[[Image:knoppix-desktop.png|thumb|right|280px|The '''Knoppix Linux desktop environment''' has a similar look as the MS Windows desktop environment. (Image licensed under[https://creativecommons.org/licenses/by-sa/3.0/ cc])]]</td></table># If you are using MS Windows, look in the taskbar below to see if the Virtual Box application is running click to display that application window.<br><br># Click on the Start button (looks like a green arrow pointing to the right).<br><br># If prompted, '''click''' '''Scale''' or '''Switch''' to scale mode to proceed.<br><br># If using ''MS Windows'', click the mouse on the Knoppix screen and press '''ENTER''' to login.<br><br># Allow '''time''' for the Knoppix Linux distribution to start. This is a '''graphical Linux distribution''' which will start-up in a desktop environment.<br><br>'''NOTE:''' You are '''NOT''' prompted for a ''username'' and ''password'' because this is a Linux Live distribution and you have been assigned a '''generic account'''.<br><br>'''NOTE:''' If you are using MS Windows, press the '''RIGHT CTRL''' key to change to other applications by pressing '''ALT-TAB'''.<br>When you want to use Graphical Linux (i.e. Knoppix screen), click in the screen to focus and use that screen.<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 GlobalProtect VPN'''.<br><br><!-- # Issue the following Linux command to '''download''' a Bash Shell script to connect<br>to the '''Seneca GlobalProtect 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 GlobalProtect VPN: <span style="color:blue;font-weight:bold;font-family:courier;">vpn -c</span><br><br>You should be connected to the Seneca GlobalProtect 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># Enter '''yes''' to share your ''public key''.<br><br># When prompted, enter your '''password''' (remember that password does not "echo-back").<br><br>Were you able to connect to your Matrix account?<br><br>--># 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># Enter '''yes''' to share your ''public key''.<br><br># When prompted, enter your '''password''' (remember that password does not "echo-back").<br><br>Were you able to connect to your Matrix account?<br><br># Confirm that you are in <u>your</u> '''home''' directory on your Matrix account.<br><br># Use a '''text editor''' (''nano'' or ''vi'') to create a file in your current directory called '''myvm.txt'''<br>and enter the following text displayed below. Make certain there are ONLY 3 lines:<br><br><span style="font-family:courier;font-weight:bold">This is line 1<br>This is line 2<br>This is line 3</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;">~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># Remain in the '''Konsole''' ''terminal window'' when performing '''INVESTIGATION 2'''.<br><br> : In the next investigation, you will learn to work in a graphical Linux environment.<br>You will also run several open-source application within the Knoppix graphical environment.<br><br> =INVESTIGATION 2: USING THE GRAPHICAL KNOPPIX VM =  Let's learn to run ''open-source'' applications on your graphical Knoppix Linux Live distribution.<br>But first, let's '''download''' and run a '''shell script''' that will display '''dialog boxes''' in your graphical Knoppix VM.  '''Perform the Following Steps:''' # Make certain that you are running your Knoppix Linux Live virtual Machine<br>(refer to '''step #7''' in [https://wiki.cdot.senecacollege.ca/wiki/Tutorial7:_Installing_Linux_/_Live_Linux_/_Virtualization#INVESTIGATION_1:_BOOTING_KNOPPIX_.28LIVE_LINUX.29_VIA_VIRTUALBOX INVESTIGATION 1] )<br><br>Although you will be learning to create and run '''shell scripts''' (near the end of this course)<br>in your '''Matrix''' server , those scripts will only run in a '''command-line''' environment.<br><br>Since you are running a '''<u>graphical</u> Knoppix''' Linux distribution on your computer,<br>you can run scripts graphically (including the use of '''dialog boxes''' for ''input'', ''output'', etc.).<br><br>[[Image:input-dialog.png|thumb|right|250px|Graphical '''input dialog box'''.]]# Make certain that you are in a '''Konsole''' ''terminal window''<br>(but '''NOT''' connected to your Matrix account).<br><br># Issue the following command to '''download''' a shell script called '''week7-demo-1''' from the Internet:<br><span style="color:blue;font-weight:bold;font-family:courier;">wget <nowiki>https://matrix.senecacollege.ca/~murray.saul/week7-demo-1</nowiki></span><br><br># Issue the '''ls''' command to confirm that the file called '''week7-demo-1'''<br>has been downloaded to your current directory.<br><br># Issue the following to run this shell script:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash week7-demo-1</span><br><br># In the dialog box, click to select the '''/home/knoppix''' directory and click '''OK'''.<br><br>What did you notice?<br><br># Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls -l week7-demo-1</span><br><br>Notice there are NO '''execute''' permissions for this shell script file.<br>That is why we have to issue the '''bash''' command followed by<br>the '''shell script file pathname''' (as an argument) to run the shell script.<br><br>Let's '''<u>add</u> execute permissions''' so we can run this command by name<br>(i.e. without using the '''bash''' command).<br><br>[[Image:output-dialog.png|thumb|right|250px|Graphical '''output dialog box'''.]]# Issue the following command to '''add execute permissions''' for everyone<br>for the '''week7-demo-1''' file: <span style="color:blue;font-weight:bold;font-family:courier;">chmod +x week7-demo-1</span><br><br>'''FYI:''' This method is a '''quick''' method of adding execute permissions for<br>the '''owner''', '''same group members''' and '''others'''.<br><br># Issue the '''ls -l''' command for this file to confirm execution permissions were properly added.<br><br># Issue the following: <span style="color:blue;font-weight:bold;font-family:courier;">./week7-demo-1</span><br><br>Did the shell script run?<br><br>'''NOTE:''' The shell script uses the '''zenity''' command to create dialog boxes. Although you may need to install this application in other Linux distributions, it is automatically included with the Knoppix distribution. We don't learn about the ''zenity'' command in this course, but here is a link to some simple examples using this command in case you are interested: [https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiKztuinuruAhXwm-AKHSGnCq8QFjAAegQIBBAC&url=https%3A%2F%2Fwiki.cdot.senecacollege.ca%2Fwiki%2FHow_to_Use_Zenity&usg=AOvVaw3pDy1Afw8Vw9-09cs5zE6Y How to Use Zenity]<br><br>'''REMEMBER:''' You '''CANNOT''' run this graphical shell script on your '''Matrix''' server,<br>since Matrix is only a '''COMMAND-LINE environment''' and NOT a '''graphical environment'''.<br><br># Issue the Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">exit</span> to '''close''' the '''Konsole''' terminal window.<br><br><table align="right"><tr valign="top"><td>[[Image:knoppix-wiki.png|thumb|right|250px|'''Knoppix WIKI''' in the '''Firefox'''<br>web-browser.]]</td><td>[[Image:libreoffice.png|thumb|right|300px|The '''LibreOffice''' word processor.]]</td></table># Use the ''Knoppix start menu'' and search the '''Internet''' submenu to launch the '''firefox''' web-browser.<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 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>
# Repeat the steps Press '''ENTER''' when it indicates to launch '''Remove your CD'''.<br><br>'''NOTE:''' Although you are NOT using a new physical CD, this step is required to shut-down<br>your Knoppix Linux Live sessionand close your VirtualBox application.<br><br>[[Image:libreofficeKnoppix-file-manager.png|thumb|right|200px|The 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]'', '''LibreOfficestep #7''' application is the default word processor).<br>]]<br># Use the ''Knoppix start menu'' to '''launch ''' a '''<u>graphical </u> file manager called x'''<br>('''Hint:''' ''Accessories'' -&gt; ''Files'').<br><br># Search In the file manager, search for the your word processing document file and your downloaded shell script that you saved were contained on your home directory. Is there <br><br>Does your word processing document there. or your downloaded shell script exist?<br>If not, why?<br><br>[[Image:frozen-bubble.png|thumb|right|200px|The '''Frozen-Bubble''' arcade game.]]# Use Open the ''Knoppix start menu'' , select '''games''' and try running a few games<br>(a few recommendations are: '''Frozen Bubble''', and '''Extreme Tux Racer''').<br><br>Now that you have had an opportunity to shutdown use your Knoppix Linux Live session.distribution,<br><br># Work on let's shutdown the VM and move onto the Linux practice questions located at the bottom of this tutorial.<br><br> # Open the ''Knoppix start menu'' and select '''logout''' and '''shutdown''' to end your Knoppix Live session.<br><br>
= LINUX PRACTICE QUESTIONS =
# Explain why installing '''Multi-boot''' for Linux is useful for '''computer troubleshooting'''.
# Define the term '''Virtualization'''.
<!-- # List the steps to boot the Knoppix Linux distribution from a Workstation at Seneca College.--># List the '''steps ''' to boot start the Knoppix Linux distribution from a CD or USB from your home computer.# List '''4 applications''' that are contained in the home pages of Knoppix Linux Live distribution.# Explain the difference between a '''Live Linux distributions shown in the distribution''' and an '''installed Linux distribution image above'''[[Category:ULI101]]
13,420
edits

Navigation menu