Drubuntu
This group is for people using Ubuntu for developing Drupal core or contributed modules, and also for people using the Ubuntu LAMP stack as a server for Drupal.
See the Drubuntu HOWTO that explains how to install and configure an Ubuntu/LAMP/Eclipse Drupal development environment.
There is also an Ubuntu/LAMP/Eclipse Drupal development environment VMware image available, that lets you experiment with developing Drupal on an open source platform, without needing to repartition your hard disk.
Tape drive access problem
I asked about this on Ubuntu.org several days ago, but I don't have an answer yet. Let's see if I can get lucky here.
I'm trying to set up an environment that I can use for Drupal development (which I have done in Windows up to now).
Using wget to access contributed projects
Can anyone point me towards using wget to access contributed modules / projects. I don't want to use a CVS system, but now that I've migrated to Ubuntu, I want to be able to use a command line interface to quickly download and unpackage drupal modules.
I'm new to Ubuntu. I've previously used Tortoise CVS system under Windows, but I don't really need it if I can simply use a command line to download projects / latest module updates.
Thanks!
shalom from wales!
John
Quick and Dirty Drupal Install on Ubuntu LAMP
No fancy development installation here, just quick and dirty command line instructions on installing Drupal 5.7 on an Ubuntu server. Probably a little more approachable for those new who are to Linux, new to development or just want a quick sandbox site.
http://23rdworld.com/2008/04/09/drupal-5x-on-ubuntu-lampdrupal-5x-on-ubu...
I started a discussion instead of a wiki page to get feedback on this article. If it seems useful/appropriate I can copy it to a wiki page.
Thanks!
===
~mahalie
http://23rdworld.com
PHP 4 Support
You really only need to do this if you need to test and support existing modules on php 4. Generally it is acceptable for new modules to release them php 5 only. Drupal 7 will be php 5 only. Unless you know for sure that you need this it is recommended to use the standard mod-php5 configuration instead.
Since Ubuntu 7.04 php4 packages have not been provided or supported by Ubuntu, so (unless you are running an older 6.xx version of Ubuntu) you will need to find/add repositories that provide php4 packages.
Directory layout overview
This gives an overview of how the whole system works at a directory level.
Note that, with the setup above, the URLs indicated below are working with 'zero-configuration' apart from the addition of the domain to your hosts file.
- You don't need to set up a new apache vhost for each site, or mess around with switching directories around or trying to work from a subdirectory, all of which can be troublesome and annoying.
- Every folder under the workspace folder can be an Eclipse project.
Adding a new site
- We will be using the example site 'mysite' here
- This is for a multisite setup, so we will be using an existing Drupal install.
- The example is for a 6 (suffix '6') site, but the procedure is the same for 5, 4.7 and head sites.
- We will be using SVN, but the method for a CVS checkout is almost identical.
Checkout a copy of the site with Eclipse
- Window -> Open Perspective -> Other -> SVN Repository Exploring
Checkout Drupal
Using an Eclipse Team Project Set
- This allows you to checkout Drupal for 4.6, 4.7, 5 and CVS HEAD in one go.
- You can also add the contribution repository, but this is very large so be warned!
- See http://drupal.org/node/80667 for full instructions
Using Eclipse CVS
- You can use the Drupal CVS repository: http://drupal.org/repos
- Window -> Open Perspective -> Other -> CVS Repository Exploring
- Right click -> 'New' -> 'Repository Location', enter repository details.
- Browse the repository to find appropriate site root, right click -> 'Checkout...'
How To Setup an Ubuntu LAMP Development Server
Overview
Installing Eclipse
Updated Install Instructions for Eclipse 3.4
It is recommended to install Eclipse manually into the /opt directory. It is possible to install Eclipse using apt-get or Synaptic, but this can cause permissions and/or upgrade complexities and so is not recommended. Note: These instructions were created for installing Eclipse on Ubuntu 8.04 (and prior?). They include a step to install Subclipse v1.4 which is compatible with Ubuntu 8.04 / SVN version 1.4. As of this writing Ubuntu 8.10 will use subversion 1.5, therefore requiring a later version of Subclipse.
Install Eclipse
Install CVS / Subversion and other software to support Web development
Here is a list of highly suggested packages for development Ubuntu 8.04 include
* CVS and Subversion are version control systems, and required if you want to work on Drupal code (CVS) or most site development setups (normally Subversion).
* Sun Java 1.6 for Eclipse and other Java apps
Install suggested packages
sudo apt-get install cvs subversion sun-java6-jre sun-java6-plugin Additionally, here is a list of optional but nonetheless often useful packages for development in Ubuntu 8.04
Installing Ubuntu on a partition
- Download & Install Ubuntu: http://www.ubuntu.com/download or Kubuntu: http://www.kubuntu.com/download.php
- Burn the image(s) to a CD.
- Test your hardware and choose which OS by booting from CD, and - if it looks good - install!
- The install CD can resize your existing partition(s) and setup dual boot if you are moving from an existing installation
Help is available:
Drubuntu HOWTO
Overview
This HOWTO will help you setup your computer for rapid Drupal development using Free and Open Source Software (wherever possible) for the operating system, IDE & development tools, server platform & multiple browser testing.
This set of tutorials will show you how to install and configure:
* Ubuntu as the basic operating system
* Apache, MySQL and PHP in the LAMP stack
* Eclipse for the development environment
* Firefox, Konquoror, Opera and IEs4linux for cross-browser testing
Drubuntu VMware image
This is a preinstalled and preconfigured Ubuntu/LAMP/Eclipse Drupal development environment VMware image, that lets you experiment with developing Drupal on an open source platform, without needing to repartition your hard disk.
Several Drupal versions are already installed and running (see the links in Firefox and projects set up in Eclipse). Both PHP 4 and 5 are installed and can be selected on a per-project basis.



