Wednesday, August 30, 2006

Remote installation of RHES4 64bit

Remote installation of RHES4.2 64bit -

If that server is already having redhat version installed –

1. Copy kernel and initrd image in /boot directory (In my senario I already made RHES4u2.tar.gz gz file using /remoteinstall/Redhat4update2/images/pxeboot/* on my file server , you can use 1st CD of RHES4update2 top copy the kernel and initrd image) - This is my file server

scp username@
tar -xvzf RHES4.u2.tar.gz
cp pxeboot/* /boot/

2. Edit the /etc/grub.conf file. Go onto next line of splash image.
title rhes4
root (hd0,0)
kernel /vmlinuz vnc vncconnect= headless ip= netmask= gateway= dns= ks=
initrd /initrd.img

Save the file and reboot the machine.

3. Now start you vncviewer into listen mode.
(Make following changes
1.Replace ip with your desktop’s ip
2. Replace with to the IP of the machine which you are installing.)

My kick start configuration file looks like this -
# Kickstart file automatically generated by anaconda.

nfs --server= --dir=/big2/Redhat/RHES4.u2_64
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
rootpw --iscrypted $1$1zTBqKn5$lnZ052YwM6uILBON/khw0.
firewall --disabled
selinux --enforcing
authconfig --enableshadow --enablemd5
timezone --utc Asia/Calcutta
bootloader --location=mbr --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100
part /usr --fstype ext3 --size=15000
part / --fstype ext3 --size=5000
part /opt --fstype ext3 --size=2000
part /var --fstype ext3 --size=2000
part /tmp --fstype ext3 --size=2000
part swap --size=2000

@ compat-arch-development
@ admin-tools
@ system-tools
@ dialup
@ compat-arch-support
@ legacy-software-development
@ base-x
@ development-tools


Hope this will help somebody :)

1 comment:

Anonymous said...

Can anyone recommend the robust Remote Management & Monitoring system for a small IT service company like mine? Does anyone use or How do they compare to these guys I found recently: N-able N-central asset management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!