Knowledge Points:
1. FTP uses TCP connections and TCP ports
2, in the communication, FTP needs to establish two TCP connections:
One for control information, TCP port number defaults to 21
One for data transfer, TCP port number defaults to 20
3, Vsftp is a GPL-issued UNIX-like system on the FTP server
4, the name of the VS is "verysecure" meaning, visible security is high.
Configuration:
1, to see if the installation of VSFTP
#rpm –qa vsftpd
2, installation
Put in the third CD
#mount/mnt/cdrom
#cd/mnt/cdrom/redhat/rpms
#rpm –IVH vsftpd-1.1.3-8.i386.rpm
#cd; eject.
3, VSFTP service start and stop
#service vsftpd Start
#service vsftpd Stop
#service vsftpd Restart reboot
Permanent start: #setup
#ps –ax | grep vsftpd to see if a process is started.
#chkconfig –level 2345 vsftpd on setting starts the process automatically when the system starts.
4. Visit vsftp
Enter FTP 192.168.0.1
Enter password enter after: LS view put upload get download
Leave bye
5. Configuration file
Primary configuration file/etc/vsftpd/vsftpd.conf
User control File/etc/vsftpd.ftpusers role: Specify which users can not access FTP, equivalent to a blacklist
Main configuration file:
Option=value
Note that the equals sign can not be added blank, otherwise it is not the correct setting.
===ascii Set =====================
Ascii_download_enable
Control is available in ASCII mode for downloading. The default value is No.
Ascii_upload_enable
Controls whether the ASCII mode is available for uploading. The default value is No.