FTP Server Setup under Linux

Source: Internet
Author: User
Tags file transfer protocol ftp protocol

The FTP server (file Transfer Protocol server) is a computer that provides files storage and access services on the Internet, and they provide services in accordance with the FTP protocol. The FTP is the file Transfer Protocol ( Files Transfer Protocol ). As the name implies, is the protocol dedicated to transferring files. Simply put, a server that supports the FTP protocol is an FTP server.

Currently open source operating system commonly used FTP server programs are: VSFTPD, ProFTPD, PUREFTPD, etc., I am using the vsftpd to build

1, VSFTPD Installation

#yum Install vsftpd*-y

2, edit vsftpd configuration file General Service configuration files are under the/etc directory and end with. conf

# Find/etc-name vsftpd.conf//Find configuration file

# vi/etc/vsftpd/vsftpd.conf

Anonymous_enable=no//Prohibit anonymous user access

Local_enable=yes//Allow local users to log in to FTP

Write_enable=yes//Allow user to write permissions in FTP directory

local_umask=022//Set local user's file generation mask to 022 default is 077

Dirmessage_enable=yes//Activate directory information when a remote user changes directory is a prompt message appears

Xferlog_enable=yes//enable upload and download log function

Connect_from_port_20=yes//Enable connection requests for FTP data ports

Xferlog_std_format=yes//whether to use standard ftpd xferlog log files

Listen=yes//Enable VSFTPD to be in standalone boot listening port mode

PAM_SERVICE_NAME=VSFTPD//Set PAM Authentication service profile name, file stored in/etc/pam.d/directory

Userlist_enable=yes//Whether users in the user list are allowed to log in to the FTP server, default is not allowed

Tcp_wrappers=yes//using Tcp_wrappers as host access control mode


3. Create user

# Useradd Ftptest

# passwd Ftptest

4. Access the FTP server

Access ftp://192.168.1.90 in your computer resources enter your username and password.

This article is from the "icemin" blog, make sure to keep this source http://icemin.blog.51cto.com/11581342/1790269

FTP Server Setup under Linux

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.