drupal 6.x install script

Jim Tarvid tarvid at ls.net
Sat Sep 13 17:07:16 UTC 2008


Actually looking for comments and advice on the attached script.

On Sat, Sep 13, 2008 at 12:48 PM, Charliej <cjsmo at cableone.net> wrote:

> On Sat, 2008-09-13 at 10:24 -0400, Jim Tarvid wrote:
> > Rough cut on an install script. usage install_drupal user pass domain
> > dbpass dbname
> > The intent is to install drupal in user space such that http://domain/
> > brings up Drupal's install screen.
> >
> > This would allow users to design their website and prepare it for
> > uploading to a public server.
> >
> > To do that
> > 1) add the user
> > 2) build the skeleton at /home/user
> > 3) download and install drupal 6.4 from drupal.org
> > 4) prep the drupal install tree
> > 5) fix ownership and permissions
> > 6) create the mysql user and database
> > 7) create the apache virtual config file and enable
> Not sure if this is what your looking for but gallery2 would be a good
> *example* package to look at for 1-7 and 10(apache2), debconf and
> wwwconfig-common are your friends. Not sure about the rest.=)
> > 8) create the bind9 zone and add to named.conf.local
> > 9) add domain to /etc/hosts file
> > 10 reload bind9 and apache2
> >
> > Some obvious improvements
> > 1) error check the parameters
> > 2) test existence before creating users, apache config files, bind
> > files, hosts modifications
> > 3) error checking and recovery
> >
> > This could lead to an ubuntu package
> >
> > I'd appreciate wisdom and advice.
> >
> >
> >
> > --
> > http://ls.net
> > http://drupal.ls.net
> >
> > --
> > ubuntu-server mailing list
> > ubuntu-server at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> > More info: https://wiki.ubuntu.com/ServerTeam
>
>


-- 
http://ls.net
http://drupal.ls.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20080913/775238f4/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: install_drupal.txt
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20080913/775238f4/attachment.txt>


More information about the ubuntu-server mailing list