s is a "cheat sheet" for accessing files in the REUlab for Spring, 2008. Instructions for accessing files locally and remotely will be combined. All instructions will assume command-line only access. A short section at the end will address using the graphical user interface (GUI) when sitting in the lab. These instructions only address how to "get to" the files in question. Your professor can help you with what types of programs can then be used to create or edit the files, depending on if you are using the command line or the GUI. COMMAND LINE ACCESS 0. If you are not in the lab, you will need to connect to the machine beltrami.math.uiuc.edu using a program that supports the ssh protocol. When doing this, you would use the same login name and password as you do when logging in at the lab. If you are in the lab, you just open a terminal window. a) If you have a macintosh or linux-type machine at home, you can do this by opening up a terminal window, and typing "ssh beltrami.math.uiuc.edu -l MyActiveDirectoryUserName". b) If you are using a Windows machine, you will need to obtain a program for opening SSH connections. A good one is called "PuTTY", and is available at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. After you start putty, put in "beltrami.math.uiuc.edu" as the host, and connect. If it asks if you trust the remote host, click on Yes (it should only do this the first time). It will then ask for the login name you wish to use, and then the password. c) If you are in the lab, start a terminal session (it should be an application in the dock that looks like a black computer screen with a small ">_" prompt ). If you are using a local machine you do NOT have to remotely log in to beltrami. Just use the machine you are on. 1. There are two file shares. One is for project working files, and the other is for web pages. The differences between them are: a) The project working files are accessible only to the people in your class, or possibly only the instructor. The only way to access them is to log into one of the lab machines first. b) The web pages are publicly readable to anyone logged in to the machine. In addition, they are available to be read by a public web server. 2. Both file shares become visible on the machine only when accessed. Because of quirks in this file sharing method, it is safest to make sure that the files are visible before trying to access them. The easiest way to do this is (from the command line): a) For the project working files directory, type "ls /net/dent". b) For the web pages directory, type "ls /net/file2". All this does is do a directory listing of that location. But it also has the side effect of forcing the machine to "mount" the files, so that they will be visible for subsequent operations. The above step is optional - most of the time it is not necessary. But occasionally it is, and when you run across those cases, the error messages you get will be confusing. It is safest to just force them to be visible before doing anything else. 3. To access your project working files directory, type (at the command line): cd /net/dent/Volumes/mirror/netgroups/illimath/Users A subdirectory has been created for your use here. 4. To access your web pages directory, type (at the command line): cd /net/file2/home/reulab/web This is where your web pages will be located. Your professor will tell you how to organize your files (probably using a subdirectory of this location for your project files). 5. To look at your web pages using a browser, you would access them using the base URL http://cheer.math.uiuc.edu/reulab/web, with anything under that URL being names of files starting at the /net/file2/home/reulab/web directory (yes this is confusing, there is an example up next). For example, assume that you have created a subdirectory (for a fictitious user) called smith123, and put a file called mypage.html in that directory. The full pathname of this file on the Macintosh would be: /net/file2/home/reulab/web/smith123/mypage.html To then view this file using a web browser, you would use the URL: http://cheer.math.uiuc.edu/reulab/web/smith123/mypage.html GRAPHICAL (FINDER) ACCESS 0. This method is ONLY available when sitting at the local machine, logged in using the graphical login window. You cannot do this remotely. 1. Make sure you are in the finder. Look at the first menu item at the top left of the screen (after the apple logo). It should say "Finder". If it says anything else, then click on the first icon in the Dock to switch to the Finder. 2. Under the "Go" menu, choose the option "Go to Folder...". 3. In the dialog box that comes up, type one of two things (depending on which directory you want): a) To get to the shared project files directory, type "/net/dent". b) To get to the web pages directory, type "/net/file2". 4. This will then open up these directories in the finder. You will need to navigate to the correct location using the mouse. a) For shared project files, double click on Volumes, then mirror, then netgroups, then illimath, then Users. b) For web pages, double click on home, then reulab, then web.