First, configure jdK1.6

 

There’s a tutorial online, just a quick mention.

 

Go to the Oracle website and find the relevant JDK. I use Java SE 6

1. Click JDK Download

 

Once the download is complete, you can see that it is an EXE file.

 

2. Next, install. Double-click the file.

 

The installation file is very simple, as long as follow the wizard all the way to the next step is OK, but need the main several places:

 

The installation path needs to be changed. The default installation path is c:/program files/

 

3. We change it to F plate, which is more convenient to operate.

 

4. After the installation is complete, configure the environment variables

 

By default, the JDK I installed is in the F:/JAVA directory, structured as follows

\

Right click on my computer — >>

 

Click on environment variables:

Create a new environment variable in the user variable

 

Variable name: JAVA_HOME

Variable value: F:\JAVA

 

Variable name: CLASspath

Variable values: F:\JAVA\jre\lib\rt.jar; .;

 

Edit path in the system variable

 

The variable value is preceded by F:\JAVA\bin; (Always include a semicolon)

\

 

5. Test whether Java is successfully installed

 

Windows + R Open CMD, ok

\

\

Java version

If Java Version 1.6.0_24 is displayed, the installation is successful

\

\

The JDK installation is complete

 

 

 

 

2. Install the Tomcat server

 

 

1. Go to the Tomcat official website and download it

\

\

Let’s download Tomcat 6.0 and click Tomcat 6.0

\

Download the second one in core.

\

 

Copy the downloaded.tar.gz file to the root directory of drive F

 

Right click and unzip to the current folder

\

 

This is the directory structure of Tomcat.

 

Next, open the startup.bat file in the bin folder

 

If this is the case, your installation is successful

\

Or better yet, go to http://localhost:8080/ and prove success

 

At this point, both JDK and Tomcat are installed.

 

Install MySql

 

 

MySql官网

\

 

Click Download, and then select the version to Download.

 

Let’s click on Download.

Install after the download is complete.

 

Double-click on the MSI file we have downloaded.

 

Follow the wizard to install it. Default all the way down. But note:

 

Character Set: UTF-8

 

And then all the way down here

\

We set a password called root, confirm the password, and then Enable. Click NEXT

Until finally Finish is OK. This completes the installation

 

The next step is to test the success of the installation.

 

Find the MySql launcher in all Programs in the Start menu.

 

\

Enter password :root the password we set earlier

 

If you go to this page, it means that the installation has been successful

 

The preparatory work has been done. The next step is to build the environment.

The QQ of building Lord: 496056171

\