Difference between revisions of "Module 1"

From CSE330 Wiki
Jump to: navigation, search
(Grading)
(Grading)
Line 56: Line 56:
 
<span style="font-size:2em; line-height:2em;">'''Due Date: Sept 10th 2012 by 1 PM'''</span>
 
<span style="font-size:2em; line-height:2em;">'''Due Date: Sept 10th 2012 by 1 PM'''</span>
  
Make sure to read the Web Server wiki for specific instructions:  [[Web Server Configuration]]
+
Make sure to read the Web Server wiki for more specific instructions on tasks 3 and 4:  [[Web Server Configuration]]
  
 
You will be asked to do the following:
 
You will be asked to do the following:

Revision as of 14:48, 4 September 2012

In Module 1, you will learn about Linux System Administration, and you will set up a web server on Amazon Web Services.

This article contains your assignments for Module 1.

Assignments

Learn About Linux

Linux is an open-source operating system based on UNIX. Linux is highly versatile and is used in a wide range of applications.

If you are not a Linux guru, read the Linux guide to get started: Linux

Create an AWS EC2 Instance

Once you understand Linux, you need to set up your Amazon EC2 Instance. Use the AWS article to guide you through the process: Amazon Web Services

Add your Own User Account

On your EC2 instance, set up your own personal account.

For information on how to add a user account, see the Linux guide: Linux#User Management

You need to do the following things once you've created your account:

  1. Add your account to the Sudoers list. Instructions are in the Linux guide.
  2. Allow your user to log in via SSH. Instructions are in the Web Server Configuration guide: Web Server Configuration

From now on, you should log into your EC2 instance using only your own username and not the default username that Amazon gives you (ec2-user or ubuntu).

Set the Timezone

Set your server to use US Central time. Instructions are in the Linux guide: Linux#Synchronizing Date and Time

Set Up the Apache Web Server

You need to install the Apache web server on your EC2 instance. Instructions are in the Web Server Configuration guide: Web Server Configuration#Apache

In order for your web server to be accessible, you need to open up Port 80 on your EC2 instance. Instructions are in the AWS guide: Amazon Web Services#Enabling Web Access to your EC2 Instance

Enable the UserDir module in Apache. Instructions are in the Web Server Configuration guide: Web Server Configuration#Enabling the UserDir Module

Remap the UserDir module to .html Instructions are also in the Web Server Configuration guide in the same section as above.

Set Up Subversion

You need to set up subversion on your EC2 instance as well as your desktop.

This semester's Subversion repository is: https://shell.cec.wustl.edu:8443/cse330_fl12/svn/Lastname-studentid

  • Replace Lastname with your last name (capitalize the first letter in the last name) and studentid with your student ID
  • Do not forget the underscore between cse330 and fl12 (NOT A SPACE)

Instructions for configuring Subversion are in the Web Server Configuration guide: Web Server Configuration#Subversion

Grading

Due Date: Sept 10th 2012 by 1 PM

Make sure to read the Web Server wiki for more specific instructions on tasks 3 and 4: Web Server Configuration

You will be asked to do the following:

  1. Connect to your ec2 instance
  2. Display the current time on your ec2 instance
  3. Show the test file at http://ec2-xxx-xx-xx-xxx.compute-1.amazonaws.com/~yourUserName/hello.txt (note that ~yourUserName cannot be ec2-user!)
  4. Show the test helloFromThe___.txt files connected to your subversion repository. You will be asked to make and commit changes in front of the TA.
Assignment Points
Creating your VM 1
Working SSH 1
Working user account 1
Working NTP (correct time zone) 1
Remap userdir 1
Apache Setup 1
SVN setup on Amazon Instance 1
SVN setup on Eclipse 1