File: vsftpd-2.3.2.tar.gz first install vsftpd: cd/opt/softwaretar-zxvfvsftpd-2.3.2.tar.gzcdvsftpd-2.3.2 to modify the configuration file vibuilddefs. h /************************************** * ***** # ifndef file: vsftpd-2.3.2.tar.gz
First install vsftpd:
Modify the following items:
Write_enable = yes
Local_enable = yes
If anonymous logon is also allowed, anonymous_enable = yes; generally, anonymous users are not allowed to upload or modify permissions.
Add
Listen_port = 21
Listen = YES means to use standalone to start vsftpd, rather than super daemon (xinetd) to control it (standalone is recommended for vsftpd). For more information, see anonymous user configuration.
Start:/usr/local/sbin/vsftpd/etc/vsftpd. conf &
Add a vsftpd user!
Reference: hi.baidu.com/lssbing/blog/item/bae673506cc330571138c233.html
# Mkdir/opt/srsman // first create a directory
I. 500 OOPS: cocould not bind listening IPv4 socket,
Chkconfig vsftpd -- level 3 off
II. 500 OOPS: vsftpd: refusing to run with writable anonymous root
This indicates that the permissions on the home directory of the ftp user are incorrect and should be changed;
[Root @ localhost ~] # More/etc/passwd | grep ftp
Ftp: x: 1000: 1000: FTP User:/var/ftp:/sbin/nologin
The following method should be used to correct this error;
[Root @ localhost ~] # Chown root: root/var/ftp
[Root @ localhost ~] # Chmod 755/var/ftp
★Flashget: Option-> parameter-> proxy server-> edit-> deselect the check box before "Use PASV mode.
The cause of this problem is the conflict between the network egress of the client and the port settings of the server firewall. Therefore, if PASV is not selected as the connection type for other software, this type of problem can be solved.
4. the user successfully logs in but cannot upload files normally
This is a problem with insufficient permissions on the target folder. You can change the permission to 777.
Chmod 777/xxx/
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