Live CD
1 Download.
We suggest you use wget on unix or mget on windoz to download the
Live CD. From the command line enter (with wget)
wget http://webwork2.ms.uky.edu/webwork.4.0.1.iso
After downloading the CD, burn it to disk. On unix use
cdrecord -eject dev=/dev/hdc webwork.4.0.1.iso
replacing hdc with the correct device name of your cd burner. You
should also check the md5 sum of your download against the md5 sum
below.
f2f292eadc4fadda824d5b66b22f9428
2 Using the Live CD
- Insert the Knoppix cd and reboot your computer. Be sure the bios is
set to boot first from cd.
- The window manager is Fluxbox. You can bring up a menu by right clicking
anywhere on the desktop.
- Open the WebWork quickstart guide at the top of the menu. Now open
an Xterm in a second window. I suggest you resize the windows so that
you can read the quickstart guide as you enter commands in the Xterm.
(Drag the lower right corner of the window to resize.)
- Enter the following commands in Xterm. The # below indicates a comment.
- su #change to system user status
- cd /UNIONFS #change directories to the root of the Knoppix directory
- ln -s demo_opt opt #make a symbolic link to the demo_opt directory
- cd /var/lib # change directories to the dirctory containing the mysql
demo files
- ln -s demo_sql mysql # make a symbolic link to the demo sql files
- /etc/init.d/mysql start #start the sql server. Note - I suggest this
method of starting sql rather than using mysql &
- apachectl start # start the Apache web server.
- Now open a second workspace (desktop) from the menu . You can switch
to the second workspace by using the scroll wheel on the mouse or
clicking on the arrows on the menu bar at the bottom of the screen.
- On the second workspace, open Firefox and go to http://localhost/webwork2
- If you want to access your new server from other machines, enter the
command ifconfig in the terminal window. You should see the URL of
your machine in the displayed information. Usually something like
"init addr:128.163.129.214"
From a second machine you would reach your server by entering
http://128.163.129.214/webwork2 where the 128.*** is replaced
with the URL of your machine discovered using ifconfig.
File translated from
TEX
by
TTM,
version 3.72.
On 8 Aug 2006, 15:43.