The setup of Vsftp under Linux is detailed

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.