Changeset 861


Ignore:
Timestamp:
Nov 1, 2008, 8:48:34 PM (14 years ago)
Author:
xavid
Message:
Documentation impovements.
Location:
server/doc
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • server/doc/install-howto

    r832 r861  
    11This document is a how-to for installing a Fedora scripts.mit.edu server.
     2
     3Helper files for the install are located in server/fedora/config.
     4
     5* Start with a normal install of Fedora 9.
     6
     7* Edit /etc/selinux/config so it has SELINUX=disabled.
    28
    39* Check out the scripts.mit.edu svn repository. Configure svn not to cache
     
    612* cd to server/fedora in the svn repository.
    713
    8 * Run "make install-deps" to install various prereqs.
     14* Run "make install-deps" to install various prereqs.  Nonstandard
     15  deps are in /mit/scripts/rpm.
    916
    10 * Create a scripts-build account, and set up rpm to build in $HOME.
    11   If you just use the default setup, it will generate packages
    12   in /usr/src/redhat.
     17* Create a scripts-build user account, and set up rpm to build in
     18  $HOME by doing a
     19  cp config/home/scripts-build/.rpmmacros /home/scripts-build/
     20  (If you just use the default setup, it will generate packages
     21  in /usr/src/redhat.)
     22
     23* su scripts-build -
     24
     25* Make sure that server/fedora (where you currently are) is writable
     26  by user scripts-build.
    1327
    1428* Use the Makefile to build the scripts.mit.edu-specific Fedora
     
    1933  - make all
    2034  - openafs-devel is a build-dependency of accountadm, so you'll need to
    21     install it by hand when that fails.
    22   Then install all the packages as root.
     35    install the openafs-devel package you just built by hand when that fails.
     36
     37* Then install the packages you just built as root:
     38   - yum localinstall --nogpgcheck accountadm-0.00-0.x86_64.rpm \
     39       execsys-0.00-0.x86_64.rpm httpd* \
     40       kmod-openafs-1.4.7-1.1.2.6.25_14.fc9.x86_64.rpm \
     41       krb5-{debuginfo,devel,libs,pki,workstation-1}* \
     42       logview-0.00-0.x86_64.rpm mit-zephyr-2.1-6-linux.x86_64.rpm \
     43       mod_ssl-2.2.8-3.x86_64.rpm nss_nonlocal-* \
     44       openafs-1.4.7-1.1.1.x86_64.rpm \
     45       openafs-{authlibs,client,debuginfo,devel,docs,krb5}* openssh* \
     46       sql-signup-0.00-0.x86_64.rpm tokensys-0.00-0.x86_64.rpm \
     47       whoisd-0.00-0.x86_64.rpm
    2348
    2449* Rebuild mit-zephyr on a 32-bit machine, like the one at Joe's home.
    2550
    26 * Run "make suexec" and "make suexec-install" to overwrite
     51* Run "make suexec" and "make install-suexec" to overwrite
    2752  /usr/sbin/suexec with one that works. The one installed by the
    2853  newly-built Apache RPM is misconfigured.
    2954
     55* Install and configure bind
     56  - env NSS_NONLOCAL_IGNORE=1 yum install bind
     57  - chkconfig named on
     58  - service named start
     59
    3060* Check out the scripts /etc configuration, which is done most easily by
    31   - svn co https://scripts.mit.edu:1111/server/fedora/config/etc
    32   - \cp -a etc /
     61  $ svn co svn://scripts.mit.edu/server/fedora/config/etc
     62  # \cp -a etc /
    3363
    34 * Copy over root's dotfiles.
     64* Copy over root's dotfiles from one of the other machines.
     65
     66* Replace rsyslog with syslog-ng by doing:
     67  # rpm -e --nodeps rsyslog
     68  # yum install syslog-ng
    3569
    3670* Install various dependencies of the scripts system, including syslog-ng,
    3771  glibc-devel.i386, python-twisted-core, mod_fcgid, nrpe, nagios-plugins-all.
    3872
    39 * Disable SELinux and NetworkManager.
     73* Disable NetworkManager (with yum remove).
    4074
    41 * Figure out why Zephyr isn't working and why the openafs /usr/vice/etc <->
    42   /etc/openafs mapping isn't in sync.
     75* Fix the openafs /usr/vice/etc <-> /etc/openafs mapping by changing
     76   /usr/vice/etc/cacheinfo to contain:
     77        /afs:/usr/vice/cache:10000000
     78
     79* Figure out why Zephyr isn't working
    4380
    4481* Install the full list of RPMs that users expect to be on the
     
    78115  localhost.
    79116
    80 * Install fedora-ds-base and set up replication (see /mit/scripts/doc
    81   and /mit/geofft/Public/fedora-ds-enable-ssl-and-kerberos.diff).
     117* Install fedora-ds-base and set up replication (see ./HOWTO-SETUP-LDAP
     118    and ./fedora-ds-enable-ssl-and-kerberos.diff).
    82119
    83120* Install nslcd / nss-ldapd, which, unlike nss-ldap, doesn't crash every few
Note: See TracChangeset for help on using the changeset viewer.