|Installing WeBWorK on Redhat Linux 8.0||topic started 10/16/2002; 5:40:08 AM
last post 10/16/2002; 5:40:08 AM
|Arnold K. Pizer - Installing WeBWorK on Redhat Linux 8.0
10/16/2002; 5:40:08 AM (reads: 12257, responses: 0)
Installing WeBWorK on a Red Hat Linux 8.0 System
This document details the setup and configuration of Red Hat 8.0 for use with WeBWorK. Use it along with the Installing WeBWorK on a Linux System document. Before beginning the installation, you should also consult the Red Hat 8.0 Installation Guide at http://www.redhat.com/docs/.
Step 1: During the Red Hat installation
While installing Red Hat Linux, there are several options that are important to WeBWorK. These are listed below with recommended settings.
Install Type: This affects which packages we will need to install later. We recommend "Server".
Firewall Configuration: If you choose to install a firewall, keep in mind that WeBWorK requires incoming HTTP connections, and you may benefit from allowing other types of inconming connections (such as telnet, SSH, FTP, or SCP) for professors. SSH and SCP servers are installed by default on the "Server System" install type, so opening those ports in your firewall configuration will enable those services.
Account Configuration: Make sure you create at least one user account, in addition to the root account. You can use this user account as the "regular user account" in the setup of WeBWorK.
Package Group Selection: This option is only shown if you choose the "Server System" install type. Here are our recommended selections:
Also select any other packages you want to install at this time (e.g. your favorite editor if it wasn't listed in the "Editors" package). When RedHat checks for dependencies, accept the default of installing additional packages to resolve all dependencies (if any).
Step 2: system configuration
You can use RedHat's system configuration tools to replace several of the command-line operations in the Installing WeBWorK on a Linux System document. To access these tools, click Main Menu and then System or Server Settings (you will be asked for the root password). In the Red Hat User Manager, under Preferences, uncheck "Filter system users and groups" so you can see all users, e.g. apache.
Step 3: Starting apache
Apache is now started, and will start whenever the computer is rebooted. To
verify that apache is working, open Mozilla and open
Step 4: Read Installing WeBWorK on a Linux System
At this point, begin reading the Installing WeBWorK on a Linux System document. Keep the following in mind:
Step 5: Install CGI.pmCGI.pm is a core module and is supposed to be contained in a stardard perl installation but it is not part of Red Hat's perl. To install it simply add CGI to the list of modules CPAN installs:
# perl -MCPAN -e shell
Step 6: Install GD.pmFirst if you missed installing
# cd /usr/lib
Now we are ready to install the GD module. Currently (Fall 2002) if you use CPAN to install GD, it will install the 2.01 version of GD.pm which requires the beta 2.0.1 version of gd. Unfortunately there is a known bug in gd 2.0.1 which prevents it from drawing horizontal dashed lines. We recommend using gd 1.8.4 and GD 1.33. gd 1.8.4 is on your system. For GD, go to http://stein.cshl.org/WWW/software/GD/.
As a normal user, download the tar/gzip archive for version 1.33 (or 1.29) and untar it:
> tar -xzf GD.pm.tar.gzthen cd to the
my @INC = qw(-I/usr/local/include -I/usr/local/include/gd);by
my @INC = qw(-I/usr/local/include -I/usr/include -I/usr/local/include/gd);
Now run the commands:
> perl Makefile.PL (select JPEG but not FreeType or XPM support for WeBWorK))
Then, as root, install it.
# make installNote that we suggest you do not run
Step 7: Install dvipngFirst download
# tar -xzf for-dvipng.tar.gz