--- e_plug <[EMAIL PROTECTED]> wrote:
> Hi guys... I have succesfully created a custom cd
> installer of RH9 (1 cd

congrats!

> 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 

mas madali yata kung kunin mo na lang source code ng
anaconda then modify mo to be able to insert commands
that you would require to be processed. python namn
language. kaysa kickstart...

> ... btw is it possible to create a bash script that
will
> auto-install all the APPS I want
> to install?

possible if you make the packages as "mandatory" in
the comps.xml file

> 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/

-- yung mga files na kinokopya mo dito nakalagay ba sa
stage2.img mo? kasi kung nasa cd lang to malamang
hindi ma-access ng kickstart... what you do is mount
stage2.img to a temporary directory, copy all the
files in there to a new directory, put all the
necessary files you need then mkcramfs it.


---------------
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when 
you do, it blows away your whole leg." 
      - Bjarne Stroustrup (from Good Quotations compiled by Dr. Gabriel Robins)
LAWRENCE SALMINGO
---------------

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
--
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.q-linux.com (#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