this is obsolete doc -- see instead

Redhat 6.2 installation and configuration 

Please note this guide is about the legacy Red Hat Linux, not RHEL 6.2 ! 





You might encounter this error during the the installation, 

Exception Occurred:
Traceback (innermost last):
File "/usr/bin/anaconda.real", line 342, in ?
     intfirun (todo.test = test)

that's because Redhat 6.2 doesn't support the Pentium 4 and recent AMD (here Phenom II) processors, even as vmware server 1.x or XEN-HVM guest. So either install the guest on a CPU that won't crash it (works e.g. with Intel Core 2 Duo) or prepare an alternate ISO image, 

mkdir zoot-i386/
mount -o loop zoot-i386.iso zoot-i386/
cp -R zoot-i386/ zoot-rpmrcfix/
cd zoot-rpmrcfix/
cd RedHat/instimage/usr/lib/rpm/
mv rpmrc rpmrc.dist
sed 's/i786/i?86/g' rpmrc.dist > rpmrc
ls -l rpmrc*
cd ../../../../../
mkisofs -J -r -b images/boot.img -o ../zoot-rpmrcfix.iso .
cd ../
umount zoot-i386/
rmdir zoot-i386/

Note. in that case you'll have to add --ignorearch arfterwards 

Note. in that case you could also use bootnet.img and proceed with an NFS installation 

Note. there's also a vmware appliance by torrent ( 




To install with text mode, enter this at the CDrom bootloader prompt, 



fr-latin-1 (unless you're using an XEN-HVM and accessing the console through VNC in which cas you should use 'us' even for non english keyboards)
Install custom system
/dev/sda - edit
  n p 1 (default) +100M (/boot)
  (toggle bootable flag on)
  n p 2 (default) +1024M (swap)
  t 2 82
  n p 3 (default) +7000M (/)
  n p 4 (default) (default)
then diskdruid permits you to define the mount points
uncheck lilo configuration > use linear mode (linear sector addresses instead of sector/head/cylinder addresses, not recommended for large disks)
hostname :
hardware clock is set to UTC
skip the user creation step (just check OK while the fields are empty)
package group selection: uncheck everything (oracle required packages will be installed later)



First, we need a remote shell, so install rlogin, 

cd /mnt/
mount cdrom/
cd cdrom/Redhat/RPMS/
rpm -ivh \
inetd... \
tcp_wrappers... \
rsh-0... \

enable the inet daemon, 

cd /etc/
ln -s rc.d/init.d
init.d/inet start

create some user to connect through telnet (root is always denied), 

useradd -m USERNAME


Connect through rlogin (e.g. with PuTTY) as user and switch to root, 

su -


Install a few other packages (wu-ftpd, iputils, screen) and unmount the cdrom, 

cd /mnt/cdrom/RedHat/RPMS/
rpm -ivh \
wu-ftpd-2.6.0-3.i386.rpm \
perl-5.00503-10.i386.rpm \
tcsh-6.09-4.i386.rpm \
iputils-20000121-2.i386.rpm \
screen-3.9.5-4.i386.rpm \
portmap-4.0-19.i386.rpm \
nfs-utils-0.1.6-2.i386.rpm \
traceroute-1.4a5-18.i386.rpm \
ncftp-3.0beta21-4.i386.rpm \
ftp-0.16-3.i386.rpm \
fwhois-1.00-12.i386.rpm \
unzip-5.40-2.i386.rpm \
lynx-2.8.3-2.i386.rpm \
indexhtml-6.2-1.noarch.rpm \


Disable the other undeeded daemons, 

cd /etc/
mv inetd.conf inetd.conf.dist
sed '/^#/d; /^$/d' inetd.conf.dist > inetd.conf
vi inetd.conf

change like (remove the other lines), 

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a
login   stream  tcp     nowait  root    /usr/sbin/tcpd  in.rlogind

note. rlogin for remote logins is needed 

note. rsh for remote program execution isn't needed here 

and apply, 

rc.d/init.d/inet restart


Optimization and configuration 

Eventually proceed with your usual system configurations. Here's an example. 


Configure syslog, 

cd /etc/
mv syslog.conf syslog.conf.dist
cat > syslog.conf <<EOF9
*.* -/var/log/messages
grep 503 /etc/group
echo 'wheel:x:503:oracle' >> /etc/group
chown root:wheel /var/log/messages
chmod 640 /var/log/messages
/etc/rc.d/init.d/syslog restart
sleep 1; logger check
tail /var/log/messages


Configure your environment, 

cd /etc/
vi bashrc


export PATH


short=`hostname -s`
[ $USER = root ] && PS1='$short# ' || PS1='$short> '


alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
alias ll='ls -alkF'


source bashrc


Finish up the network configuration, 

cd /etc
vi hosts

e.g.,               localhost.localdomain localhost
YOUR_IP  oracle8i
GW_IP  gw


Configure GNU screen, 

cd /etc/
mv screenrc screenrc.dist
vi screenrc


startup_message off
caption always
bindkey ^[, prev
bindkey ^[; next


cd ~/
mv .screenrc .screenrc.dist
vi .screenrc

like e.g., 

screen -t log 0 tail -n 50 -f /var/log/messages




Make a file index, 



Eventually install the 6.2 updates, 

#rpm -Uvh */*.rpm


Additional notes 

If you need to enable a full X11 environment (not just a client, but a full server), this might help, 

rpm -ivh \
wmconfig... \
fvwm2... \
fvwm2-icons... \
audiofile... \
esound... \
gnome-libs... \
gtk+... \
gnome-audio... \
ORBit... \
imlib... \
libjpeg-6b... \
libpng... \
libtiff... \
libgr-progs... \
libungif... \