Creating and Publishing Web Pages on students.depaul.edu: FTP, Telnet, and Unix Commands, Slides of Fundamentals of E-Commerce

Instructions for creating directories and moving files using ftp and unix commands to publish web pages on students.depaul.edu. It covers creating a new directory, moving files, using telnet to change permissions, and essential unix commands.

Typology: Slides

2012/2013

Uploaded on 07/29/2013

sheil_34
sheil_34 🇮🇳

4.4

(14)

129 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
An additional requirement
All pages you will publish for this course must
be located in a subdirectory of public_html
called ect250.
You will NOT receive credit for your homework
if they are not located in public_html/ect250.
You must create the ect250 subdirectory since it
will certainly not exist.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Creating and Publishing Web Pages on students.depaul.edu: FTP, Telnet, and Unix Commands and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

An additional requirement

All pages you will publish for this course mustbe located in a subdirectory of public_htmlcalled ect250.You will NOT receive credit for your homeworkif they are not located in public_html/ect250.You must create the ect250 subdirectory since itwill certainly not exist.

Creating directories with FTP

To create a directory on students.depaul.eduusing FTP with the browser interface:1. Select File2. Select New3. Select Folder4. Click on the folder and give it the name

you wish it to have. Alternatively you can use the new folder icon(or a similar button) in any GUI interface forFTP.

The next step: Telnet

Once you can moved your Web pages into youraccount, you now need to ensure that they arevisible to a Web browser.This involves using Telnet to log into the studentsmachine and changing the access permissions onthe files and directories.Note: Some FTP programs allow you to changepermissions using the GUI interface. We will useTelnet (and Unix commands) instead.

Some Unix commands

  • Move to a child directory:

cd directory_name

  • Move up to a parent directory:

cd ..

  • List files/directories in the current directory:

ls

  • List files/directories with permissions:

ls –l

  • Copy a file:

cp old_file new_file

  • Create a new directory:

mkdir directory_name

  • Remove a file:

rm file_name

  • Remove a directory:

rmdir directory_name

-^ Rename (move) a file:

mv old_name new_name

  • Help on a Unix command:

man commandname

The steps for publishing^ 1. Create the Web page(s) using FrontPage2. FTP the page(s) over to students.depaul.edu

placing them in public_html/ect

  1. Telnet into your account and change the

permissions for all necessary files anddirectories. (To move from directory todirectory use the

cd

command).

This will include public_html, ect250,and all files transferred in Step 2.

Warning about homework!

You must make sure that the permissions on yourdirectories and files are set correctly before yousubmit your web assignments.If your pages are not viewable you will simplyreceive a zero on the assignment.Helpful hint: Try to view your pages before yousubmit the assignment to make sure it works!

Moving through directories

The important commands:• Move to a child directory:

cd directory_name

  • Move up to a parent directory:

cd ..

  • List files/directories in the current directory:

ls

  • List files/directories with permissions:

ls –l

Examples: Move up and down the directorystructure in public_html.

Changing permissions

The important commands:• File access permissions:

chmod 644 file_name

  • Directory access:

chmod 755 directory_name

Example: Change the permissions on the files inthe public_html directory.