Cop3223 Eustis Guide

User Transmission:

Open the PDF straight: View PDF PDF.
Page Count: 6

A Guide to Eustis and the Linux Command Line By Dr. Szumlanski Updated: Fall 2018  Table of Contents Introduction............................................................................................................................ 2 Of import Information Regarding Your Eustis Password..........................................................two Looking for Help?.................................................................................................................... 2 Connecting to Eustis While Using Campus Wif.......................................................................2 Establishing a UCF VPN Connection (Windows).......................................................................2 Establishing a UCF VPN Connectedness (Mac)..............................................................................iii Connecting to Eustis from a Command Line Final (Mac and Linux)....................................iii Transferring Files to Eustis via Terminal (Mac and Linux).........................................................3 Connecting to Eustis with MobaXTerm (All-in-1 Solution for Windows)................................4 Bones Linux/Mac Commands (Including Command Line Compilation)......................................four Appendix A: Establishing a UCF VPN Connection (Transmission Installation for Linux Users)...........6  Introduction Eustis accounts have already been created for anybody who was enrolled in this course by Friday, Aug. 17. Accounts for all other students will be created on Monday, Aug. 27. You can log into Eustis from computers on campus, only to log into Eustis from home (or sure dorms), you must frst establish a UCF VPN connection. Server: eustis.eecs.ucf.edu Username: your NID Password: your NID countersign  Important Data Regarding Your Eustis Password Eustis is fully integrated with UCF's Cyberspace domain, meaning that you volition employ your NID and NID password to log in to the system once your accounts are created. Of import note: When typing your password, Eustis does not print asterisks ('*') to the screen. It might wait like the organization is frozen, but don't worry; information technology'due south capturing your password as you blazon information technology. If you have trouble logging into Eustis or get locked out of your account, you lot can due east-mail your NID to help@cecs.ucf.edu and ask for help.  Looking for Help? For account issues (unrecognized username or invalid password), please electronic mail aid@cecs.ucf.edu. Exist certain to include your NID, permit them know you're enrolled in this grade, and provide a brief description of the login problem you're encountering (e.grand., the exact error message Eustis is giving you). For help establishing a connection to Eustis, please meet ane of the TAs in office hours. Your fellow classmates will also exist a neat resource for help with connection issues!  Connecting to Eustis While Using Campus Wif If you're using campus wif, delight log into the wif network with your NID and NID password (not as a guest) in gild to gain access to Eustis. If yous do that, you won't demand to go through the steps of manually establishing a VPN connection (except, sadly, in some of the dorms on campus).  Establishing a UCF VPN Connectedness (Windows) Skip this if you're using a campus computer or if you're connected to UCF'south wifi with your NID/countersign (not as a guest). If y'all're using Linux, you might have to manually install the Cisco AnyConnect Client. Run across pg. vi of this document for instructions on how to do so. one. Go to ucfvpn-1.vpn.ucf.edu (This stride is the same for Windows and Mac.) two. Sign in as a pupil using your NID and NID password. 3. Download some stuff for Cisco AnyConnect. 4. Open Cisco AnyConnect and type in: ucfvpn-1.vpn.ucf.edu 5. Again, blazon in your NID and NID password. This creates a VPN connection, and yous tin can now log into the Eustis server using i of the methods described beneath.  Establishing a UCF VPN Connection (Mac) Skip this if you're using a campus computer or if you're connected to UCF'southward wifi with your NID/password (non equally a guest). If yous're using Linux, you might take to manually install the Cisco AnyConnect Client. See pg. 6 of this document for instructions on how to exercise so. Annotation: For an alternative approach, you should also exist able to follow the instructions above for establishing a VPN connection on Windows, although some Mac users report having limited success with that approach. i. Open up "Network Preferences," and click on the plus sign toward the bottom-left corner of the window to create a new service. Select "VPN" and "Cisco IPSec." You can name the service any you lot like. Afterward that, enter ucfvpn-1.vpn.ucf.edu for the service accost, your NID for the account name, and leave the password feld blank. Next, click the "Hallmark Settings" button. Choose "shared surreptitious," and type "knights" in the empty feld. So type "ucfstudent" in the "Group Proper noun" feld. Click "OK" and then "Utilize" to create the new VPN service. 2. In the "Network Preferences" window for the VPN you just created, click "Connect," and connect to the VPN using your NID and NID password.  Connecting to Eustis from a Command Line Terminal (Mac and Linux) one. Open a terminal window and connect to Eustis past typing the post-obit: ssh YOUR_NID@eustis.eecs.ucf.edu 2. When prompted for your countersign, type your NID countersign. Note that Eustis does not impress asterisks ('*') to the screen as y'all blazon your password. It might look similar the system is frozen, merely don't worry; information technology'due south capturing your password every bit yous type it. After you blazon your password, hit enter. Note: If you become an error nearly IP spoofng or a "REMOTE HOST IDENTIFICATION HAS Inverse" warning when connecting, you might need to remove your old ssh key, like so (and then try re-connecting): ssh-keygen -R eustis.eecs.ucf.edu  Transferring Files to Eustis via Terminal (Mac and Linux) one. Open a new terminal window. 2. Use the "cd" command to navigate to the directory containing the fle(s) you want to transfer. East.g.: cd Desktop/cop3223/program1 3. Blazon the following to transfer some fle to Eustis. Note the demand for the ":~/" at the end of this command: scp some_fle.txt YOUR_NID@eustis.eecs.ucf.edu:~/ 4. When prompted, enter your NID password (and continue typing even though no characters appear as you do).  Connecting to Eustis with MobaXTerm (All-in-One Solution for Windows) Delight annotation that some versions of the SSH plan included with Windows will not be able to connect to Eustis. You can instead download MobaXTerm – a free program that provides a cute, all-in-1 solution for working with Eustis. MobaXTerm allows y'all to connect to Eustis, transfer fles, and interact with the Eustis command line all in one program, rather than dealing with split up applications for fle transfers and control line interactions. It also allows you to edit fles that are stored on Eustis and update them automatically when you save (rather working with local copies of all your fles so manually transferring them to Eustis every time y'all make a change). See the post-obit link, and follow the "GET MOBAXTERM At present!" push to download the gratuitous version: http://mobaxterm.mobatek.net/ To connect to Eustis with MobaXTerm, you lot'll want to constitute a new SSH session with the post-obit settings: Remote host: eustis.eecs.ucf.edu Specify username: (enter your NID in this field) Port: 22  Bones Linux/Mac Commands (Including Command Line Compilation) 1. To compile a source fle (.c fle) into an executable: gcc source.c 2. By default, the control in (1) will produce an executable fle chosen a.out, which yous tin can run by typing: ./a.out 3. To name the executable something else when y'all compile: gcc source.c -o whatsoever.exe four. To run the plan created in (3), which is called any.exe: ./whatever.exe five. Running the program could potentially dump a lot of output to the screen. If you want to redirect the output of your program to a text fle in Linux, information technology's easy. Merely run the program using the following: ./a.out > output.txt This will create a fle chosen output.txt that contains the output from your program. 6. Linux has a helpful control chosen dif for comparing the contents of two fles, which is really helpful if you take a text fle that contains the solutions y'all're looking for. You can see whether the contents of two fles match exactly (character for character) by typing, e.yard.: unequal output.txt solution.txt  If the contents of output.txt and solution.txt are exactly the same, dif won't have whatever output. It volition merely wait like this: seansz@net1547:~$ diff output.txt solution.txt seansz@net1547:~$ _ If the fles differ, dif will spit out some information about the lines that aren't the same. For example: seansz@net1547:~$ diff output.txt solution.txt  1c1 < Hello, world! --> Hullo globe! seansz@net1547:~$ _ vii. To list all the fles in your current directory: ls 8. To delete a fle, such every bit whatever.exe: rm whatever.exe 9. To dump the contents of a fle to the screen: true cat output.txt x. To compile multiple source fles into an executable, which you volition have to practise for some of your assignments this semester, simply listing all of the source fles you lot want to compile subsequently the gcc control: gcc source1.c source2.c source3.c 11. If you want to compile a program that includes math.h library functions, y'all need to link the math library by adding the -lm flag at the command line: gcc -lm source.c  Appendix A: Establishing a UCF VPN Connexion (Transmission Installation for Linux Users) You might have to manually install the Cisco AnyConnect Client in order to connect to UCF's VPN if you lot're using Linux. Here's how to exercise it. 1. Go to ucfvpn-one.vpn.ucf.edu 2. Sign in as a student using your NID and NID password. 3. If the client does not download correct away and seems to be stuck at "Sun Java Applet started, this may take up to 60 seconds..." just exist patient. It might take ii-3 minutes. Somewhen, it should come up with this message: Web-based installation was unsuccessful. If you wish to install the Cisco AnyConnect Secure Mobility Client, you may download an installer package. Install using the link below: Linux x86_64 4. Right-click the link and relieve the fle (vpnsetup.sh) to your desktop. 5. Open a terminal and enter the following commands: # Go to your Desktop cd ~/Desktop # Make the script yous downloaded executable chmod +x vpnsetup.sh # Run the script with administrative privileges. (This will inquire # for your Linux account password. That'due south okay. Type information technology in.) sudo ./vpnsetup.sh six. Find and run the "Cisco AnyConnect Secure Mobile Client" in your Applications menu. (Information technology was fled nether "Other" on my arrangement, only your mileage might vary.) 7. Enter ucfvpn-1.vpn.ucf.edu, click "Connect," and supply your NID and NID password. eight. You'll have to click "Accept" for some terms of service. 9. Open up a concluding and connect to Eustis using your NID and NID password: ssh YOUR_NID@eustis.eecs.ucf.edu  Of import note: Cisco AnyConnect sometimes produces the following error: "AnyConnect cannot confrm it is connected to your secure gateway. The local network may not exist trustworthy. Please try another network." If that happens to you, you tin either simply try switching to Firefox, or install OpenConnect instead.        

Source Exif Data:

File Blazon                       : PDF File Blazon Extension             : pdf MIME Type                       : application/pdf PDF Version                     : 1.4 Linearized                      : No Folio Count                      : 6 Language                        : en-Us Author                          : Sean Szumlanski Creator                         : Writer Producer                        : LibreOffice 5.ane Create Date                     : 2018:08:19 22:36:06-04:00        

EXIF Metadata provided by EXIF.tools