Hi guys... I have succesfully created a custom cd installer of RH9 (1 cd
only).. Now Im creating a kickstart script with post install on it & it
seems the commands I use is not working... here is my ks.cfg ... btw is it
possible to create a bash script that will auto-install all the APPS I want
to install?

thanks


#System  language
lang en_US
#Language modules to install
langsupport  --default=en_US
#System keyboard
keyboard us
#System mouse
mouse generic3ps/2
#Sytem timezone
timezone Asia/Manila
#Root password
rootpw --iscrypted $1$XT.UQP98$5RaFoHusIMdSb2B0tCoel.
#Reboot after installation
reboot
#Install Red Hat Linux instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all
#Disk partitioning information
part / --fstype ext3 --size 1 --grow
part swap --size 1024
#System authorization infomation
auth  --useshadow  --enablemd5
#Network information
network --bootproto=static --ip=192.168.1.55 --netmask=255.255.0.0 --gateway
=192.168.1.1 --nameserver=192.168.1.2 --device=eth0
#Firewall configuration
firewall --disabled
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
@ Core
@ Base
@ Development Tools
@ Web Server
%post --nochroot
/bin/cp -R /mnt/source/SITE.tar /mnt/sysimage/tmp
cd /mnt/sysimage/
/bin/tar -xf /mnt/sysimage/tmp/SITE.tar
/bin/cp -R /mnt/source/SITE /mnt/sysimage
/bin/rpm -Uvh /mnt/sysimage/SITE/MySQL*
/bin/rpm -Uvh /mnt/sysimage/SITE/php-*
/bin/cp -R /mnt/sysimage/SITE/html/* /mnt/sysimage/var/www/html/

--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to