Changeset 1382 for trunk/server
- Timestamp:
- Dec 19, 2009, 12:38:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/doc/install-howto.sh
r1381 r1382 32 32 # sshd, udev-post, and nothing else. 33 33 echo "--disabled" > /etc/sysconfig/system-config-firewall 34 for i in NetworkManager avahi-daemon bluetooth cups isdn nfslock pcscd restorecond rpcbind rpcgssd rpcidmapd sendmail; do34 for i in NetworkManager avahi-daemon bluetooth cups isdn nfslock nfs pcscd restorecond rpcbind rpcgssd rpcidmapd sendmail; do 35 35 chkconfig "$i" off 36 36 done … … 160 160 # /afs:/usr/vice/cache:10000000 161 161 # Also fix ThisCell to contain athena.mit.edu in both directories 162 # WARNING: if you're installing a test server, this needs to be much 163 # smaller; the max filesize on XVM is 10GB. Pick something like 164 # 500000 162 165 echo "/afs:/usr/vice/cache:10000000" > /usr/vice/etc/cacheinfo 163 166 # ezyang: ThisCell on b-k and c-w don't have anything special 164 167 # written here 168 # If you're making a test server, some of the AFS parameters are 169 # kind of retarded (and if you're low on disk space, will actually 170 # exhaust our inodes). 171 # Edit the parameters in /etc/sysconfig/openafs 165 172 166 173 # Figure out why Zephyr isn't working. Most recently, it was because there … … 194 201 # scripts.mit.edu servers. 195 202 196 # ezyang: Running the below I got file conflicts. To fix (since I had197 # botched steps above), I manually compared package lists and installed198 # them. If you've done the krb5 setup originally correctly, then199 # write down what you had to do here.200 yumdownloader krb5-devel201 rpm -i --force krb5-devel-*.i586.rpm202 rpm -U --force krb5-devel-*.scripts.1138.x86_64.rpm203 yumdownloader krb5-server204 rpm -i --force krb5-server-*.scripts.1138.x86_64.rpm205 206 207 203 # on another server, run: 208 204 rpm -qa --queryformat "%{Name}.%{Arch}\n" | sort > packages.txt … … 221 217 # as the only diff 222 218 # ezyang: I got exim installed as another package 219 # here's a cute script that removes all extra packages 220 diff -u packages.txt newpackages.txt | grep '+' | cut -c2- | grep -v "@" | grep -v "++" | xargs yum erase -y 223 221 224 222 # Check out the scripts /usr/vice/etc configuration … … 271 269 # (you might get complaints about the php_scripts module; ignore them) 272 270 # - Look at `pecl list` for PECL things. 'yum search', and if you must, 273 # 'pecl install' needed items. 271 # 'pecl install' needed items. (as of 2009-12-18 there are no extra pecl things) 274 272 # Automating this... will require a lot of batonning between 275 273 # the servers. Probably best way to do it is to write an actual … … 354 352 cd /etc 355 353 svn status | grep M 356 # ezyang: I had to revert krb5.conf, nsswitch.conf and sysconfig/openafs 354 # ezyang: I had to revert krb5.conf (not with latest), nsswitch.conf and sysconfig/openafs 355 356 # ThisCell got clobbered, replace it with athena.mit.edu 357 echo "athena.mit.edu" > /usr/vice/etc/ThisCell 357 358 358 359 # Reboot the machine to restore a consistent state, in case you … … 368 369 # Possibly perform other steps that I've neglected to put in this 369 370 # document. 370 # o In the first install of not-backward, ThisCell got clobbered, resulting371 # in trying to get tickets from openafs.org. Not sure when it got372 # clobbered -- ezyang373 371 # o For some reason, syslog-ng wasn't turning on automatically, so we weren't 374 372 # getting spew … … 377 375 # o /etc/sysconfig/network 378 376 # o your lvm thingies; probably don't need to edit 377 378 # More stuff for test servers 379 # - You need a self-signed SSL cert. Generate with: 380 openssl req -new -x509 -keyout /etc/pki/tls/private/scripts.key -out /etc/pki/tls/certs/scripts.cert -nodes 381 # Also make /etc/pki/tls/certs/ca.pem match up 382 # - Make (/etc/aliases) root mail go to /dev/null, so we don't spam people 383 # - Edit /etc/httpd/conf.d/scripts-vhost-names.conf to have scripts-fX-test.xvm.mit.edu 384 # be an accepted vhost name 385 # - Look at the old test server and see what config changes are floating around
Note: See TracChangeset
for help on using the changeset viewer.