Installation of an FTP server under Ubuntu 14.04

Source: Internet
Author: User

Installation of an FTP server under Ubuntu 14.04

1 Installing VSFTPD

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

2 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.

3 new "/home/uftp" directory as user home directory

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

4 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.

5 Modifying the configuration file with Gedit/etc/vsftpd.conf

Open "Terminal Window", enter "sudo gedit/etc/vsftpd.conf"--and enter--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.

6 Creating 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.

7 using 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.





Installation of an FTP server under Ubuntu 14.04

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.