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 profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

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 4: Build your development environment in Linux

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, you 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 will learn how to install and configure all the software necessary to develop a Drupal based development environment for Linux™. This tutorial describes how to install and configure the software the group used in their development environment, including Eclipse, MySQL, Drupal, Apache, PHP, phpMyAdmin.

View more content in this series

Date:  11 Aug 2006
Level:  Intermediate

Activity:  24195 views
Comments:  

Installing Eclipse SDK

The Eclipse SDK (Eclipse) is an open source integrated development environment (IDE) that supports several programming languages such as Java, C/C++, Perl, and, of course, PHP. The Eclipse SDK also provides a framework that developers can use to build applications and other components. You can learn more at Eclipse community.

Revision control systems: CVS and Subversion

Throughout this tutorial we'll reference CVS as our revision control system. We chose CVS because of its excellent support in Eclipse and familiarity among our team. Another popular revision control system is Subversion, which is designed to be a replacement for CVS. Subversion is also supported inside of Eclipse with the Subclipse plug-in. We provide the necessary information for installing Subclipse during the Eclipse configuration section of this tutorial. You can use either revision control system; we do not have a strong preference for either system.

We recommend that all Eclipse versions be placed in their own directory inside a master directory on your system. We recommend that you create the directory /home/drupal/eclipse/ that will contain all of your Eclipse-related files. Think of the Drupal user as a generic user and substitute your own user name for it whenever we reference the Drupal user's home directory.

Now that you have the installation location prepared, you are ready to download Eclipse. The Eclipse download is the largest download in this tutorial with a file size of 99 MB. If you are on a dial-up or unreliable Internet connection, we suggest you use a download tool that supports resuming incomplete downloads.

The download for Eclipse attempts to detect your operating system. You should be running Linux and see a screen that looks something like Figure 7.


Figure 7. Eclipse download for Linux
Eclipse download for Linux

Select the Download now link. On the next page you'll need to select a mirror before downloading Eclipse, as shown in Figure 8.


Figure 8. Eclipse download mirror page for Linux

Download the latest version (3.1.2 as of this writing) and put it in the ~/eclipse/ directory. Eclipse is distributed as a compressed tar archive and needs to be uncompressed and then extracted from the tar archive. The Eclipse SDK archive creates a directory named eclipse during extraction. Make sure that the ownership of the extracted files are correctly set. You may have to use the following command to do this:



chown -R dupal:users eclipse/

You must now rename the eclipse directory to include the version of the package. Rename the directory to eclipse-3.1.2, as shown in Figure 9, so if you download future versions they do not conflict with the currently installed version.


Figure 9. Eclipse directory renamed to eclipse-3.1.2
Eclipse directory renamed.

Go into the eclipse-3.1.2 directory, select the Eclipse executable, and drag it onto the desktop using the Shift+Ctrl option keys to make a shortcut, as shown in Figure 10. The key combination to create a shortcut may vary with the window manager you use.


Figure 10. Eclipse shortcut on the desktop
Eclipse shortcut on the desktop

The installation of Eclipse is now complete.

7 of 16 | Previous | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=153467
TutorialTitle=Using open source software to design, develop, and deploy a collaborative Web site, Part 4: Build your development environment in Linux
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=