ubunt1204 Installation Configuration Vsftp

Source: Internet
Author: User

This article will build a simple FTP service, that is, through the root user can log on, upload, download, the following steps:

1. Installation VSFTPD Service

sudo Install vsftpd

2. Edit the VSFTP configuration file

vi /etc/vsftpd.conf local_enable=Yes   #打开这一行, allow local user to log in write_enable=Yes   # Open this line, configure FTP writable pam_service_name=ftp   #因为ubuntu启用了PAM, this line to change to FTP

3. Restart Service

Service VSFTPD Restart

4. Testing

D:\>FTP 106.0.*.*connected to106.0.*.*.  -(vsFTPd2.3.5) Users (106.0.*.*:(None): Root331Please specify the password. Password: theLogin successful.FTP>dir $PORT Command successful. Consider using PASV. MaxHere comes the directory listing.-rw-r--r--1 0        0              TenOct - Ten:Panax Notoginseng 1. txt-RW-------1 0        0              TenOct - Ten: the 2. txt226Directory send OK.FTP: Received126Bytes, spents0.00 seconds126.0 Bytes/seconds. FTP> Get1. txt $PORT Command successful. Consider using PASV. MaxOpening BINARY Mode data connection for 1txtTenbytes).226Transfer complete.FTP: ReceivedTenBytes, spents0.00 seconds10000.0 Bytes/seconds. FTP> Put2. txt $PORT Command successful. Consider using PASV. MaxOk to send data.226Transfer complete.FTP: SendTenBytes, spents0.01 seconds1.11,000 Bytes/seconds. FTP>

ubunt1204 Installation Configuration Vsftp

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.