Myeclipse + Tomcat + CVS + MySQL platform configuration method

Source: Internet
Author: User
Tags mysql download

requirement:
JDK www.sun.com. Note that j2se must be installed, then you can select J2EE
eclipse www.eclipse.com. Now, "wood is three", but it is better to integrate with myeclipse,
the current stable version of MySQL www.mysql.org is 5.1
Tomcat www.apache.org is currently 5.5 stable
CVS www.cvsnt.org is available in version 2.5.
If lomboz is installed with myeclipse, you do not need to install lomboz. Note that if lomboz is installed, install EMF first. Pay attention to the version.
Register --
1. Register JDK environment variables
java_home D:/Java/jdk1.6.0 _ 06 (installation directory)
PATH % java_home %/bin;
class_path. /; % java_home %/lib/tools. jar;

2. Download and decompress eclipse directly, green
3. MySQL download and decompress, green
4. mysql-front Installation
5. Learn about pressure and green for Tomcat download.
6. Download and install CVS
7. To download the old version of myeclipse, You need to download eclipse. If it is a new version, it directly contains eclipse. Note that two path settings are prompted during the installation process. The last step of installation is slow.
8. tomcat-plugin driver
9. MySQL driver.
Else ---------------------------------------------------------------------------------------------------------------------------------
Matching objectives:MySQL + MySQL-front + Tomcat + myeclipse + CVS

1. mysql-front is the interface-based auxiliary software for MySQL. Before starting MySQL, you must start mysql. On the console, enter mysql-Console
Can write a script start-mysql.bat
CD/
MySQL -- Console

2. Start mysql-front, enter localhost as the connection server, and the default port. On the "register" page, the default user is root, and the password is blank. Then confirm.
Then you can create a database.

3. After CVS is installed, start the control panel, go to the server setting card, and then check the emylate '-N checkout' bug in the compatibility card,
Then on the repositories card, set "server name" at "server", "add", and "location" to "D:/location" at "name" and "cvsroot" (this must be an absolute path) to set the resource library path, eclipse will use this path to connect to the resource library.

4. Add an administrator privilege. Enter the password !! If you are not an administrator, you cannot download cvsroot after logging on to eclipse.

5. After tomcat-plugin is installed, copy the content of the two folders to the two folders in eclipse and configure tomcat. It is quite simple to enter the path in eclipse.
In the main eclipse window, choose "window"> "preference"> "Tomcat". Select "version 5.x" for tomcat version (the version we have installed). Enter the path for installing Tomcat in Tomcat home. Here is D: /program files/Java/tomcat.
Switch to the advanced option, and enter the tomcat installation path at Tomcat base. Here is D:/program files/Java/tomcat.
Switch to the JVM setting option and make sure that JRE is the j2sdk version you have installed. Here we select j2sdk.
Switch to the Tomcat manger app and add a user to the management interface.
Finally, press the Apply button and then confirm.
Check whether the configuration is successful. In the main eclipse window, press the Tomcat run button and enter http: // localhost: 8080 in the address bar of the browser. If the Tomcat page appears, the configuration is successful.

6. Connect to the CVS server. In eclipse, there is a field button on the right side of the toolbar, that is, to switch the view. Choose "->" other ", select" cvs repository study ", and right-click the blank area on the left.
Add the CVS repository and enter the host and repository paths. Here is/cvsroot, which is the one configured earlier. Then, confirm that if no error message is displayed, the logon is successful. Click the tree column and in the head folder. If the cvsroot folder is displayed, the operation is successful.

plugin ---
driver to be installed:
MySQL driver allows Java to directly connect to the database without registering ODBC. Note that the downloaded JAR file is used, after setting the class_path path, it is better to copy the file to the webroot/WEB-INF/lib of the project, so that the Tomcat server can read the database content of the MySQL server, you can also copy the file to the Web-INF /.. /lib
tomcat-plugin driver, so that eclipse can operate the necessary driver of the Tomcat server. If myeclipse is installed, you can directly configure the path without installation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.