Remotely edit the source code on Ubuntu using notepad++

Source: Internet
Author: User

Simply set up the environment for remote editing of Ubuntu Server 14.04 above source code on Windows, record it and give it to the person in need.

notepad++ installation Nppftp

To open PlugInManager from the Plugins menu, select the Nppftp plugin:

Click the Install button. Restart notepad++ is required.

After rebooting, open the nppftp as follows:

When opened, the Nppftp interface is displayed by default on the right side of notepad++, similar to the following:

Configure profile, similar to the following:

Click the Close button to close the configuration window.

Ubuntu Server Installation VSFTPD

Follow the steps below to do this.

    • 1) Install VSFTPD

Execute the following command to install VSFTPD

sudo apt-get install vsftpd
    • 1
    • 1

After the execution should see the following image, a red line callout, indicating that the installation was successful, the service started successfully.

    • 2) Verify that the VSFTPD is started successfully

Execute the following command

sudo netstat -anp | grep vsftpd
    • 1
    • 1

See, Instructions for FTP service start OK:

    • 3) Stop the FTP service
sudo service vsftpd stop
    • 1
    • 1
    • 4) Configure VSFTPD to allow local users to access and modify

Open/etc/vsftpd.conf with VIM and set the following options:

Using Vim to edit/etc/allowed_users, join the user who is allowed to log in, as shown in:

    • 5) Start VSFTPD
sudo service vsftpd start
    • 1
    • 1
notepad++ Accessing and modifying Ubuntu server's source code

Using notepad++ to access our FTP service (click the Connect button on the Nppftp window), the result is similar to this:

Locate the main.cpp under the HelloWorld folder, and double-click Open:

We add a line of code, such as:

Ctrl+s saved, Main.cpp will be uploaded to Ubuntu Server. We look in the putty, the source code has changed, such as:

Ok, so far as our configuration and testing is done, the code on the Ubuntu server on Windows remote editing is implemented.

http://blog.csdn.net/foruok/article/details/62421499

Remotely edit the source code on Ubuntu using notepad++

Related Article

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.