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.
Execute the following command to install VSFTPD
sudo apt-get install vsftpd
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
See, Instructions for FTP service start OK:
sudo service vsftpd stop
- 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:
sudo service vsftpd start
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++