(1) First development package group and server flat platform Development package Group
(2) Yum installation needs of the dependent package
(3) Compile and install Pam_mysql module
(4) Configure MySQL and add the vsftpd process user in MySQL, create the VSFTPD database, authorize the VSFTPD database to the VSFTPD user, and create the Vsftpd.users table and add users to the table Tom
(5) Create vsftpd URL to upload and download
(6) Create a vsftpd.mysql based on MySQL-certified PAM configuration file
(7) Configure VSFTPD to enable virtual users and use the specified Pam service:vsftpd.conf
(8) Configure the permissions that the virtual user Tom has
(9) Avoid firewalls and selinux effects, clear firewall rules and close SELinux
(10) Start the VSFTPD process to test
code is as follows |
copy code |
Summary:
1, pay attention to firewall and SELinux shutdown
2, configuration files, and file vsftpd that require authentication. Does MySQL have a logical error
 3, the authentication path in the primary profile vsftpd.conf corresponds to "user_config_dir=/etc/vsftpd/vusers_conf"
|