Ubuntu 18.04 Installing an FTP server

Source: Internet
Author: User

First install the VSFTPD:

sudo apt-get install vsftpd

You can vsftpd -version view the VSFTPD version by command.

Create a new user for the FTP server (for example, I create a new user name and password for SJFF users):

[email protected]:~$ sudo useradd -d /home/sjff -s /bin/bash sjff[email protected]:~$ sudo passwd sjff输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码

Here we are going to set the FTP root path to/home/zifeiy/mystorage, so we need to modify the/etc/vsftpd.conf file and add it at the bottom:

local_root=/home/zifeiy/mystorageanno_root=/home/zifeiy/mystorage

and show:

Local_root represents the default location when a user logs on as a local user.
Others are kept by default.

Then execute the following command to start the FTP server:

service vsftpd start

No success, try again tomorrow, I sleep.

Ubuntu 18.04 Installing an FTP server

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.