| [371] | 1 | This document is a how-to for installing a Fedora scripts.mit.edu server. | 
|---|
| [181] | 2 |  | 
|---|
| [387] | 3 | * Check out the scripts.mit.edu svn repository. | 
|---|
|  | 4 |  | 
|---|
|  | 5 | * cd to server/fedora in the svn repository. | 
|---|
|  | 6 |  | 
|---|
|  | 7 | * Run "make install-deps" to install various prereqs. | 
|---|
|  | 8 |  | 
|---|
|  | 9 | * Use the Makefile to build the scripts.mit.edu-specific Fedora | 
|---|
|  | 10 | packages. | 
|---|
|  | 11 |  | 
|---|
| [562] | 12 | * Run "make suexec" and "make suexec-install" to overwrite | 
|---|
|  | 13 | /usr/sbin/suexec with one that works. The one installed by the | 
|---|
|  | 14 | newly-built Apache RPM is misconfigured. | 
|---|
|  | 15 |  | 
|---|
| [387] | 16 | * Install the full list of RPMs that users expect to be on the | 
|---|
|  | 17 | scripts.mit.edu servers.  See server/doc/rpm and | 
|---|
| [562] | 18 | server/doc/rpm_snapshot.  (Note that this is only a snapshot, and not | 
|---|
|  | 19 | all packages may in fact be in use.) | 
|---|
| [387] | 20 |  | 
|---|
|  | 21 | * Install the full list of perl modules that users expect to be on the | 
|---|
|  | 22 | scripts.mit.edu servers.  See server/doc/perl and | 
|---|
|  | 23 | server/doc/perl_snapshot. | 
|---|
|  | 24 |  | 
|---|
|  | 25 | * Install rails (versions 1.1.6 and 1.2.2). | 
|---|
|  | 26 |  | 
|---|
|  | 27 | * Install the credentials (machine keytab, daemon.scripts keytab, SSL | 
|---|
|  | 28 | certs). | 
|---|
|  | 29 |  | 
|---|
| [562] | 30 | * Attempt to check out server/fedora/config/etc into /etc. This involves | 
|---|
|  | 31 | individually renaming directories out of the way, copying over any | 
|---|
|  | 32 | configuration files from SVN (and the .svn directory), and moving the | 
|---|
|  | 33 | original directory back. | 
|---|
| [387] | 34 |  | 
|---|
| [562] | 35 | - Configure Apache. | 
|---|
|  | 36 |  | 
|---|
|  | 37 | - Try not to misconfigure PAM or SSH in the process. | 
|---|
|  | 38 |  | 
|---|
|  | 39 | - If you are setting up a test server, pay attention to | 
|---|
|  | 40 | /etc/sysconfig/network-scripts and do not bind scripts' IP address. | 
|---|
|  | 41 | You will also need to modify /etc/ldap.conf and | 
|---|
|  | 42 | /etc/httpd/conf.d/vhost_ldap.conf to use scripts.mit.edu instead of | 
|---|
|  | 43 | localhost. | 
|---|
|  | 44 |  | 
|---|
|  | 45 | * (Optional) Beat your head against a wall. | 
|---|
|  | 46 |  | 
|---|
| [387] | 47 | * I recommend setting noatime for the root filesystem in /etc/fstab. | 
|---|
|  | 48 |  | 
|---|
|  | 49 | * Possibly perform other steps that I've neglected to put in this | 
|---|
|  | 50 | document. | 
|---|