Installation of an Apache httpd server with FAI
Rudy Gevaert
Rudy.Gevaert at UGent.be
Fri Nov 9 17:02:35 CET 2007
Torsten Schlabach wrote:
> Rudy,
>
> > Because it's need to be run inside the chroot *(/tmp/target) and
> > $ROOTCMD is an alias for "chroot /tmp/target". At least I have always
> > thought so :)
>
> I was under the impression that my scripts will run in a chrooted
> environment anyway. Will check that.
>
> I just note that at least there seem to be major differences between a
> "normal" installation and a softupdate. (I am doing softupdates right now.)
>
> While doing a softupdate, you're not in a chroot environment, so
> $ROOTCMD and no $ROOTCMD might be the same.
(yes it is)
>
> Also I found I should use
>
> $ROOTCMD apache2ctl restart
>
> at the end of the script, which again is not needed during a "normal"
> install as the box will reboot anyway after the installation.
I'm not using softupdate, yet (tm). However some scripts are ready to do:
if [ $FAI_ACTION == "install" ]
then
foo
fi
bar
>
> These things might be the counterpart of
>
> http://www.informatik.uni-koeln.de/fai/fai-guide/ch-advanced.html#s-confsoftupdate
I'll have a look at that.
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert Rudy.Gevaert at UGent.be tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen Systems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the linux-fai
mailing list