CLX archive - 1998: (Fwd) RedHat 5.1 Install

(Fwd) RedHat 5.1 Install


Fri, 4 Dec 1998 21:04:10 +0000


Hi guys,
Here is a great guide to setting up CLX under RedHat 5.1 from Iain Philipps
after a lot of hair loss! I hope it helps.
Ian

--- Forwarded mail from Iain Philipps <rjag@roskapostia.tunk.net>

Date: Sun, 08 Nov 1998 14:39:16 +0000
To: htxm@osogrande.com
From: Iain Philipps <xlulvqht.suzjivz@mx.dy.fi>
Subject: RedHat 5.1 Install
Cc: wppj@ets.org

Ian,

Thanks for your help working through the problems of installing on RedHat
5.1. As promised, here's a note of what I had to do:-

(note that for convenience, I keep things that I might install in
'/usr/packages', so this will vary from system to system).

IMPORTANT:
The RedHat distribution places it's libc.so.5 files in the following place:-
/usr/i486-linux-libc5/lib

and the 'updated' rpm pluts them in:-
/usr/i486-linuxlibc5/lib

Not very different, but different enough! So where you see those two
directories referenced below, it (probably :-) isn't a typo!

Here's the summary of what was necessary to (for my system) to perform a clx
4.02 install on RedHat 5.1:

1. Assume that RedHat 5.1 has been correctly installed, and
that a custom kernel has been built including all of the
required functions / modules.

2. Remove the default postgres installation. As 'root':
rpm -e --nodeps postgresql

3. Reboot the system:
sync
shutdown -r now

4. Remove the symbolic link in /lib which points at libc.so.5:
rm libc.so.5

5. Rename the 'distribution' libc5 to avoid confusion:-
cd /usr/i486-linux-libc5/lib
mv libc.so.5.3.12 unwanted.so.5.3.12

6. Install appropriate version of libc5. I have used an rpm that
I found at contrib.redhat.com 'libc5-5.4.38-3.i386.rpm':
rpm -Uvh /usr/packages/libc5-5.4.38-3.i386.rpm

7. Make a new symbolic link to the appropriate libc.so.5 in the
'/lib' directory. (The rpm I used puts the file in
'/usr/i486-linuxlibc5/lib/')
ln -s /usr/i486-linuxlibc5/lib/libc.so.5.4.38 libc.so.5

8. Make the following symbolic links in the '/lib' directory:
ln -s /usr/i486-linux-libc5/libg++.so.27 libg++.so.27
ln -s /usr/i486-linuxlibc5/libm.so.5.0.9 libm.so.5
ln -s /usr/i486-linux-libc5/libstc++.so.27.1.4 libstdc++.so.27

9. Edit ld.so.conf as described in clx.txt

10. Run ldconfig:-
ldconfig -v

11. Add the 'postgres' and 'clx_us' users with UID and GID as
specified in clx.txt. If using the 'adduser' utility, take
care to make sure that the home directories of these users
match those specified in clx.txt

12. Log in as 'root'. from the '/' directory:
tar xvfz /usr/packages/clx_400.tgz
tar xvfz /usr/packages/upd_402.tgz

13. Run 'updatedb'. (Probably not necessary, but definitely good
for the soul :-)

14. Log in as user 'postgres' and start the postmaster:-
postmaster -i &

15. Log in as clx_us and run the check:-
cd ~/tools
./check

That *should* do it!

Cheers - Iain

---End of forwarded mail from Iain Philipps <mvrqhew.kkukexcihj@alles-elektro.de>

-- 

Ian Maude G0VGS Morecambe Lancs UK | NTSnet : g0vgs@gb7mbb.#16.GBR.EU INTERnet: cvoj@mozcom.com | AMPRnet: aeao.ykmmx@myeastern.com terhi.victor@logonet.com | WWW=http://www.lurpac.lancs.ac.uk/g0vgs/ Sysop of GB7MBC, the Morecambe Bay Cluster, running Linux and CLX