Linux FTP server installation and deployment to deploy Linux installation on an FTP server vsftpd connection appears: Pit "response 530 Permission denied" the

Linux FTP server installation and deployment

 

  The steps in this article will install an FTP server as well as some of the problems encountered to record

  Because the project to docking with third-party data, the need to use an FTP server to upload data to provide them every day, because once prior to deployment on a local VMware virtual machine, the wing is deployed on the cloud.

  First, we perform the installation command: yum -y install vsftpd

  

 Above represents the installation was successful!

 

  After successful installation we enter the FTP folder to see if there is a problem, FTP is the name of the Linux vsftpd, installed by default in the / etc / vsftpd directory;

 

  Execution:   command, enter the FTP folder to view files

 After the installation is complete, do not worry configuration, we would let users add a Linux system, a user login FTP server;

  Execute   command to create a user's ftpuser,

  Execute  command, modify the user's password.

  It should limit the number of FTP login, we entered user_list under vsftpd directory modified as follows:

Copy the code
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
root  
ftpuser
Copy the code

  User_list content inside is able to log FTP user list, if you do not want other users logged in, delete other user name in the file, leaving only one user we just created (root for the system administrator, if you do not need to be deleted ).

Completion of the above steps we are going to configure the core file vsftpd.conf

This configuration we only need to change a place, that is, when an anonymous user logs on to prohibit, and then specify the FTP root directory on the line, the other can also find themselves in some way to configure the Internet.

  Review:  changed to NO, prohibit anonymous user access.

  Added:   Specifies the user access to the home directory (FTP file storage directory).

  But there is no this folder, so we need to create this folder, the command: 

  Then change the directory access user, the command:

Note that: When is deployed FTP from Ali cloud or Tianyi cloud, when deployed sure to open your port rules, otherwise you can not access (that is, you can not access the FTP server default port, the default port for the 21, 20)! ! !

 

   

  

  Try using filezilla connection, I made the following questions:

Pit: "530 Permission denied responding" appears on vsftpd connection

Vsftpd.conf variable settings file

anonymous_enable=YES

Users need to log in, the absence of any line in the following three lines in the conf files need to add complete, otherwise there will be "response:. 530 Permission denied"

1 userlist_enable=YES
2 userlist_deny=NO
3 userlist_file=/etc/vsftpd/user_list

 

  The steps in this article will install an FTP server as well as some of the problems encountered to record

  Because the project to docking with third-party data, the need to use an FTP server to upload data to provide them every day, because once prior to deployment on a local VMware virtual machine, the wing is deployed on the cloud.

  First, we perform the installation command: yum -y install vsftpd

  

 Above represents the installation was successful!

 

  After successful installation we enter the FTP folder to see if there is a problem, FTP is the name of the Linux vsftpd, installed by default in the / etc / vsftpd directory;

 

  Execution:   command, enter the FTP folder to view files

 After the installation is complete, do not worry configuration, we would let users add a Linux system, a user login FTP server;

  Execute   command to create a user's ftpuser,

  Execute  command, modify the user's password.

  It should limit the number of FTP login, we entered user_list under vsftpd directory modified as follows:

Copy the code
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
root  
ftpuser
Copy the code

  User_list content inside is able to log FTP user list, if you do not want other users logged in, delete other user name in the file, leaving only one user we just created (root for the system administrator, if you do not need to be deleted ).

Completion of the above steps we are going to configure the core file vsftpd.conf

This configuration we only need to change a place, that is, when an anonymous user logs on to prohibit, and then specify the FTP root directory on the line, the other can also find themselves in some way to configure the Internet.

  Review:  changed to NO, prohibit anonymous user access.

  Added:   Specifies the user access to the home directory (FTP file storage directory).

  But there is no this folder, so we need to create this folder, the command: 

  Then change the directory access user, the command:

Note that: When is deployed FTP from Ali cloud or Tianyi cloud, when deployed sure to open your port rules, otherwise you can not access (that is, you can not access the FTP server default port, the default port for the 21, 20)! ! !

 

   

  

  Try using filezilla connection, I made the following questions:

Pit: "530 Permission denied responding" appears on vsftpd connection

Vsftpd.conf variable settings file

anonymous_enable=YES

Users need to log in, the absence of any line in the following three lines in the conf files need to add complete, otherwise there will be "response:. 530 Permission denied"

1 userlist_enable=YES
2 userlist_deny=NO
3 userlist_file=/etc/vsftpd/user_list

 

Guess you like

Origin www.cnblogs.com/youqc/p/11111043.html