120 likes | 219 Views
Accessing the Lab. Putty. Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling. SCS Network. Configuring Putty. apex.scs.carleton.ca. Click ssh. Tunnels. Put: 8000. Put: sigma10:8000. Authentication.
E N D
Putty • Available via links on course page • Creates secure (SSH) command line session between your machine and SCS network • Uses tunnelling
Configuring Putty apex.scs.carleton.ca Click ssh
Tunnels Put: 8000 Put: sigma10:8000
Authentication Should be at the top
Saving Session Type in name, Press “Save”
Launching Putty Click on saved session and press “Load”, then press “Open”
You should now see the screen below: Putty Login
Directories • Home directory • Directory must have: rwx--x--x permissions • Create public_html in home directory • Contains html files http://www.scs.carleton.ca/~myacct • Directory must have: rwx--x--x permissions • Create course_html in home directory • Contains cgi scripts http://www.scs.carleton.ca/~myacct/any.cgi • Directory must have: rwx--x--x permissions • Can check permissions using: • ls –la . • ls –la *
Setting permissions • Use chmod command: • chmod 0711 public_html • chmod 0711 course_html • chmod 0711 . (home directory) • Need read access for html files: • chmod 0644 hello.html • Need execute permission for cgi scripts: • chmod 755 myscript.cgi
Accessing Content • Outside SCS environment: • Use http://localhost:8000/~myacct/myfile.html • Use http://localhost:8000/~myacct/myscript.cgi • Files should be in course_html directory • Inside SCS environment • Use http://www.scs.carleton.ca/~myacct/myfile.html • Files should be in public_html directory