Installation of an Apache httpd server with FAI

Rudy Gevaert Rudy.Gevaert at UGent.be
Fri Nov 9 15:48:06 CET 2007


Torsten Schlabach wrote:
> Dear list!
> 
> I'd be interesting in sharing experiences with installing an Apache 
> httpd server (with some modules, SSL, ...) using FAI.
> 
> Obviously, it's easy to define a class and select the Debian packages to 
> be installed, including whatever worker, PHP and other modules one wants 
> to install.
> 
> But due to the way Apache httpd is packaged in Debian, this does not 
> make a full functional webserver for most people. In most cases, one has 
> to enable a couple of (Apache) modules. I don't mean modules that come 
> in separate .deb archives (such as libapache2-mod-php5 for example) but 
> those which are packaged as part of apache2.2-common (such as ssl, ldap) 
> which need to be enabled through a2enmod.
> 
> When building a SSL enabled server, there are even some more steps needed.
> 
> If course, I can write a script which basically does step after step and 
> run it from FAI. But I wonder if I am missing some maybe more 
> sophisticated mechanisms.

I'm making primarily use of (.e.g.)

fcopy -B -r /etc/apache2
$ROOTCMD a2enmod rewrite
$ROOTCMD a2enmod ssl
$ROOTCMD a2dissite 000-default
$ROOTCMD a2ensite dokeos
$ROOTCMD a2ensite dokeos_ssl



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