<div dir="ltr">Rough cut on an install script. usage install_drupal user pass domain dbpass dbname<br>The intent is to install drupal in user space such that <a href="http://domain/">http://domain/</a> brings up Drupal's install screen.<br>
<br>This would allow users to design their website and prepare it for uploading to a public server.<br><br>To do that<br>1) add the user<br>2) build the skeleton at /home/user<br>3) download and install drupal 6.4 from <a href="http://drupal.org">drupal.org</a><br>
4) prep the drupal install tree<br>5) fix ownership and permissions<br>6) create the mysql user and database<br>7) create the apache virtual config file and enable<br>8) create the bind9 zone and add to named.conf.local<br>
9) add domain to /etc/hosts file<br>10 reload bind9 and apache2<br><br>Some obvious improvements<br>1) error check the parameters<br>2) test existence before creating users, apache config files, bind files, hosts modifications<br>
3) error checking and recovery<br><br>This could lead to an ubuntu package<br><br>I'd appreciate wisdom and advice.<br><br><br clear="all"><br>-- <br><a href="http://ls.net">http://ls.net</a><br><a href="http://drupal.ls.net">http://drupal.ls.net</a><br>

</div>