1, before the installation, in the system to create the following users and directories
#useradd nobody//default configuration needs to be used by users
#mkdir/usr/share/empty///default configuration directory to use
#mkdir/var/ftp//anonymous FTP users and directories to use
#useradd-D/var/ftp FTP//Create FTP account, default access to/var/ftp/directory below
#chown root.root/var/ftp///Change directory owner and group
#chmod og-w/var/ftp///Change directory Permissions
2, decompression vsftpd-2.0.7.tar.gz installation files
TAR-ZXVF vsftpd-2.0.7.tar.gz
Files are uncompressed and then entered into the vsftpd-2.0.7 directory
3, into the vsftpd-2.0.7 directory, execute the following command to compile and install the VSFTPD software
#cd vsftpd-2.0.7
#make//Compiling source code
#make Install//installation VSFTPD
4, manually copy vsftpd.conf files to the/etc directory, installation end.
#cp vsftpd.conf/etc/
Note: The following error occurs when make compile
The main reason for this error is the lack of patches, the solution download Attachment.bin and the execution of patch Sysdeputil.c/home/attachment.bin (note: Home for Attachment.bin directory)
Execute make again if there are errors
Solutions
Open Makefile
Vim Makefile
LIBS = './vsf_findlibs.sh '
The end increases-lcrypt into
LIBS = './vsf_findlibs.sh '-lcrypt