Web Pages - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Web Pages

Description:

Setting Permissions on Directories and Files. The chmod command is used to ... With the directory and permissions established, web page files may now moved ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 13
Provided by: scie248
Learn more at: http://www.cs.uwyo.edu
Category:
Tags: directories | pages | web

less

Transcript and Presenter's Notes

Title: Web Pages


1
Web Pages
  • Publishing your page on ASUWlink

2
Unix Directory Commands
  • ls la
  • will show all directories and files
  • will show directory and file permissions
  • mkdir directoryname
  • use to make a directory
  • do not put spaces in your directory names
  • cd directoryname
  • changes to the directory specified by the
    directory name

3
Types of File and Directory Access in Unix
  • Unix supports three types of file access
  • read
  • designated by the letter r
  • write
  • designated by the letter w
  • execute
  • designated by the letter x

4
Access Classes in Unix
  • User access (u)
  • Access granted to owner of the file
  • Group access (g)
  • Access granted to members of the same group as
    the group owner of the file
  • Other access (o)
  • Access granted to all other normal users

5
Setting Permissions on Directories and Files
  • The chmod command is used to specify the
    permissions on files and directories
  • chmod type_of_access file_or_directory_name
  • examples
  • chmod ox public_html
  • chmod or index.html

6
Ws-FTP
  • Allows you to transfer files to your ASUWlink
    account
  • Install Ws-FTP by going to the Start menu and
    choosing Programs, Install Ws-FTP
  • Once installed, click on the Ws-FTP icon on your
    desktop to run the program

7
Setting up a Profile in Ws-FTP
  • Profile Name asuwlink
  • Host Name asuwlink.uwyo.edu
  • Host Type Sun Solaris
  • User Id Your username
  • Password Your asuwlink password
  • Uncheck the Anonymous Login checkbox
  • Check the Save Password and Auto Save Config
    checkboxes

8
Steps
  • Log into your ASUWLINK account
  • Set execute permissions for others on your home
    directory ( designates the home directory)
  • chmod ox
  • make a directory called public_html
  • mkdir public_html
  • set execute permissions for others on the
    public_html directory
  • chmod ox public_html

9
Steps Continued
  • With the directory and permissions established,
    web page files may now moved from your UWstudent
    Windows NT account to your ASUWlink account
  • use Ws_ftp to transfer all the files needed for
    your web page into the public_html directory
  • index.html
  • any graphics files
  • any files that have links to them from your web
    page

10
Steps Continued
  • After the files are transferred, get back into
    your ASUWlink account
  • In your ASUWlink account, use the cd command to
    move into the public_html directory
  • cd public_html
  • give all files in your public_html directory read
    permission
  • chmod or filename

11
Accessing Your Web Page
  • Once all the permissions on the files are set,
    you can access your web page with the following
    URL
  • http//w3.uwyo.edu/your_username

12
More HTML Reference Pages
  • http//www.htmlgoodies.com
  • http//www.euhsd.k12.ca.us/sphs/internetprogrammin
    g/index.html
Write a Comment
User Comments (0)
About PowerShow.com