Value Added | daily

Class Schedule

Basics | sessions 01-03
  1. 19 Jan intro and clients | lecture | labs
  2. 26 Jan servers and command line | lecture | labs
  3. 02 Feb networks and protocols | lecture | labs
Web Development | sessions 04-08

  1. 09 Feb structural layer | lecture | labs
  2. 16 Feb presentational layer | lecture | labs
  3. 23 Feb using a structure | lecture | labs
  4. 02 Mar behavioral layer | lecture | labs
  5. 09 Mar design thoughts | lecture | labs
Dealing with Markup | sessions 09-10
  1. 16 Mar control objects and display | lecture | labs
  2. 23 Mar tools that read markup | lecture | labs
Working with data | sessions 11-14
  1. 30 Mar formulas, functions, vectors | lecture | labs
  2. 06 Apr data display | lecture | labs
  3. 13 Apr manipulate data sets | lecture | labs
  4. 20 Apr relational data bases | lecture | labs
Presentations | sessions 15-16
  1. 27 Apr designing a presentation | lecture | labs
  2. 04 May delivering a presentation | lecture | labs


Using a command line interface,
create a new directory
within your public_html space on Opal.

Task 01.04: Create a Directory

Remember our convention.

commandsargumentvalue

Use a terminal connection and command line instructions to create a password protected directory

Log on to your Opal account using a terminal connection program and enter a temporary shell session at the command prompt (it should be $ in Unix).

Change to your public_html directory.
cd public_html

Create a new subdirectory within public_html to password protect.
mkdir newdirectory

The new directory doesn't have to be named "newdirectory",
but you should get into the habit of using consistent and logical directory and file names.

back to top

If you wish to, you may password protect your directory

Be careful not to inadvertently password-protect your public_html directory.

Use
pwd
to see where you are.
If you are not in your new directory, use
cd name-of-new-directory
to go to it.

Once you are sure where you are, type
htdirpass.pl
and hit Enter. This will activate a script that automatically creates several files for you.

Verify that you are in the directory you want to protect and follow the instructions on the screen.

The program creates two files in the directory you are protecting:
.htaccess and .htpasswd

You won't see these files on a regular ls command, you must type ls -a.

Don't delete the files unless you want to remove the password protection.

back to top

If you wish everyone to know the name of your directory, post a comment on the forum the name of your password protected directory

If you wish to be more private, use one of the other contact options.

It will probably be something like ~YourOnyen/newdirectory

Although, clearly your directory name can be anything you want it to be (it doesn't have to be newdirectory)

Also, if you have password protected it, be sure to tell your lab instructor the userid and password they must use to access this directory. This will be the place you will store all future tasks.

back to top

Viewing Your Webspace

After you have uploaded your files and set the correct permissions, your webpage will be viewable at https://opal.ils.unc.edu/~onyen/ . This will take you to the index page (if there is one) in your public_html folder; you can also navigate directly to other pages or subfolders you've added, such as https://opal.ils.unc.edu/~onyen/my_directory/my_page.html

back to top