How to connect to FileZilla in Ubuntu: enable FTP service

Xiaobai saves the traces, the source of the article: The complete method of Ubuntu connecting to FileZilla. . . : cassielxh's blog - CSDN blog

Xiaobai's copy leaves traces, preventing the deletion of the original text, if you have any questions, please contact to delete, personal test is available! ! !

1. Install FTP service

sudo apt-get install vsftpd

insert image description here

2. Open the FTP service:

sudo vi /etc/vsftpd.conf

After opening  the vsftpd .conf file, find the following lines and remove the preceding "#":
local_enable=YES
write_enable=YES
pam_service_name=ftpd

(Move the cursor to the "#" icon in front of these lines, press the keyboard "delete" key to delete "#", then press the keyboard "Esc" key, and then press the "Shift" key + ":" key, enter "wq "Save and exit; when making a mistake, exit without saving, press the "Esc" key, then press the "Shift" key + ":" key, enter "q" to exit without saving)

3. Restart the FTP service:

sudo /etc/init.d/vsftpd restart

4. Install FileZilla software in WIN system

Ubuntu acts as the FTP server, FileZilla acts as the FTP client, the client must be connected to the server, open the site manager, click: File -> Site Manager

After creating a new site, the newly created site will appear under "My Site". The name of the site can be modified by yourself. For example, I named the new site "Ubuntu".
Select the newly created "Ubuntu" site, and then set the "General" of the site


(3) After setting, click Connect to transfer the file

This is the end, now you can transfer files!

おすすめ

転載: blog.csdn.net/aizsa111/article/details/129404749