[1345] in SIPB_Linux_Development
Linux 2.0 and RedHat 3.0.3
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Thu Jul 25 02:59:01 1996
Date: Thu, 25 Jul 1996 02:58:19 -0400
To: linux-dev@MIT.EDU
From: Salvatore Valente <svalente@MIT.EDU>
I installed RedHat 3.0.3 on Cutter-John, upgraded to Linux 2.0, and
installed Linux Athena from the i386_linux2 system packs. I've kept a
log of what I did (so that it can hopefully be automated)... This is
pretty much all old news, but here it is anyway.
1. Install RedHat 3.0.3. Configure the base system, such as the
network, X11, lilo, etc.
2. Install Linux 2.0 RPMs. These are not on small-gods, so I copied
them to a floppy.
3. Patch the kernel up to 2.0.7. (The RPM contained Linux 2.0.0 source.)
4. Build and install a new kernel.
5. Copy the Linux-Athena AFS package to a floppy. Install AFS.
Run "sh /etc/rc.d/rc.afs"
6. ln -s /afs/sipb/system/i386_linux2/srvd.77.2 /srvd
7. Copy the base system from the system packs to the local disk:
cp -r /srvd/bin/athena /bin
cp -r /srvd/etc/athena /etc
chmod 4755 /bin/athena/attach
RedHat creates a directory called /var/named, which seems better than
/etc/namedb, so I did:
cp /srvd/etc/namedb/* /var/named
And edited /etc/named.boot appropriately.
8. Some files in the AFS package were stored in /usr/athena. Replace all
of /usr/athena with the system packs:
rm -rf /usr/athena && ln -s /srvd/usr/athena /usr/athena
9. Install the Athena rc files from athena-rc.tgz.
Customize /etc/athena/rc.conf.
Make /etc/rc.d/rc.local run /etc/athena/rc.athena.
10. Append services to /etc/services and /etc/inetd.conf.
Change runlevel 5 in /etc/inittab.
Add /usr/athena/lib to /etc/ld.so.conf.
11. Replace /etc/sendmail.cf with the Athena sendmail.cf.
Then, change /usr/spool/mqueue to /var/spool/mqueue and
/usr/lib/aliases to /etc/aliases. Run "newaliases".
12. RedHat runs sendmail but doesn't run named when it boots.
To fix both of these problems (at runlevel 5):
cd /etc/rc.d/rc5.d
rm S80sendmail
ln -s ../init.d/named S55named
13. Reboot to make sure everything worked.
Problems:
1. Some programs in the system packs need to be setuid root.
2. Most lockers don't have i386_linux2 yet.
Have a nice day.
-Sal.
P.S. Cutter still boots to Slackware with 1.2.13 by default.