IronBits
11-08-2003, 01:53 PM
Step #1 Perform a full install of Red Hat Shrike - release 9
Select custom for the type and at the bottom of the install screen in the MISC section - select the box marked "EVERYTHING". and continue. This takes a while....
Step 2 - download LTSP stuff - http://ltsp.org and downloaded the following:
ltsp_core-3.0.9-0.i386.rpm
ltsp_kernel-3.0.10-0.i386.rpm
ltsp_local_apps-3.0.0-0.i386.rpm
pxestuff-3.0.5-i386.tgz
ltsp_initrd_kit-3.0.9-i386.tgz
ltspcfg from the 4.0 section. PERL script to setup an LTSP system "easier".
Download ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux - syslinux-2.05.tar.gz
Step 3 - Install LTSP packages
As root, open a terminal window. Navigate to where the downloaded files were placed. Install the downloaded files by entering
rpm -ivh ltsp_core-3.0.9-0.i386.rpm
rpm -ivh ltsp_kernel-3.0.10-0.i386.rpm
rpm -ivh ltsp_local_apps-3.0.0-0.i386.rpm
tar zxvf pxestuff-3.0.5-i386.tgz
1. cp bzImage* /tftpboot/lts
2. cp init* /tftpboot/lts
3. cp pxelinux.0 /tftpboot/lts
4. mkdir /tftpboot/lts/pxelinux.cfg
5. cp pxelinux.cfg/default /tftpboot/lts/pxelinux.cfg
tar zxvf syslinux-2.05.tar.gz
cp pxelinux.0 /tftpboot/lts
then do
cd /opt/ltsp/templates
./ltsp_initialize (Just choose to apply the changes.)
File locations you need to edit
/opt/ltsp/i386/etc/lts.conf -- controls client access
/etc/dhcpd.conf -- controls clients and MAC addresses
Commands you need to know
/etc/rc.d/init.d/portmap restart
/etc/rc.d/init.d/named restart
/etc/rc.d/init.d/xinetd restart
/etc/rc.d/init.d/dhcpd restart
/etc/rc.d/init.d/nfs restart
1.) Find out where the terminfo directory is on your system (probably /usr/share)
2.) make the same directory under /opt/ltsp/i386/ if yours was in /usr/share, then do: mkdir /opt/ltsp/i386/usr/share/terminfo
3.) now copy all the contents of the one from your system over to the clients directory:
cp -R /usr/share/terminfo /opt/ltsp/i386/usr/share
# Add Default Route
pr_set 87 "Adding Default Route"
echo "adding default route"
route add -net 127.0.0.0 netmask 255.0.0.0 lo
route add 0.0.0.0 gw 192.168.2.6 eth0
to add workstations just use vi and edit these two files
/etc/dhcpd.conf and
/opt/ltsp/i386/etc/lts.conf
/etc/rc.d/init.d/dhcpd restart
These tips, suggestions and help all contributed by the following folks
PCZ, rsbriggs and Dyyryath
I have followed the above and can replicate this on Mandrake 9.1 with no problems.
More to follow...
Select custom for the type and at the bottom of the install screen in the MISC section - select the box marked "EVERYTHING". and continue. This takes a while....
Step 2 - download LTSP stuff - http://ltsp.org and downloaded the following:
ltsp_core-3.0.9-0.i386.rpm
ltsp_kernel-3.0.10-0.i386.rpm
ltsp_local_apps-3.0.0-0.i386.rpm
pxestuff-3.0.5-i386.tgz
ltsp_initrd_kit-3.0.9-i386.tgz
ltspcfg from the 4.0 section. PERL script to setup an LTSP system "easier".
Download ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux - syslinux-2.05.tar.gz
Step 3 - Install LTSP packages
As root, open a terminal window. Navigate to where the downloaded files were placed. Install the downloaded files by entering
rpm -ivh ltsp_core-3.0.9-0.i386.rpm
rpm -ivh ltsp_kernel-3.0.10-0.i386.rpm
rpm -ivh ltsp_local_apps-3.0.0-0.i386.rpm
tar zxvf pxestuff-3.0.5-i386.tgz
1. cp bzImage* /tftpboot/lts
2. cp init* /tftpboot/lts
3. cp pxelinux.0 /tftpboot/lts
4. mkdir /tftpboot/lts/pxelinux.cfg
5. cp pxelinux.cfg/default /tftpboot/lts/pxelinux.cfg
tar zxvf syslinux-2.05.tar.gz
cp pxelinux.0 /tftpboot/lts
then do
cd /opt/ltsp/templates
./ltsp_initialize (Just choose to apply the changes.)
File locations you need to edit
/opt/ltsp/i386/etc/lts.conf -- controls client access
/etc/dhcpd.conf -- controls clients and MAC addresses
Commands you need to know
/etc/rc.d/init.d/portmap restart
/etc/rc.d/init.d/named restart
/etc/rc.d/init.d/xinetd restart
/etc/rc.d/init.d/dhcpd restart
/etc/rc.d/init.d/nfs restart
1.) Find out where the terminfo directory is on your system (probably /usr/share)
2.) make the same directory under /opt/ltsp/i386/ if yours was in /usr/share, then do: mkdir /opt/ltsp/i386/usr/share/terminfo
3.) now copy all the contents of the one from your system over to the clients directory:
cp -R /usr/share/terminfo /opt/ltsp/i386/usr/share
# Add Default Route
pr_set 87 "Adding Default Route"
echo "adding default route"
route add -net 127.0.0.0 netmask 255.0.0.0 lo
route add 0.0.0.0 gw 192.168.2.6 eth0
to add workstations just use vi and edit these two files
/etc/dhcpd.conf and
/opt/ltsp/i386/etc/lts.conf
/etc/rc.d/init.d/dhcpd restart
These tips, suggestions and help all contributed by the following folks
PCZ, rsbriggs and Dyyryath
I have followed the above and can replicate this on Mandrake 9.1 with no problems.
More to follow...