The module allows to automate operations for adding, installing and removing platforms and sites.
Drubuntu is flexible and allows to fine tune it's behaviour with a wide range of options.
He can also choose to install and configure only specific things.
Drubuntu also has uninstall (and uninstall --purge, which is more destructive) and site-remove commands, that undo all settings.
Unpack in your modules folder (usually '/sites/all/modules/')
Enable under Administer > Site Building > Modules
Determine if we need to install a platform, site, or both
Download an place the appropriate platform (default Drupal 6 stable), and add a platform-wide "drubuntu.settings.inc" file.
Adds at site directory to the workspace, symlinks it to the appropriate platform sites directory.
Creates a settings.php ($db_url and file_directory_path is dynamically determined) and create and chmod the files directory.
Adds the platform and/or site as a new project in Eclipse.
Installs the site using Provision and opens a browser in the background with the admin user ready to go.
We also hook in some additional logic to the Drush bootstrap process, so we can automatically determine the site root and URI, even when outside of the site root.
Note that this is a very rapid process, and because of the vhost and DNS setup can complete without requiring any sudo password.
Here are some key features of "Drubuntu":
The LAMP stack:
· Installs basic software, such as Apache, MySQL, PHP (including libraries - CURL, GD, Xdebug, APC, Uploadprogress and Fileinfo).
· Configures Apache modules and sets up a vhost to listen for requests on *.localhost and map them to the appropriate platform and site.
· Configures PHP for Drupal, as well as adding configuration for Xdebug debugging and profiling and APC.
· Installs Postfix and configures for local-only delivery (for debugging mail issue, but preventing accidental mail outs).
· Adds user to www-data group, so that they can access files created by PHP, and symlinks log directory to workspace for easy reference.
· Sets up Dnsmasq, a lightweight DNS proxy/server, to resolve the wildcard *.localhost to 127.0.0.1.
· Adds a central "drubuntu.settings.inc" file where you can add any $conf or other development settings you want applied to all sites.
· Creates a .my.cnf file in your home directory so you can use mysql/mysqldump on the command line with fewer parameters.
· Installs the JRE with Eclipse, PDT, CVS and Subclipse plugins.
· Sets up the standard Eclipse configuration for Drupal in your workspace (merging with existing configuration if it exists).
· Installs the "HeadlessEclipse" plugin, so we can automatically import new platforms and sites as new workspace projects.
· Adds a Desktop icon for Eclipse.
Web development tools:
· Installs version control tools: svn (and svn-load), cvs, git, bzr
· Installs MySQL tools: MySQL query browser, MySQL administrator and phpMyAdmin.
· Installs additional browsers for cross-browser testing: Chrome, Opera, Konqueror, IE6 and IE7
· Installs the Firefox web developer toolbar and Firebug extensions
· Installs development tools: Meld (visual 3 way merge), Hex editor, Siege, GWorldClock
· Adds and installs an initial sandbox site
· Drupal 6.x
· Ubuntu 9.10
· Disk Space: 1.3 GB+