Student Setup
Basics
Unpack the exercises tar into your home directory.
DBI
- Install SQLite. (You can use MySQL as well, but it will take some extra steps to grant access and requires
root
access.) yum install perl-DBD-SQLite
- Load the
train.sql
by running sqlite3 train < train.sql
CGI
These instructions are aimed at RHEL or CentOS users.
- as your non-root login,
mkdir ~/public_html
- as root, edit
/etc/httpd/conf/httpd.conf
to make sure UserDir public_html
is uncommented. Also, the dozen lines from
to
should be uncommented. And AddHandler cgi-script .cgi
should be uncommented.
- as root,
service httpd restart
- as root,
yum install perl-Text-Template
- as your non-root login,
cd ; cp -R exercises/perlcgi/public_html/* public_html/
and chmod +x public_html/cgi-bin/*.cgi
- test by going to
http://
machine /~
user /cgi-bin/hello.cgi

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FiniWiki?
Send feedback