1. Download and install the JDK and configure the JDK environment variables
1) Download the JDK, choose the installation directory installation, I choose the default path, install two times, the first is to install the JDK, the second is to install the JRE, it is recommended that two are installed in the same Java folder in a different folder. (cannot be installed in the Java folder root directory, JDK and JRE installed in the same folder error):
2) Configure environment variables after installing JDK computer → properties → advanced system settings → advanced → environment variables
3) system variables → create a new java_home variable with the value of the JDK's installation path:
Variable name: java_home
Variable Value: C:\Program files\java\jdk1.7.0_75
4) system variables → find path variable → edit
Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;
(Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code)
5) system variables → new CLASSPATH variable
Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)
6) Variable configuration completed, check whether the configuration is successful: ctrl+r, input cmd, input java-version, the installation is successful
2, install Tomcat, I use a free installation, directly decompression can
Also open the Configuration window for the environment variable, click New in the System environment variable column
To configure environment variables:
Variable name: catalina_home
Variable value: The path just after decompression, mine is D:\tool\tomcat
Start Tomcat,
Open the browser and enter http://localhost:8080. If the following content appears, the description succeeds.
3. Download and install SVN server VISUALSVN, attach link
HTTPS://SLIKSVN. com/download/directly click Next to install Success
4. Webstorm Configuration svn
Webstorm->file->settings->vision control->subversion->use command Line clicent
Set this path to: C:\Program Files (x86) \visualsvn\bin\svn.exe (SVN installation path)
Click OK
Click the VCs menu in Webstorm, turn on version control, import the current project to SVN, and the rest of the team can connect to your SVN server for code authoring and submission.
Restart the computer at last (be sure to remember OH).
Webstorm Configuration svn Complete at this point in Windows
5, the above is for the first time to install Tomcat on the computer, configure the SVN situation, if it has been installed before, but install again, there may be problems, the following are the problems I encountered and the solution
1) Check that the environment variable is configured successfully.
2) Run Tomcat8w.exe tip:
Workaround: Go to the Tomcat bin directory, press SHIFT, right-click here to open the Command window, enter Service.bat install carriage return, appear as shown in the
2) Start Startup.bat Flash, no error message is visible:
Workaround:
(1) Find the bin directory of the extracted files find Startup.bat Notepad open
Add two words to the beginning
Set Java_home=c:\program files\java\jdk1.7.0_75//Here is the JDK installation directory
SET tomcat_home=d:\tool\tomcat//Here is the directory after TOMCAT decompression
(2) Open Shutdow.bat the same as above
Add two words to the beginning
Set Java_home=c:\program files\java\jdk1.7.0_75//Here is the JDK installation directory
SET tomcat_home=d:\tool\tomcat//Here is the directory after TOMCAT decompression
3) port is occupied
WORKAROUND: Ctrl+r---cmd-->netstat-ano
Check that the program takes up 8080 ports, if it is occupied, ends the process that is occupied, or changes the Tomcat port number
4) It is possible that the configuration file port and path have been changed
Workaround: Turn on Tomcat--Conf-->server.xml
Search Docbase (The actual path of the file), the default should be: Tomcat under the Webapps\root, if changed, you can change the path of their own projects,
See if the lower number is changed:
, if it is not 8080, change to 8080 or at the input address is instead: localhost: Change back port number
Windows Webstorm installation Tomcat configures SVN and uses the