Accessing the Lab - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Accessing the Lab

Description:

Creates secure (SSH) command line session between your machine ... Use http://localhost:8000/~myacct/myfile.html. Use http://localhost:8000/~myacct/myscript.cgi ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 13
Provided by: tonyw2
Category:

less

Transcript and Presenter's Notes

Title: Accessing the Lab


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 sigma108000
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/my
    acct
  • Directory must have rwx--x--x permissions
  • Create course_html in home directory
  • Contains cgi scripts http//www.scs.carleton.ca/m
    yacct/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//localhost8000/myacct/myfile.html
  • Use http//localhost8000/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
Write a Comment
User Comments (0)
About PowerShow.com