Notepad++ install NppFtp

Notepad++ install NppFtp

  1. foreword

    When I watched the technical video today, I found that the teacher directly used Notepad++ to connect to the centos server to modify the files on the remote server.

    For me, who likes to use text editors on Windows and is not familiar with vi commands, this is really a good solution. So I decided to practice it.

  2. Install Notepad++

Install 32-bit notepad++ on Windows, open notepad++, [Plugins] -> [Plugin Manager], find NppFtp, and install it online

1.1 If there is no plugin manager

Download address: Baidu Cloud Link: https://pan.baidu.com/s/1qYmO7Y8 Password: hh6v

After decompression, copy the PluginManager.dll file in the plugins folder to the pulgins folder in the notepad++ installation path.

1.2 If the online installation of NppFtp fails, use the offline installation method

Download address https://github.com/ashkulz/NppFTP/releases

After decompression, copy the NppFTP.dll file in the plugins folder to the pulgins folder in the notepad++ installation path.

1.3 NppFtp configuration

  1. Open Notepad++
    [Plugins] -> [NppFtp] -> [Show NppFTP Window]

  2. A window will appear on the right side of notepad++, operate on the window
    [Settings] -> [Profile Setting]

  3. A dialog box pops up
    [Add New] -> [fill in the information on the Connection] -> [Close]

  4. You can query the connection results

  5. Set up in a virtual machine

1.1 Install vsftpd on a virtual machine

# 在虚拟机上安装 vsftpd
$ yum install vsftpd
# 启动 vsftpd
$ service vsftpd start

1.2 Solve the problem of ftp 530 Permission denied

# 需要修改配置文件(/etc/vsftpd/vsftpd.conf) 中的userlist_enable的值改为NO
$ vi /etc/vsftpd/vsftpd.conf
userlist_enable=NO
$ service vsftpd restart

1.3 Solve the problem of ftp 530 Login incorrect

Use root to log in, use the ftp 530 Login incorrect problem

Checked the contents of /etc/pam.d/vsftpd, one of which is

auth       required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed

vsftpd points the ban list to /etc/vsftpd/ftpusers. So vi /etc/vsftpd/ftpuusers found that root is on the list, so delete root and save it, restart vsftpd.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325305472&siteId=291194637