csci 1411 fundamentals of computing lab n.
Skip this Video
Loading SlideShow in 5 Seconds..
CSCI 1411 Fundamentals of Computing Lab PowerPoint Presentation
Download Presentation
CSCI 1411 Fundamentals of Computing Lab

Loading in 2 Seconds...

play fullscreen
1 / 30

CSCI 1411 Fundamentals of Computing Lab - PowerPoint PPT Presentation

Download Presentation
CSCI 1411 Fundamentals of Computing Lab
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. CSCI 1411 Fundamentals of Computing Lab Shane Transue Lab 1

  2. Introduction • Course: CSCI-1411 Fundamentals of Computing Lab • Instructor: Shane Transue • Research: Graphics / Physics Sim / C++ Library Design • Office Hours: Tues/Thurs (2:00pm – 3:00pm) • Office Location: LW-820 (Graphics Lab) • Optionally in the Lab • Email: • Website: • (Canvas) • CSCI 1411 Spring 2012

  3. Objectives • Introduction • Logging into a computer / CSE Unix Servers • Getting familiar with the terminal window in a Unix environment • Trying some of the Unix commands • Uploading a C++ source file • Compiling and Running a C++ program • Logging out and terminating a session

  4. Agreement Form • Require a signature on the Pre-requisite / Co-requisite Agreement. • Pre-requisite: Freshman status • Co-requisite: CSCI 1410 Fundamental of Computing

  5. CSCI 1411 Canvas Site • Announcements • Syllabus/Schedule • Labs and Assignments (Modules) • Canvas for Homework Submissions (do NOT need to use VPN for Canvas)

  6. Course Introduction Goals • To gain skills in computer programming with the C++ language using a UNIX operating system Grading Policy • 14 Labs worth 40 points each: • Pre-lab assignments worth 5 points • Programming component worth 35 points (see syllabus) • No exams Assignments • Each lab must be completed and turned in by start of class one week after assigned (exception is last lab of semester). • All work must be turned in on Canvas

  7. How to Access Windows & Mac PCs in Lab • Lab PC login • User IDand Password are the same as you use to log into the UCDAcess portal and your UCD email account. • Note you will using this same account to log into the Unix server.

  8. How to Access CSE Unix Servers • Contact for problems involving your CSE account. • Helpdesk system: csehelp.ucdenver.pvt • Or e-mail

  9. How to Get PuTTTY • PuTTY – A secure shell access client • Allows for remote terminal access to the Unix grid • • Already installed on the Lab Computers

  10. How to Access Terminal Service 2) All programs -> 1) start ->

  11. How to Access Terminal Service 3) PuTTY->

  12. How to Access Terminal Service 4) PuTTY->

  13. How to Access Terminal Service Host Name: csegrid.ucdenver.pvt CSCI 1411 Spring 2012

  14. How to Access Terminal Service login as: UCD User Name

  15. How to Access Terminal Service Password: UCD Password

  16. Unix Terminal • What is UNIX? UNIX is an operating system (OS), software that manages the hardware and software resources of a computer. (Like Windows, Mac OS) • How will we use it? To write, compile, and execute C++ programs.

  17. Trying Some of Unix Commands • Each of these commands is typed in after the UNIX prompt, and each is executed by pressing (Enter). Dir and file represent the pathnames of a directory and a file, respectively.

  18. pwd command • Print working directory’s pathname • For example:

  19. mkdir command • Make a directory having the pathname Dir • For example: mkdircsci1410 mkdir csci1411 mkdir~/temp • create a directory at student’s home directory

  20. ls command • List files in the current directory • For example: ls ls -l • ls -t

  21. rmdir command • Remove (i.e., delete) the directory Dir • For example: rmdircsci1410rmdir~/temp

  22. cd command • Change to directory having the pathname Dir • For example: cdcsci1411(and then try ls and pwd command to see the output ) cd (and then try ls and pwd command to see the output )

  23. mv command • Move file into the directory Dir • For example: mvindex.html csci1411 (and then try these commands to see if file is moved) cdcsci1411 ls

  24. UNIX Text Editors • nanonanofile_name Example: nanomy_first_file.cpp • vivifile_name

  25. Accessing UCD Grid Files • WinSCP • Manage files on the UCD Grid • • Already installed on the Lab computers

  26. Accessing UCD Grid Files • File Transfers • WinSCPto csegrid.ucdenver.pvt(this doesn’t work until you log in using sshfor the first time, otherwise your home directory will not have been created) • (Windows) Connect to: \\csenas.ucdenver.pvt\<username> from Windows desktop and copy files to home directory • (Mac) Connect to: SMB://csenas.ucdenver.pvt/<username> from a Mac finder window and copy files to home directory.

  27. Download/Upload files using WinSCP • Start  All Program  WinSCP  WinSCP • Enter Hostname: csegrid.ucdenver.pvt • Enter Username & Password used for University login 

  28. Download/Upload files using WinSCP • Drap & Drop files between two windows to download/upload file into UCD Server Your PC UCD Server

  29. Accessing CSE Servers from off campus 1. Install Virtual Private Network Used to connect to the UCD network 2. Use your University Account to Authenticate 3. Download the Correct Version of the VPN based on your home computer OS version.

  30. Accessing Terminal Services • Basic terminal access (if off campus turn on VPN first, if on campus don’t use VPN): • Connect to the load balancer csegrid.ucdenver.pvtvia ssh using the client of your choice (This will forward you to one of the six blades based on a round-robin algorithm)