Open main menu

CDOT Wiki β

Changes

Tutorial 7 - Installing Linux / Live Linux / Virtualization

587 bytes added, 11:23, 13 February 2023
INVESTIGATION 3: INSTALLING THE GLOBAL PROTECT VPN AND CONNECTING TO MATRIX FROM YOUR VIRTUAL MACHINE
* 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 '''openconnectLinux GlobalProtect Agent''') is not available in the default RHEL repo. It is however, available from epel (extra packages for enterprise linux)You may have to enter your Seneca username and password. First add this repo by issuing the command <span style="color:blue;font-weight:bold;font-family:courier;">sudo dnf install epel-release</span>
* Note, since you did not include the -y option, you will have to answer y Open your '''Terminal''' (yescli) when prompted.and change to your downloads folder <span style="color:blue;font-weight:bold;font-family:courier;">cd Downloads</span>
* Now, install Type '''openconnectls''' by issuing the command <span style="color:blue;fontto confirm your download is there. It should look something like '''PanGPLinux-weight:bold;font5.3.3-family:courier;">sudo dnf -y install openconnect</span>c4.tgz'''
* Once this The .tgz extension indicates the file is a tar that has completed, you can connect to Seneca's VPN been compressed with gzip. Extract it 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 -tar xvf PanGPLinux-protocol=gp studentvpn5.senecacollege3.ca 3-u username -bc4.tgz</span>
* Type '''ls''' to confirm the files were extracted. Note all the files ls displays. We are going to install the .rpm, as that is Red Hat's package manager using DNF. Be sure to install the correct RPM (do not the install the one that includes arm in the name). * Type the following command to install the file: <span style="color:blue;font-weight:bold;font-family:courier;">sudo dnf -y localinstall 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. * Now browse to the graphical '''GlobalProtect''' application and launch it. * 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?