Installation and setup of the FTP service under Ubuntu

Source: Internet
Author: User
Tags ftp commands

One installation vsftpd
Before installing VSFTPD, first update the Apt-get downloaded data source to enter the following command:

sudo apt-get update

Then install VSFTPD

sudo apt-get Install VSFTPD

Two additional FTP accounts

New Ubuntu account ftp.

sudo useradd-m ftpsudo passwd ftp

If you have an FTP directory in the/home directory after the VSFTPD service is installed, ignore the Create FTP directory command, or enter the following command to create a new FTP directory and authorize it.

mkdir/home/ftpsudo chmod  777 /HOME/FTP
Three modifications to the VSFTPD configuration file

Modify the Vsftp configuration file with the following command.

sudo vi/etc/vsftpd.conf

The specific contents of the amendments are as follows:

#独立模式启动listen=YES#不允许匿名用户访问 allow local (System) user to log in anonymous_enable=nolocal_enable= yeswrite_enable=no# Whether to transfer data using port 20 connect_from_port_20=yes# Generate log xferlog_enable=  yes# Specify login to Local_root=/home/ftp

After modifying the configuration file, you need to restart the FTP service and enter the following command:

The open and close FTP commands are as follows:

sudo/etc/init.d//etc/init.d/vsftpd Stop
Four connections to the FTP on Ubuntu

The connection Ubutu is using the FLASHFXP software. The new Ubuntu FTP service has the following information:

Ubuntu IP: 192.168. 177.129 FTP account: FTP

11111

Installation and setup of the FTP service under Ubuntu

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.