The host is a windows system and the centos 6 is on a virtual machine. The requirement is to transfer files from windows to Linux.
Required software: FileZilla
Check if vsftpd is installed,
#rpm –qa | grep vsftpd
If no message is displayed, it means that it is not installed. Use yum to install:
#yum install vsftpd --y
Wait for the installation to complete, you need to do some configuration, open the configuration file /etc/vsftpd/vsftpd.conf,
#vi /etc/vsftpd/vsftpd.conf
Remove two lines of comments:
anon_upload_enable = YES
anon_mkdir_write_enable = YES
Start the sftp service:
#service vsfptd start
2. Install FileZilla on windows, then enter IP, username, password, port number (note that 22 should be used instead of 21)