|
|
|||||||||
|
||||||||||
|
In the instructions below, substitute your UW Net ID wherever you see "uwnetid". Last updated: 18 Jan 2007
Installing the ToolsThe installation and configuration perspective is that of a lab administrator trying to allow the sharing of the tools by multiple users in a computer lab. Most installations are "cookbook" installations, meaning that we accept the default settings during installation. One exception is MySQL, which we do not install as a service to allow individual login accounts to start the service and access resources (such as the database) on their home directory. We provide a small configuration change and a script to make this as painless as possible for the user to start MySQL. Here are the tools that are installed:
Eclipse is started manually when the user wants to do some development work. Tomcat runs as a service, but should not be configured to start automatically -- WTP can start and stop it. MySQL needs to be started if it is not installed as a service, as in the labs.
Installing Eclipse with WTPEclipse and its plugins are supplied as archives. Archives are the generic term for the common tar (tape archive, not usually compressed) and zip (archiving plus compression) files. An archive is simply a file of files, directories and other information (owner, file permissions, creation/modification dates, etc.) in a special format created by special commands (usually of the same name as the file type; e.g., tar is the command to create .tar files, though they don't need to be named .tar). Other popular archives are Java archives (.jar), web archives (.war) and enterprise archives (.ear) -- the jar facility can create all of these. Once a archive is created, it is usually distributed or sent somewhere, where the recipient un-archives ("unzips" or "untars") it, using the same command (but different arguments) to "extract" the information in the archive, thereby creating the archived files and directories with all pertinent attributes applied on the recipient's file system. With some archiving methods (e.g., tar), you must explicitly compress and uncompress the archive prior to archiving or extraction, or as an extra argument combined with the operation; with others (e.g., zip), it is done for you automatically. Though we won't discuss details of creating an archive here, there is one way that someone can create an archive that makes it easier for you to extract the archive -- if they archive an entire directory instead of just the files within that directory. That way, when you extract the archive, you get a directory of files, not all of the files in the directory. This helps you manage what was part of the archive and what was part of the directory into which you extracted the archive. You can determine how the extraction will proceed -- what directories will be created -- by asking the archiving mechanism to display the table of contents of the directory. This is usually the -t option of the archiver. For example: unzip -t myarc.zip tar -tf abc.tarIf everything starts with the same directory name, it will be placed in the a directory of that name. If not, you can sometimes specify the directory to place the extracted files in: unzip -d E:\mydir myarc.zipwill place all of the archived contents of myarc.zip into E:\mydir.
Apache Tomcat InstallationFor the most part, install with defaults (also known as a "cookbook" installation).
MySQL Installation
Eclipse ConfigurationAs the user who will be using Eclipse (not usually the Administrator account), associate "Windows/Preferences/Server/Installed Runtimes/Add/Apache/Tomcat v5.5" with "C:\Program Files\Apache Software Foundation\Tomcat 5.5"
Change Log
Hours | Support Information | News | Policies | Emergencies |