[285] in NetBSD-Development
NetBSD installation script
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Tue Dec 20 22:20:54 1994
From: ghudson@MIT.EDU
Date: Tue, 20 Dec 94 22:20:32 -0500
To: netbsd-dev@MIT.EDU
I have written an automatic installation script for the NetBSD-Athena
stuff. It resides in /afs/sipb/project/netbsd/dev/athena-install,
along with the subdirectory "dist.i386" containing the support files
which will go in installkits/i386_nbsd1/dist.tar.Z.
I envision this being similar to the MIT SunOS install. Users would
install NetBSD and XFree86, get ahold of the installation script
(probably via ftp to sipb.mit.edu), and it will:
* ftp dist.tar.Z from sipb.mit.edu
* Set up /etc/athena and symlinks for /bin/athena and /usr/athena
* Set up AFS stuff in /usr/vice
* Add a call to /etc/athena/rc.athena in /etc/rc.local
* Add Athena services to /etc/services
* Add Athena services to /etc/inetd.conf
* Replace /etc/sendmail.cf with an Athena version
* When we have an Athena /bin/login, offer to install it
* Offer to disable logins by non-local uers
* Offer to automatically start X and xlogin.
* Give instructions about getting an /etc/krb-srvtab.
I've done all of that, although currently I just sort of assume that
they want a 25MB AFS cache, which might be bad for people who are
tight on disk space. One nice feature of my script is that it's
idempotent; if you run it twice (or if you ^C it partway through), it
should notice all the steps that have been done and not repeat them.
The script is also safe about modifying system configuration files,
leaving backups around.
I don't think this script should replace careful documentation about
what's necessary to turn a NetBSD machine into an Athena workstation;
I think it should supplement such documentation by providing a way of
performing the necessary changes in a way that isn't error-prone.
At any rate, before we make the script available and advertise it, I
would like to test it on a freshly-installed NetBSD system. This will
probably be glacier, as soon as I get ahold of a supported SCSI
adapter (my Christmas present).
I made the following changes to lola-granola to be consistent with
this script:
* Changed the comments in /etc/services and /etc/inetd.conf
* Moved Athena startup stuff in /etc/athena/rc.athena