iOS development network-build A local server (to be sorted)

Source: Internet
Author: User
<span id="Label3"></p><p><p><strong></strong></p></p><p><p>A simple explanation</p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Description: download the relevant software in advance, and the installation directory is best installed in the full English path. If the path has a Chinese name, there may be some inexplicable problems.</p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Tip: pre-prepared Software</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;">Apache-tomcat-6.0.41.tar</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;">Eclipse-jee-kepler-sr2-macosx-cocoa-x86_64.tar.gz</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;">Jdk-8u5-macosx-x64.dmg</p></p><p><p>second, Install and configure the local server environment (java) Steps:</p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(1) under document path, create a new folder (netword), unzip the Eclipse archive package file</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(2) Install the JDK first</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(3) Click Install eclipse, set workspace, click Ok.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Set up your work space</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(4) Copy the pre-written server code to the working space.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(5) Import the project and import the existing project into the Workspace.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(6) after importing the project, the project error and garbled format, the following adjustments.</p></p><p style="margin-left: 90px;"><p style="margin-left: 90px;"></p></p><p style="margin-left: 90px;"><p style="margin-left: 90px;"></p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(7) Configuration container, Apache-tomcat.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Click Ok. To create a new container</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Select the path of the container</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">The installation is displayed as Follows:</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(8) Start the Server. Start in debug mode, easy to do some debugging</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Test: the server has successfully started.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(9) Deployment Program</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">(10) Enter the address of the server in Firefox and access the project</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">This completes the local server Environment.</p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Accessing the Server's Resources</p></p><p style="margin-left: 90px;"><p style="margin-left: 90px;"></p></p><p style="margin-left: 90px;"><p style="margin-left: 90px;"></p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">The local server can also be accessed using a browser on the Emulator. Enter Address 192.168.1.53:8080/mjserver</p></p><p style="margin-left: 30px;"><p style="margin-left: 30px;">Add: Browser Open page, text garbled Adjustment.</p></p><p style="margin-left: 60px;"><p style="margin-left: 60px;"></p></p><p><p></p></p><p><p>iOS development network-build A local server (to be sorted)</p></p></span>

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.