TWiki
>
EuroVODCA Web
>
DcaJune2008Workshop
>
DcaJune2008Software
>
DcaJune2008PreparationWindows
(revision 6) (raw view)
Edit
Attach
---+ Preparation steps for Windows *Only Windows XP is supported for this workshop.* ---++ Download A copy of the download files are available at http://www.euro-vo.org/dcaworkshop2008/CommonSoftware/Windows/ You are however advised to get the files from their original source. This will allow you to revise any applicable End User Agreements and software licenses before installing, and to know where to get updated versions of the software in the future. ---++ 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: <verbatim>jdk-1_5_0_15-windows-i586-p.exe</verbatim> Follow the wizard for the installation of the Java JDK and JRE on your computer. The Java JDK is installed by default in <code>C:\Program Files\Java\jdk1.5.0_15</code>. 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 [[#About_environment_variables][environment variables]]: <verbatim>JAVA_HOME=C:\Program Files\Java\jdk1.5.0_15</verbatim> And add java to your [[#The_PATH_environment_variable][PATH]]: <verbatim>PATH=C:\Program Files\Java\jdk1.5.0_15\bin</verbatim> ---++ 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: <verbatim>apache-tomcat-5.5.26.exe</verbatim> Follow the wizard for the installation of Tomcat on your computer. Tomcat is installed by default in <code>C:\Program Files\Apache Software Foundation\Tomcat 5.5</code>. 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 [[#About_environment_variables][environment variables]]: <verbatim>CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5 CATALINA_BASE=C:\Program Files\Apache Software Foundation\Tomcat 5.5</verbatim> ---++ !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: <verbatim>Setup.exe</verbatim> Follow the wizard for the installation of !MySQL on your computer ("Typical" installation is fine). !MySQL is installed by default in <code>C:\Program Files\MySQL\MySQL Server 5.0</code>. 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 [[#About_environment_variables][environment variables]]: <verbatim>MYSQL_HOME=C:\Program Files\MySQL\MySQL Server 5.0</verbatim> And add !MySQL to your [[#The_PATH_environment_variable][PATH]]: <verbatim>PATH=C:\Program Files\MySQL\MySQL Server 5.0\bin</verbatim> ---++ 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 <code>apache-ant-1.7.0</code> to your programs folder (usually <code>C:\Program Files\</code>, making <code>C:\Program Files\apache-ant-1.7.0</code> the location of Apache Ant) ---+++ Configure You now need to set the following [[#About_environment_variables][environment variables]]: <verbatim>ANT_HOME=C:\Program Files\apache-ant-1.7.0</verbatim> And add Ant to your [[#The_PATH_environment_variable][PATH]]: <verbatim>PATH=C:\Program Files\apache-ant-1.7.0\bin</verbatim> ---++ Test the installation %INCLUDE{DcaJune2008PreparationTestScript}% ---++ About 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 add the new value(s) to the beginning of the existing one using a semicolon "<code>;</code>" as separator, e.g: Existing value: <verbatim>C:\Programs\bin;C:\Programs\UnxUtils\usr\local\wbin;C:\Programs\PsTools</verbatim> Values to add: <verbatim>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</verbatim> Result: <verbatim>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</verbatim> ---++ Acknowledgments These instructions were based upon PreparationWindows
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r6 - 10 Jun 2008
-
BrunoRino
EuroVODCA
Log In
or
Register
EuroVODCA Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Help
Webs
EuroVOAIDA
AidaVOWS2009
VOSchool09
VOSchool10
EuroVODCA
Main
Sandbox
TWiki
Links
Euro-VO
Euro-VO AIDA
IVOA
VOTech
Communication Network Development in FP6
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback