Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab 1 introduction, debrief

Similar presentations


Presentation on theme: "Lab 1 introduction, debrief"— Presentation transcript:

1 Lab 1 introduction, debrief
Information Systems 337 Prof. Harry Plantinga Lab 1 introduction, debrief

2 Lab 1: Linux, Apache We’ll use Linux for this course First lab
Set up your Linux environment Learn some Linux commands Configure apache Publish a first Web page

3

4 Virtual Machines Each student gets a VM from dreamhost Access via ssh
E.g. job4.calvincs.com aka vm-is cs.calvin.edu aka Access via ssh Not in the cs.calvin.edu domain? Connect through cs-ssh.calvin.edu Set up public/private key pair Eventually, you’ll publish your site to a web host

5 Ubuntu Linux Basic commands: ssh job4@job4.calvincs.com
ls, cd, pwd, mkdir mv, rm chown

6 Ubuntu Linux In Ubuntu Linux how would I…
Log in to my computer remotely? List the files in my home directory? Create a new directory? Edit a file, e.g. create a web page? List the contents of a file? Move, rename, or delete a file? Make a file world readable? Execute a command with root permissions? Find the IP address of my machine? Get help on a Linux command? Install a software package? Determine what processes are running?

7 Linux file permissions
Permissions for read, write, and ‘eXecute’ User, group, world permissions chmod chown

8 Problems… If you mis-configure a file, your system can stop running
If you forget what you did, you may have to start over from the beginning of the semester… What to do?

9 git git is a source control system – git init git add * git commit
Make snapshots of your files Keep old versions Branches Reconcile branches git init git add * git commit

10 Apache What does apache2 do, exactly? Where can I get apache2?
In apache2, how would I Start and stop the server? Specify what files it will serve? Specify the default character set? Enable or disable modules? View the access or error logs?

11 Lab 1 debrief Questions about the lab? Why abc123@abc123.calvincs.com?
What if your web page doesn’t appear? How do you install an apache module? Any gaps on your linux handout? How to tell if your Web server is running? How to print info about the network?


Download ppt "Lab 1 introduction, debrief"

Similar presentations


Ads by Google