Changes

Jump to: navigation, search
m
Protected "Tutorial 7 - Installing Linux / Live Linux / Virtualization": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
=INSTALLING LINUX / LIVE LINUX / VIRTUALIZATION=
===Main Objectives of this Practice Tutorial===
:* Download and install the '''VirtualBox''' VM software application
= INVESTIGATION 1: CREATING A RED HAT ACCOUNT AND DOWNLOADING THE ISO =
<span style="color:red;">'''ATTENTION''': The due date for successfully completing this tutorial (i.e. tutorial 17) is by Friday, December 15 April 21 @ 11:59 PM (Week 14).</span><br>
In this investigation, you will first create a Red Hat account and download the install medium (ISO). This is required to install Red Hat as a virtual machine in INVESTIGATION 2. Be sure to remember your login and password.
== Perform the Following Steps ==
* Navigate to [https://www.redhat.com/en Red Hat's website] (click on the link).
[[Image:1_-_Registering_for_a_Red_Hat_account.jpg|750px|Registering for a Red Hat account.]]
[[Image:3_-_Login_to_Red_Hat.jpg|750px|Red Hat account portal ]]
* Go to the [https://developers.redhat.com/ RedHat Red Hat Developers Portal] . Login with your new account and accept all terms and conditions.
* Click Go back to the [https://www.redhat.com Red Hat website], login and click on '''Customer Portal'''. You should see the following screen.
[[Image:4_-_Customer_Portal.jpg|750px|Customer Portal]]
* Scroll down until you see Download Software. Click on '''DOWNLOADS'''Download software. This will take you to to You should see the following screen, where we will download Red Hat Enterprise Linux 8.
[[Image:5_-_Downloads.jpg|750px|Product Downloads]]
* You should see a download page for Click the arrow (highlighted in the previous screenshot) beside "Red Hat Enterprise Linux". Ensure under '''Product Variant''': it says '''Red Hat Enterprise Linux x86_64''' and '''Version: 8Then select Download latest.x It will take you to a download page (latestdepicted below)'''. Scroll down and next to '''Find the Full installation image. It should be labelled "Red Hat Enterprise Linux 89.4 1 Binary DVD''' click on '''". Click "Download Now'''". This process See the below screenshot for reference. Note: Downloading may take a few minutes (as the full dvd is a large file) some time depending on the speed of your internet Internet connection.
[[Image:6_-_Download_RHEL.jpg|750px|Download RHEL]]
= INVESTIGATION 2: CREATING A VIRTUAL MACHINE IN VMWARE AND INSTALLING RED HAT ENTERPRISE LINUX =
<span style="color:red;">'''ATTENTION''':You should already have VMWare Workstation installed from OSM620. If you do not, refer to OSM640 wk1 PreLab.</span>
In this investigation you will be creating a new virtual machine in VMWare Workstation and installing Red Hat Enterprise Linux 8.49. Keep this virtual machine (VM) after completing Tutorial 7 as you will require it for your Project.
* Launch VMware Workstation, and select '''Create a New Virtual Machine'''.
** Leave the defaults and login with the Red Hat Account you created in Investigation 1.
** Your system should now show as a Registered System at the bottom of the window.
** If you receive an error indicating you must accept the terms and conditions to continue, manually accept them by clicking on [https://www.redhat.com/wapps/tnc/standalone/ea this link].
* Click Date & Time. You should see the following screen.
[[Image:10_-_date_and_time.jpg|500px|Date & Time.]]
* You may be prompted for your password. The inclusion of the '''-y''' option, auto assumes yes to prompts (this can be very handy). The update process may take a while. Do not interrupt it.
* The Download the package required to connect to Seneca's VPN [https://students.senecacollege.ca/spaces/186/it-services/wiki/view/1027/vpn-clients here] (click on the link for '''Linux GlobalProtect Agent'''. You may have to enter your Seneca username and password. * Open your '''openconnectTerminal'''(cli) and change to your downloads folder <span style="color:blue;font-weight:bold;font-family:courier;">cd Downloads</span> * Type '''ls''' to confirm your download is not available in the default RHEL repothere. It should look something like '''PanGPLinux-5.3.3-c4.tgz''' * The .tgz extension indicates the file is however, available from epel (extra packages for enterprise linux)a tar that has been compressed with gzip. First add this repo Extract it by issuing the command <span style="color:blue;font-weight:bold;font-family:courier;">sudo dnf install https://dltar xvf PanGPLinux-5.fedoraproject3.org/pub/epel/epel-release3-latest-8.noarchc4.rpmtgz</span>
* Type '''ls''' to confirm the files were extracted. Note, since you did not include all the files ls displays. We are going to install the -y option.rpm, you will have as that is Red Hat's package manager using DNF. Be sure to answer y install the correct RPM (yesdo not the install the one that includes arm in the name) when prompted.
* Now, Type the following command to install '''openconnect''' by issuing the command file: <span style="color:blue;font-weight:bold;font-family:courier;">sudo dnf -y install openconnectlocalinstall GlobalProtect_UI_rpm-5.3.3.0-4.rpm</span>. '''Note:''' Your rpm package name might be slightly different as it may be a newer version.
* Once this has completed, you can connect Now browse to Senecathe graphical 's VPN by issuing the following command (be sure to substitute your username where appropriate) <span style="color:blue;font-weight:bold;font-family:courier;">sudo openconnect --protocol=gp senecavpn.senecacollege''GlobalProtect''' application and launch it.ca -u username -b</span>
* Enter StudentVPN.senecacollege.ca for the portal. * Enter your password credentials when prompted(just like you connect with the Windows or Mac apps).
* Now you should be able to ssh into Matrix. Test this by issuing the following Linux command <span style="color:blue;font-weight:bold;font-family:courier;">ssh yoursenecaid@matrix.senecacollege.ca</span>
* Enter '''yes''' to share your public key.
 
* When prompted, enter your password. Were you able to connect to your Matrix account?

Navigation menu