source: server/doc/install-howto @ 785

Last change on this file since 785 was 785, checked in by geofft, 14 years ago
all in all you're just another head in the wall
File size: 2.2 KB
Line 
1This document is a how-to for installing a Fedora scripts.mit.edu server.
2
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* Create a scripts-build account, and set up rpm to build in $HOME.
10  Or you can just use the default setup, which will generate packages
11  in /usr/src/redhat.
12
13* Use the Makefile to build the scripts.mit.edu-specific Fedora
14  packages.
15  - make download
16  - make setup
17  - make all
18  - openafs-devel is a build-dependency of accountadm, so you'll need to
19    install it by hand.
20  Then install all the packages as root.
21
22* Run "make suexec" and "make suexec-install" to overwrite
23  /usr/sbin/suexec with one that works. The one installed by the
24  newly-built Apache RPM is misconfigured.
25
26* Install the full list of RPMs that users expect to be on the
27  scripts.mit.edu servers.  See server/doc/rpm and
28  server/doc/rpm_snapshot.  (Note that this is only a snapshot, and not
29  all packages may in fact be in use.)
30
31* Install the full list of perl modules that users expect to be on the
32  scripts.mit.edu servers.  See server/doc/perl and
33  server/doc/perl_snapshot.
34
35* Install rails (versions 1.1.6 and 1.2.2).
36
37* Install the Python eggs and Ruby gems that are on the other scripts.mit.edu
38  servers and do not have RPMs.
39
40* Install the credentials (machine keytab, daemon.scripts keytab, SSL
41  certs).
42
43* Attempt to check out server/fedora/config/etc into /etc. This involves
44  individually renaming directories out of the way, copying over any
45  configuration files from SVN (and the .svn directory), and moving the
46  original directory back.
47
48  - Configure Apache.
49
50  - Try not to misconfigure PAM or SSH in the process.
51
52  - If you are setting up a test server, pay attention to
53  /etc/sysconfig/network-scripts and do not bind scripts' IP address.
54  You will also need to modify /etc/ldap.conf and
55  /etc/httpd/conf.d/vhost_ldap.conf to use scripts.mit.edu instead of
56  localhost.
57
58* Install fedora-ds-base and set up replication (see /mit/scripts/doc).
59
60* (Optional) Beat your head against a wall.
61
62* I recommend setting noatime for the root filesystem in /etc/fstab.
63
64* Possibly perform other steps that I've neglected to put in this
65  document.
Note: See TracBrowser for help on using the repository browser.