1 / 44

Computer Resources at Pitt and Introduction to the the Pitt Main Frame Computer

Computer Resources at Pitt and Introduction to the the Pitt Main Frame Computer. Class Objectives. Raise student awareness of computing resources available at the University of Pittsburgh Students will access their Unix account Student will create a web page on their Unix

avani
Download Presentation

Computer Resources at Pitt and Introduction to the the Pitt Main Frame Computer

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Resources at Pitt and Introduction to the the Pitt Main Frame Computer

  2. Class Objectives • Raise student awareness of computing resources available at the University of Pittsburgh • Students will access their Unix account • Student will create a web page on their Unix account that contains 2 links and one image file • Students will learn how to move files with FTP

  3. Computer Labs at Pitt • Falk Library • Benedum Hall • Cathedral of Learning • David Lawrence • Posvar Hall • Hillman Library • Sutherland Hall • Alumni Hall

  4. Software Licensing at Pitt More info at http://technology.pitt.edu/software_hardware.html Adobe Acrobat Professional ($35) Microsoft Office ($0) ArcView ($10) MiniTab ($5) Clementine ($10) Norton Anti-Virus ($0) EndNote ($5) Oracle ($5) MathCad ($5) SAS ($10) Mathematica ($10) S-Plus ($10) MatLab ($10) SPSS ($10)

  5. CSSD Student Toolkit CD

  6. Computer Accounts Students, faculty and staff have access to the Pitt network, including: • an email account and • a unix account

  7. Computer Services • All Pitt faculty students and staff have access to the Pitt computer store. Go there first to buy Hardware and Software • Computer Store will help with configuration and installation

  8. Technology Help Desk The Technology Help Desk is staffed 24 hours per day, 7 days per week (closed holidays) and serves as a single point of contact for all information technology services. University of Pittsburgh students, faculty and staff can contact the Help Desk regarding any computer issue including e-mail, hardware, software, networking, ResNet, University Computer Accounts, computing labs, and other services. Help desk 624-4357

  9. What’s a Unix Account? • Most Universities run mainframe (huge) computers that use the unix operating system • If you’re a Pitt student you have a unix account • Pitt maintains this account for you, backs up the data, keeps it running 24 hours a day, 7 days week.

  10. UNIX Operating System • Stable • Used by Main Frame Computers • Allows many users to have separate accounts on the same machine • Used world wide for web servers

  11. UNIX Operating System • Maintained by University • Data backed up each night • Lots of free scientific software has been developed for Unix • Unix is the base for new OS’s for personal computers including Linux and Mac OSX

  12. Pitt Maintains Unix Mainframe Computers • Student and Faculty have Unix accounts by default • email address = username @ pitt.edu • mcs2 is my username • mcs2@pitt.edu is my email address • mcs2 is my UNIX username

  13. UNIX is a Command Line Environment • Not as easy to use, therefore less popular • But more powerful too!

  14. Why Should I Bother to Learn Unix? • Maybe you shouldn’t.... but • Almost all bioinformatics processes are run in a Unix environment • Lots of FREE software for DNA/protein sequence analysis is available on Unix • Sharing data/images with colleagues and friends

  15. How to Access your Unix Account • Log on via Telnet ( HSLS.. programs > Internet aps > Telnet shortcuts > unixs) • host = unixs.cis.pitt.edu • Enter username and password at prompt • ls command lists directories and files

  16. UNIX uses a Hierarchical File system • When you log on, you are in your home directory • You can always return to your home directory by typing cd(change directory) • You can go down the directory tree by typing cd <dirname> • You can go up one level with cd ..

  17. Directory Access • Your Home directory should have directories called public and private • File access is controlled at the directory level • Web pages must be in your public directory • Anyone can read the contents of your public directory

  18. Basic UNIX Commands • Basic commands are listed on a web page under Tutorial #1 • Everybody should log in to their accounts

  19. In-Class Exercise • Create directory needed to host web pages • Create your own web page • Address will be www.pitt.edu/~username

  20. How do you make and remove a directory? • The command for creating a new directory is mkdir <dirname> • To remove a directory, the command is rmdir <dirname> • A directory MUST be empty before it can be removed

  21. Create the ‘html’ Directory • Pitt allows web broswers to access web pages in your Unix account • Web pages must be inside a directory called ‘html’ that is located inside your ‘public’ directory

  22. Create the ‘html’ Directory • log on to you Unix account • go inside public cd public • create new directory called html mkdir html • go inside html cd html

  23. What’s a path? • The path to a directory is the listing of all directories in the hierarchy. • The path to file3 is dir1/dirB/file3 • Separator for directories is a forward slash /

  24. More on paths • The path to your html directory is public/html • The Unix OS keeps track of your ‘current working directory’ • You can always get the complete path by typing pwd (print working directory) • The abbreviation for the current directory is ./

  25. How do you create or edit a text file? • Unix provides several text editors • The easiest to use is ‘pico’ • To launch pico, type pico <file1> • If ‘file1’ already exists, you open it and can edit it. If file1 does not exist, pico creates it.

  26. Using PICO • Pico is a simple text editor • Typing text will enter it into the file • Use the arrow keys to move your cursor • pico commands are listed at the bottom and are invoked with the Cntl key (^X = Cntl X)

  27. Screen Shot of pico

  28. More Pico • To exit a file, type Cntl-X (^X) • If the file (buffer) was modified, you will be asked whether you want to save the changes. The answer is yes (y) or no (n) • You can save to a new name or OVERWRITE the existing name • Once a file is OVERWRITTEN on Unix, there is no UNDO ... caution

  29. More Pico: ^X

  30. More Pico: ^X

  31. What’s a Web Page? • Web pages are text files that are meant to be ‘rendered’ or formatted by a browser • Browsers use HTTP (hypertext transfer protocol) • Browsers read html files (hypertext markup language)

  32. HTML Basics • HTML uses tags • tags are enclosed in <brackets> (less than and greater than signs <>) • <b> = start bold text • </b> = stop bold text

  33. HTML Basics • <b>BOLD</b> • <i>italics</i> • <u>underline</u> • Headings: <H1>Biggest</H1> <H2> Big </H2> <H3>Not so Big</H3> .... etc <H6>

  34. A Very Basic Web Page <HTML> This is my web page! </HTML>

  35. Another Basic Web Page <HTML> <head> <title>Martin’s Page</title> </head> <H1>This is my web page!</H1> </HTML>

  36. Make your own page • Make sure you are inside your public/html directory • Edit your page text with pico • Save your page as welcome.html • View your page with a browser. The address will be www.pitt.edu/~username

  37. Add a link to your page • <a href=”http://www.pitt.edu”>Pitt Home page</a> • complete address (URL) = http://www.pitt.edu • Link on your page will say “Pitt Home page”

  38. Add an image to your page • <img> tag needs a source of the image, usually a .gif or .jpg file • here’s one from the Pitt web page <img src = ”http://technology.pitt.edu/images/pittb_01.gif”>

  39. How do you borrow (steal) from other sites? • View source !!

  40. Sample Web Pages • View sample web pages on your browsers • View source

  41. Complex Web Pages • You can create complex web pages using programs like Microsoft ‘FrontPage’ • You can create web pages with Microsoft Word using the save as web page command

  42. Make Your Own Web Page • Pitt allows you to host web pages in your unix account - free • Your home directory for web pages is inside your public/html directory • The web address for public/html is www.pitt.edu/~username • The name for this web page must be welcome.html

  43. Make Your Own Web Page • Go to your home directory cd • Go to public/html cd public/html • Create welcome.html pico welcome.html

  44. Add an Image to Your Web Page • Connect to your UNIX account using an FTP program • Transfer the image file as “Raw Data” • Add the image to your page with the <img src=“image.jpg”> tag

More Related