"System operation"--linux server upload test code considerations

Source: Internet
Author: User

Putty.exe

--is a telnet, SSH, rlogin, pure TCP and serial interface connection software. This is primarily used to connect Linux, execute linux commands, reboot Tomcat, and more.

Flashfxp.exe

--File transfer tools, mainly through the putty to the Windows compiled class file, Web (js,css,jsp/html), XML, and put on the Linux server.



First, update the SVN code


Mail Item name--team--Update



second, with the resource pool synchronization check



Check the code of the modified code and repository again, whether it is the one you want to commit.




third, packaging source


Right-changed code ( note the newly added class?) , the modified classes should be packaged, not just packaged with the * number )--Select export




Select Jar File--next

Export JAR Package


Iv. uploading the source to the server

1. Unzip the packaged jar package2. Open Flashfxp.exe, upload the source code



To connect to a server:

Enter the server, user name, password, port number, and click on the link:

After the connection is successful, the following page is displayed:


Commit 3rddev first, after the successful submission, reboot Tomcat, the code runs without error to submit 3rdtest.

Let us first take 3rddev as an example, to tell you how to submit the source code.

At the time of submission, drag the code on the left to the right. At the beginning, it's best to familiarize yourself with the directory, drag and drop the entire folder, and then drag and drop it.

Attention:

1) The newly added files can be dragged directly. The original, must be replaced by the right side of the file back to the local folder, so as not to commit errors, so that the server is paralyzed, unable to start.

2)         Auto-generated files must not be submitted! Example: meta-inf

3) do not submit the Pom file, if the jar package is missing, upload the jar package directly to Lib files can

·

After drag and drop, you can restart the server via Putty.exe.

3. Open Putty.exe and restart the server

First start, enter the host name, Port, save session (your own meaningful name), select Load, you can save a bookmark-like thing, mine is FACTOR-WM. You can click it to open it. Then, you can directly double-click FACTOR-WM, no need to enter the host name, port, you can directly login to putty.

Next, we will restart the server:


1. Enter the user name PHLC

2. Enter the password hope2013

3. View the detailed catalogue LL

4. Enter a directory CD 3rddev

5. Restart Tomcat SH restart.sh

You can then access the address of the test server.

"System operation"--linux server upload test code considerations

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.