FTP is a very old file transfer protocol. With the birth of the Internet, it almost appeared. It can also be said that my search for VSFTP has gone through a long process. But there was no breakthrough. Until now, browsing the book and comparing the blog on the Internet is still dumbfounded. Writing this document is to make yourself a plan and build an FTP server as quickly as possible.
By reading or blogging, I learned
The first is an installation that can be installed directly via YUM. I did this.
Then change its configuration file which requires basic knowledge of vim. I do that too
FTP must first be approved and authentication will have users, so user management inside Linux must be understood first. I get it
While counting, it appears that the PAM module is being used. So, Pam seems to know.
During processing, Selinux seems to be a bit inconvenient. Got it and you can close Selinux
The last time, the success was very close and the success was far from logging in, which was a problem with the configuration files. Let’s look at a specific case.
The installation is very easy and can be installed via RPM or YUM. RPM is also possible because there is only one bag, no dependency.
Let’s check the RPM package first. After searching, we can install it directly via RPM
rpm -ivh /media/CentOS/Packages/vsftpd-2.2.2-24.el6.i686.rpm
You have installed it, so it will prompt you to install. Note that the previous path is the path to download my CD.
Installation is very easy, let’s get started below
You can access it after starting. Please note that FTP access is a clear text verification method, that is, the user name and password you enter are transmitted over the Internet, so it is not recommended to use the root user to access it. First we can create users and then access them.
Once started, we want to access it via root.
Both of these files are blacklisted. Blacklisted users cannot login to FTP. default blacklist:
We see that the first restrictions are root users. If you want to log in, we need to remove the ROOT user in this file and then remove root in the user_list file. This way you can access the root user.