Documentation

Installation & Setup

You'll need the free VMware Player to run the virtual machine.

  1. Extract the archive and open the drucent.vmx in VMware Player.
  2. After the server is started you'll see a message about how to reach the server (via Web, SSH and SMB).
  3. Log in as "drupal" and run "admin/GetV6modules" to fetch (update) all Drupal modules and required software from the Drupal repository.
  4. Create a Drupal site using "admin/CreateDrupalSite".

There are a couple of (old) videos showing how to set up a new Drupal site in the VM.

The scripts in the admin directory also contain some documentation.

For Drupal site developers (lite and full versions)

See the scripts in ~drupal/admin for site creation and removal.
You can deploy your site from the VM to the production environment using the "Backup and Migrate" module.

For module developers (full version only)

Start Eclipse (see the icon on the desktop) and create a new PHP project for your module.
You can import Drupal and modules from the ~drupal/admin/ directory.

Setting up outgoing email

If you would like to send emails from your Drupal site (e.g. notifications), do the following:

  • send a test mail (echo test | mail some@address)
  • check your mail on both ends (sender, receiver)
  • if you got errors (e.g. "sender domain ... does not exists") set the hostname to a valid host (/etc/sysconfig/network) or choose a different mail relay in /etc/ssmtp/ssmtp.conf

Installed software

(* = only available in the full version)

  • base OS: CentOS 6
  • Applications
    • MySQL5 from REMI repo
    • PHP5 packages
      • upload filesize, post size, max. runtime and memory limit are set
      • php-pecl-uploadprogress is also installed
    • Java 1.6.0 - openjdk (*)
    • XDebug (*)
      •   customizing /etc/php.d/xdebug.ini
    • Apache
      • conf (AllowOverride All)
    • Firefox (*)
      • installed plugins: noscript, newsfox, tab control, web developer, zotero, keyconfig
      • keys 1 and 2 are bound to prev next tabs (like in Opera)
    • Samba (*)
      • you can access the sites directory from the host machine
  • Development environment: Eclipse (for module developers) (*)
  • Drupal
    • Installed as SVN repo under Eclipse (*)
    • DGet and custom shell scripts are installed into ~drupal/admin
    • Several modules are installed (or ready to install using the GetV6modules script)

Bugs and workarounds

  • Windows7 has problems with VMware network sharing (NAT). See this page for a solution.
    (WS 6.5.4 on Windows 7 Enterprise seems to work for me without problems.)