|Installing WeBWorK on a Red Hat Linux 9.0 System||topic started 7/24/2003; 3:33:01 PM
last post 7/24/2003; 3:33:01 PM
|Arnold K. Pizer - Installing WeBWorK on a Red Hat Linux 9.0 System
7/24/2003; 3:33:01 PM (reads: 2114, responses: 0)
Installing WeBWorK on a Red Hat Linux 9.0 System
This document details the setup and configuration of Red Hat 9.0 for use with WeBWorK. Use it along with the Installing WeBWorK on a Linux System document. The information in this document may also be useful when installing WeBWorK on other linux or unix variants. Before beginning the installation, you should also consult the Red Hat 9.0 Installation Guide at http://www.redhat.com/docs/.
Within this document, commands given by root will be prefixed with "#" while commands given by a normal user will be prefixed with ">".
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: Install the gd graphics library
To install version 2.0.15 goto http://www.boutell.com/gd and download the tar.gz archive for version 2.0.15. As a normal user run the following commands:
> tar -xzf gd-2.0.15.tar.gz
Then, as root, install it.
# make install
Step 5: Install the required Perl Modules
Before we begin, as root run
# unset LANGsince otherwise the installation of
# perl -MCPAN -e shell
During the installation of GD select JPEG but not FreeType or XPM support. Otherwise accept all defaults.
Step 6: 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 7: Install dvipng
First connect to John Jones's site
where you will likely find up to date instructions for installing dvipng. At the time I'm writing this
(July 2003), version 0.4 of
Then install them by running the following commands:
> tar -xzf preview-latex-0.7.8.tar.gz
That creates all of the
# mkdir /usr/share/texmf/tex/latex/preview
Now we install
> tar -xzf dvipng-0.3.tar.gz
Then as root:
# make install