Preparation steps for Windows

Only Windows XP is supported for this workshop.

Java JDK 1.5

Download

Open the following URL: http://java.sun.com/javase/downloads/index_jdk5.jsp and click on the "Download" button next to "JDK 5.0 Update 15". Download the "Windows", "Multi-language", "Offline Installation" installation file (jdk-1_5_0_15-windows-i586-p.exe)

Install

Execute the installation program:

jdk-1_5_0_15-windows-i586-p.exe

Follow the wizard for the installation of the Java JDK and JRE on your computer. The Java JDK is installed by default in C:\Program Files\Java\jdk1.5.0_15. If that is not the case in your system, please replace the examples below with the correct value.

Configure

You now need to set the following environment variables:

JAVA_HOME=C:\Program Files\Java\jdk1.5.0_15

And add java to your PATH:

PATH=C:\Program Files\Java\jdk1.5.0_15\bin

Tomcat 5.5

Download

Open the following URL: http://tomcat.apache.org/download-55.cgi#Binary%20Distributions and download the Windows Service Installer installation file.

Install

Execute the installation program:

apache-tomcat-5.5.26.exe

Follow the wizard for the installation of Tomcat on your computer. Tomcat is installed by default in C:\Program Files\Apache Software Foundation\Tomcat 5.5. If that is not the case in your system, please replace the examples below with the correct value.

When prompted for the administration settings : leave the port ("8080") and the username ("admin") as is; input a password of your choice ("admin" is a common choice for testing purposes).

Configure

You now need to set the following environment variables:

CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5
CATALINA_BASE=C:\Program Files\Apache Software Foundation\Tomcat 5.5

MySQL 5.0

Download

Open the following URL: http://dev.mysql.com/downloads/mysql/5.0.html#win32 and download the "Windows ZIP/Setup.EXE" installation file.

Install

Unpack the MySQL package by right-clicking and selecting "Extract All...", or using your ZIP tool.

Execute the installation program:

Setup.exe

Follow the wizard for the installation of MySQL on your computer ("Typical" installation is fine). MySQL is installed by default in C:\Program Files\MySQL\MySQL Server 5.0. If that is not the case in your system, please replace the examples below with the correct value.

Run the "Configuration Wizard". The default settings are OK. Give a password for the root user ("root" is a common choice for testing purposes). If you create an Anonymous Account, you will be able to connect to your database with having to create a database user.

Configure

You now need to set the following environment variables:

MYSQL_HOME=C:\Program Files\MySQL\MySQL Server 5.0

And add MySQL to your PATH:

PATH=C:\Program Files\MySQL\MySQL Server 5.0\bin

Ant

Download

Open the following URL: http://ant.apache.org/bindownload.cgi#Current%20Release%20of%20Ant and download the ".zip archive" installation file (apache-ant-1.7.0-bin.zip).

Install

Unpack the Apache Ant package by right-clicking and selecting "Extract All...", or using your ZIP tool.

Move the extracted folder apache-ant-1.7.0 to your programs folder (usually C:\Program Files\, making C:\Program Files\apache-ant-1.7.0 the location of Apache Ant)

Configure

Locate a file called "catalina-ant.jar" on your Tomcat distribution. It should be located in C:\Program Files\Apache Software Foundation\Tomcat 5.5\server\lib. Copy this file to C:\Program Files\apache-ant-1.7.0\lib

You now need to set the following environment variables:

ANT_HOME=C:\Program Files\apache-ant-1.7.0

And add Ant to your PATH:

PATH=C:\Program Files\apache-ant-1.7.0\bin

Test the installation

Warning: Can't find topic EuroVODCA.DcaJune2008WorkshopTestScript

Environment variables

Environment variables are system-wide settings that configure your computer. They are used, among other things, to make sure that several programs on your system are easy to find.

To set an environment variable in Windows:

  • Right-click "My computer", and select "Properties". The "System Properties" window will open
  • Select the "Advanced" tab, and click the "Environment variables" button
  • The "User variables" have precedence, so we will use that list
    • To add a new environment variable, click the "New" button
    • To change an existing environment variable, click the "Edit" button
  • The changes made to the list of variables are valid once you click the "OK" button, but not to already running application (e.g. the Command Prompt)

The PATH environment variable

The PATH environment variable allows easy access to several programs. If it already has a value, you should append the new value to the existing one using a ; as separator, e.g: Old value:

C:\Programs\bin;C:\Programs\UnxUtils\usr\local\wbin;C:\Programs\PsTools
New value:
C:\Program Files\Java\jdk1.5.0_15\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\apache-ant-1.7.0\bin;C:\Programs\bin;C:\Programs\UnxUtils\usr\local\wbin;C:\Programs\PsTools
Edit | Attach | Watch | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 09 Jun 2008 - BrunoRino
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback