Download presentation
Presentation is loading. Please wait.
Published byArnold Morgan Modified over 9 years ago
1
Accessing the Lab
2
Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling
3
SCS Network
4
Configuring Putty apex.scs.carleton.ca Click ssh
5
Tunnels Put: 8000 Put: sigma10:8000
6
Authentication Should be at the top
7
Saving Session Type in name, Press “Save”
8
Launching Putty Click on saved session and press “Load”, then press “Open”
9
Putty Login You should now see the screen below:
10
Directories Home directory –Directory must have: rwx--x--x permissions Create public_html in home directory –Contains html files http://www.scs.carleton.ca/~myaccthttp://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 http://www.scs.carleton.ca/~myacct/any.cgi –Directory must have: rwx--x--x permissions Can check permissions using: –ls –la. –ls –la *
11
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
12
Accessing Content Outside SCS environment: –Use http://localhost:8000/~myacct/myfile.htmlhttp://localhost:8000/~myacct/myfile.html –Use http://localhost:8000/~myacct/myscript.cgihttp://localhost:8000/~myacct/myscript.cgi –Files should be in course_html directory Inside SCS environment –Use http://www.scs.carleton.ca/~myacct/myfile.htmlhttp://www.scs.carleton.ca/~myacct/myfile.html –Files should be in public_html directory
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.