next up previous
Next: 2.6 After Installation Up: 2 Installation Previous: 2.4 Using the Installer

Subsections


2.5 Doing It By Hand

Really, the installer will almost always work. But, if it fails, or you're just inclined to do it by hand, then instructions follow. Note that these aren't quite as detailed as the installer instructions, since a greater degree of technical knowledge is assumed (no offense to anyone using the installer). By now, you should already have Apache, mod_perl, and MySQL installed. If not, see the instructions above.


2.5.1 Install Perl Modules

First, you'll need to be sure you've installed all the required Perl modules, as described in the Perl modules section 2.1.4. Generally, you'll want to use the Bundle::Scoop method from the CPAN shell.


2.5.2 Configure the Database

You need to know your username and password for mysql in order for you to do this. The user you use needs to be able to create a database. Switch to the ``scoop/struct/'' directory and start running commands:

$ mysqladmin -u<user> -p<pass> create <db name>
$ mysql -u<user> -p<pass> <db name> < scoop.sql
$ mysql -u<user> -p<pass> <db name>
mysql> UPDATE VARS SET VALUE=''/<path>'' WHERE NAME=''rootdir'';
(only run this query if you're doing a location-based install)
mysql> UPDATE VARS SET VALUE=''<your email address>'' WHERE NAME=''local_email'';
mysql> quit


2.5.3 Configuring Apache

Now you need to open up one of the example httpd.conf files and either edit it in place, or copy its contents to your httpd.conf. First, though, you need to choose between a location-based install or a virtual host install, as outlined at the beginning of ``Configuring Apache'' (2.4.3). Once you've chosen, open the appropriate file with your favorite editor (they're located in the ``scoop/etc/'' directory). Then work your way through each option, changing it to the appropriate values. What each does is described in the ``Configuring Apache'' section.

If you've been copying it into your httpd.conf, then just restart Apache. Otherwise, you need to open your httpd.conf and add line such as ``Include /path/to/scoop/etc/httpd-<type>.conf'', then restart Apache.


next up previous
Next: 2.6 After Installation Up: 2 Installation Previous: 2.4 Using the Installer