Installation and configuration of Ubuntu 14.04 FTP server--vsftpd

Source: Internet
Author: User
Tags administrator password

Http://jingyan.baidu.com/article/67508eb4d6c4fd9ccb1ce470.html

Installation and configuration of Ubuntu 14.04 FTP server--vsftpd

We often need to upload local files to the remote Ubuntu 14.04 Server, or the remote Ubuntu 14.04 server to download files locally, which requires the use of VSFTPD to build the FTP service, now introduce how the Ubuntu 14.04 Installing and configuring the VSFTPD

Tools/Materials
    • Ubuntu 14.04
    • WinSCP 5.5.4
Method/Step
  1. 1

    Update Source list

    Open "Terminal Window", enter "sudo apt-get update"-and "Enter the administrator password of the currently logged-in user"--return, it is OK. If you do not run the command and install VSFTPD directly, a "few packages cannot be downloaded, you can run the Apt-get update------" error message, which causes the installation to fail.

  2. 2

    Installing VSFTPD

    Open "Terminal window" and enter "sudo apt-get install vsftpd"------the installation is complete.

  3. 3

    Determine if the VSFTPD is installed successfully

    Open terminal window, enter "sudo service vsftpd restart" to restart the VSFTPD service, and enter-->VSFTPD is running, indicating that the installation was successful.

  4. 4

    Create a new "/home/uftp" directory as the user home directory

    Open "Terminal Window", enter "sudo mkdir/home/uftp"--enter "sudo ls/home"--and have a uftp directory, directory new success.

  5. 5

    Create a new user uftp and set a password

    Open "Terminal Window", enter "sudo useradd-d/home/uftp-s/bin/bash uftp"--Return the user new success--enter "sudo passwd uftp" setting uftp user's password-- > enter your password two times--and the password is set successfully.

  6. 6

    Modify the configuration file using Gedit/etc/vsftpd.conf

    Open the terminal window, enter "sudogedit/etc/vsftpd.conf", and carriage return-opens the vsftpd.conf file and adds "Userlist_deny=no" to the file.

    Userlist_enable=yes userlist_file=/etc/allowed_users "and" Seccomp_sandbox=no "-so that" Local_enable=yes "in the file is saved.

  7. 7

    Create a new/etc/allowed_users file using Gedit

    Open "Terminal Window", enter "sudo gedit/etc/allowed_users"-and enter uftp--> save, the file is created successfully.

  8. 8

    Use Gedit to view content in a/etc/ftpusers file

    Open "Terminal Window", enter "sudo gedit/etc/ftpusers"--Return to open this file, see if there is no uftp this username, if not, just exit. If any, delete uftp, because this file is logged in the user list that cannot access the FTP server.

  9. 9

    Log on to an FTP server using WINSCP

    Download Install WINSCP, run winscp--> input IP, user name, password--Save password and tick "save Passwords"--------Log on successfully.

    END

Installation and configuration of Ubuntu 14.04 FTP server--vsftpd

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.