We will explain how to quickly install and configure an FTP server on the Ubuntu machine for each system corresponds to a FTP account user.
Tutorial tested on Ubuntu (12.04 and 14.04) and Debian 7.7.0.
First, install the FTP server "ProFTPD".
Bash
apt-get install proftpd
During installation, the program will ask you to choose a type of launch for this server. Simply select the "Independent".
To configure the FTP server, edit the file "/etc/proftpd/proftpd.conf" like this :
Bash
# Disable IPv6 (if you wish) UseIPv6 Off # Hide symlinks (equivalent Windows shortcuts in summary) ShowSymLinks Off # Restrict users to their home directories # Prevents users of the FTP server to enter in the system folders. DefaultRoot ~ # The user used must exist on the system (a Ubuntu user = a FTP user) RequireValidShell on # Change the port (if you wish) Port 21 # Activate passive ports for file transfers. # If you're on a VPS, decrease the range for opening fewer ports in firewall. PassivePorts 49500 496000
Then add the following lines to the end of the file to allow the resumption of uploads and downloads :
Bash
# Authorize the resumption of an upload AllowStoreRestart On # Authorize the resumption of a download AllowRetrieveRestart On
And finally, restart the FTP server :
Bash
/etc/init.d/proftpd restart
Linux 7/21/2017
Linux 10/11/2016
Linux 1/11/2014
Linux 2/14/2014
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment