Perl Assignment #13:  Process Management

 

CS 447/647

Spring, 2012

 

 

Due: 5/1/12

 

Read chapter 16 of Learning Perl.  Do exercises 2 and 4.

                      

Submit assign13.txt and handson13.txt via Web Campus.

 

Hands-On Exercise

 

Mythical Man Month – Fred Brooks

  You’ll want to read this if you ever manage a software project

  Plan to throw one away – Example Tacoma Narrows Bridge Collapse

  Adding people to a late project makes it later

  Doubling the number of people on a project does not get it done twice as fast

 

Create a PHP script to add new entries to your database:

                                         

sudo bash

cd /var/www 

 

Create info.php with this line: <? phpinfo(); ?>

 

Connect to localhost/info.php from a browser to verify PHP works

 

wgetnv http://www.cse.unr.edu/~dahl/add.txt

wgetnv http://www.cse.unr.edu/~dahl/insert.txt

mv add.txt add.html

mv insert.txt insert.php

 

Change MyPasswd in insert.php to your password.

Connect to localhost/add.html and add this ASIN: 0201835959

 

Rerun the create pages perl script.

Open http://localhost/0201835959.html in a browser.

 

Create a password protected webpage:

To access the page: User: bob  Password: test

http://www.cse.unr.edu/~dahl/secret3/

 

[Hands-on continues on the other side]


 

 

Add meta tags to one of your web pages:

http://www.chami.com/Tips/internet/012297I.html

See Safari for more info on Search Engine Optimization (SEO)

 

Add your URL to Google:

http://www.google.com/addurl/

 

script handson13.txt

cd /var/www

head -100 info.php secret/.htaccess 0201835959.html

exit