The remote Web server deployment under NetBeans

Source: Internet
Author: User
Tags netbeans

Sometimes this happens, the local only development environment, no operating environment, that is, NetBeans, but no apache/nginx, MySQL and so on.

This is where locally developed code needs to be synchronized to the remote Web server.

First, open the project with NetBeans

If you have an existing project, create a new project directly---"Based on the existing PHP code---" Project completed, right-click on the project name---"Properties---" Run Configuration---"settings see

Two, remote connection settings:

Click "Manage" to go to remote connection settings---"Set the following//port 22 because SFTP is used

Third, upload file mode selection

NetBeans offers three ways of doing this:

Manual: Manually upload to the remote Web server.

Runtime: Synchronizes to the remote Web server when you click Run Project.

On Save: Automatically synchronizes to the remote Web server when it is persisted after the file is modified.

Recommended Practice: Set "Manual" first, then upload the entire project source file to the remote Web server, then set "On hold", and automatically upload each time you save.

RELATED links:

Https://netbeans.org/kb/docs/php/remote-hosting-and-ftp-account_zh_CN.html#chooisngRunConfigurationType

The remote Web server deployment under NetBeans

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.