1 / 11

Lab 1 introduction, debrief

Lab 1 introduction, debrief. Information Systems 337 Prof. Harry Plantinga. 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. Virtual Machines.

morelandm
Download Presentation

Lab 1 introduction, debrief

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  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. Virtual Machines • Each student gets a VM from dreamhost • E.g. job4.calvincs.com • aka vm-is337-04.cs.calvin.edu • aka 153.106.116.174 • 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

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

  5. 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?

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

  7. 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?

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

  9. 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?

  10. 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?

More Related