Changeset 1190


Ignore:
Timestamp:
Jun 12, 2009, 7:35:40 PM (12 years ago)
Author:
mitchb
Message:
Make the server install directions slightly more complete
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/doc/install-howto.sh

    r1178 r1190  
    138138# all packages may in fact be in use.)
    139139
     140# Check which packages are installed on your new server that are not
     141# in the snapshot, and remove ones that aren't needed for some reason
     142# on the new machine.  Otherwise, aside from bloat, you may end up
     143# with undesirable things for security, like sendmail.
     144
    140145# Install the full list of perl modules that users expect to be on the
    141146# scripts.mit.edu servers.
     
    149154# perldoc -u perllocal | grep head2 | cut -f 3 -d '<' | cut -f 1 -d '|' | sort -u | perl -ne 'chomp; print "notest install $_\n" if system("rpm -q --whatprovides \"perl($_)\" >/dev/null 2>/dev/null")' > /mit/scripts/config/perl-packages.txt
    150155# Then on the server you're installing,
    151     cat perl-packages.txt | perl -MCPAN -e shell
     156#    cat perl-packages.txt | perl -MCPAN -e shell
    152157
    153158# Install the Python eggs and Ruby gems and PEAR/PECL doohickeys that are on
     
    162167#   Yet again, 'yum search' for RPMs before resorting to 'pear install'.  Note
    163168#   that for things in the beta repo, you'll need 'pear install package-beta'.
     169# - Look at `pecl list` for PECL things.  'yum search', and if you must,
     170#   'pecl install' needed items.
    164171
    165172# echo 'import site, os.path; site.addsitedir(os.path.expanduser("~/lib/python2.6/site-packages"))' > /usr/lib/python2.6/site-packages/00scripts-home.pth
     173
     174# Build and install the scripts php module that enhances error logging info
     175# XXX This thing really ought to be packaged
     176# cp -r /srv/repository/server/common/oursrc/php_scripts /root
     177# cd /root/php_scripts
     178# ./build.sh
     179# cp test/modules/scripts.so /usr/lib64/php/modules
    166180
    167181# Install the credentials.  There are a lot of things to remember here:
Note: See TracChangeset for help on using the changeset viewer.