Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Using open source software to design, develop, and deploy a collaborative Web site, Part 3: Build your development environment in Windows

Alister Lewis-Bowen, Senior Software Engineer, IBM 
Alister's photo
Alister Lewis-Bowen is a senior software engineer in IBM's Internet Technology Group. He has worked on Internet and Web technologies as an IBM UK employee since 1993. Alister was brought to the U.S. to work on the Web sites for the IBM-sponsored sports events, then as senior Webmaster for ibm.com. He is currently helping create semantic Web prototypes. Contact Alister at alister@us.ibm.com.
Stephen Evanchik, Software Engineer, IBM 
Stephen's photo
Stephen Evanchik is a software engineer in IBM's Internet Technology Group. He has been a contributor to many open source software projects, the most notable being his IBM TrackPoint driver in the Linux kernel. Stephen is currently working with emerging semantic Web technologies. Contact Stephen at evanchik@us.ibm.com.
Louis Weitzman, Senior Software Engineer, IBM 
Louie's photo
Louis Weitzman is a senior software engineer in IBM's Internet Technology Group. For 30 years he has worked at the intersection of design and computation. He helped develop an XML, fragment-based content management system in use by ibm.com, and currently is involved with bringing the design process to emerging projects. Contact Louis at louisw@us.ibm.com.

Summary:  In this series, follow along as the IBM Internet Technology Group designs, develops, and deploys a closed community Web site using a suite of software that is freely available. In this tutorial you learn to install and configure the software needed to develop a Drupal-based Web site in Windows® and the software the group used in its development environment, including Eclipse, MySQL, Drupal, Apache, PHP, and phpMyAdmin.

View more content in this series

Date:  11 Aug 2006
Level:  Intermediate

Activity:  21975 views
Comments:  

Before you start

About this tutorial

This tutorial helps you install and configure all of the software necessary to develop a Drupal-based Web site in Windows®. Follow along and see what the Internet Technology Group develops and how the team works during the development process. Learn more about software installation and how a productive development environment should work in this kind of scenario. At the conclusion of this tutorial, you'll have a blank development canvas to use for any development project.

Our development platform is centered on open source software, with the actual development taking place inside of the Eclipse integrated development environment (IDE). We chose Eclipse because it provides a common development platform in which to collaborate including excellent project file management, local revision history, and an integrated revision control system. It is much easier to share and develop code if each developer is working with the same development environment. There is nothing stopping a member of your team from using their preferred tools and environment, but it can introduce unnecessary complexity.

This tutorial is meant for developers using Windows, although members of our team also use Linux™. If you or one of your team members is going to be using Linux as their development platform, see the companion tutorial Build your development environment in Linux.

This tutorial does not explain how to use the software; it's meant to teach you how to install and configure the tools so they work together. It is assumed that you have general development knowledge, but that you may not be familiar with each piece of software. There are many excellent tutorials on the Web and throughout developerWorks that describe each of the software components in great detail. (See Resources for more information.)

It is important that you follow along in the order presented in this tutorial, because we provide checkpoints that verify the software is installed and functioning correctly.


Prerequisites

The basic prerequisites before installing and configuring the software environment include:

  • Microsoft® Windows® XP or similar
  • Java 1.4 or higher (Java 5 is preferred)
  • Internet connection (broadband preferred)
  • ~250 MB of available disk space

You are going to be installing several software packages that will require several hundred MB of free disk space and may take hours to download if you are using a dial-up Internet connection.

Table 1 shows the software, and installed sizes, for the development environment we'll build.


Table 1. Software in the development environment
SoftwareInstalled size
Eclipse SDK110 MB
MySQL 556.1 MB
Drupal 4.71.7 MB
Apache HTTP Web server 2.021.9 MB
phpMyAdmin10.9 MB
PHP 526.9 MB

This tutorial also includes instructions for installing the optional components in Table 2. These may be skipped if you do not have the disk space or don't need to download them.


Table 2. Optional software in the development environment
Optional softwareInstalled size
MySQL Administrator9.7 MB
MySQL Query Browser9.4 MB
Cygwin165 MB

When all of these software packages are installed, we will configure them for development. The exception is the Drupal system. We install Drupal into Eclipse, so won't discuss its installation until after we have configured Eclipse.

Naming conventions

Where to install the software is left to your judgment, but it's very important not to use spaces in the installation path. For example, the following path is an unacceptable installation location:

C:\Program Files\Apache Foundation\Apache2

The following path is acceptable:

C:\Apache\Apache2

Spaces in paths often introduce complications with the build tools and configuration files. It is best to avoid them entirely, unless you want to spend time tracking down a missing quotation mark in a configuration file you created weeks ago.

1 of 16 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=153429
TutorialTitle=Using open source software to design, develop, and deploy a collaborative Web site, Part 3: Build your development environment in Windows
publish-date=08112006
author1-email=alister@us.ibm.com
author1-email-cc=
author2-email=evanchik@us.ibm.com
author2-email-cc=
author3-email=louisw@us.ibm.com
author3-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers