3 BASEDIR
:=$(shell dab basedir
)
7 dab task mysql
--password random
8 dab
install apache2-mpm-prefork
10 # install all packages needed for drupal6
11 dab
install php5-mysql wwwconfig-common dbconfig-common curl libjs-jquery
12 # unpack drupal6 (configuration is done at first start)
14 # set php ini settings recommended by Drupal
15 sed
-e
's/^\s*display_errors\s*=\s*On/display_errors = Off/' -i
${BASEDIR}/etc
/php5
/apache2
/php.ini
16 sed
-e
's/^\s*magic_quotes_gpc\s*=\s*On/magic_quotes_gpc = Off/' -i
${BASEDIR}/etc
/php5
/apache2
/php.ini
17 install -m
0644 drupal.conf
${BASEDIR}/etc
/drupal
/6/apache2.conf
18 install -m
755 drupal_setup
${BASEDIR}/etc
/init.d
/
19 dab exec ln
-s
/etc
/drupal
/6/apache2.conf
/etc
/apache2
/conf.d
/drupal6.conf
20 dab exec insserv drupal_setup
21 dab exec a2enmod rewrite
22 dab exec a2dissite default
25 info/init_ok
: dab.conf