Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • System admin
  • Linux
  • Install a FTP server on Debian / Ubuntu
  • Linux
  • 04 February 2014 at 19:28 UTC
  • InformatiWeb

Install a FTP server on Debian / Ubuntu

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.

  1. Install the FTP server
  2. FTP server's configuration

1. Install the FTP server

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

2. FTP server's configuration

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

Share this tutorial

Partager
Tweet

To see also

  • Debian / Ubuntu - Create a root certification authority

    Linux 2/14/2015

    Debian / Ubuntu - Create a root certification authority

  • PuTTY - Fix the issue with the numeric keypad

    Linux 8/23/2016

    PuTTY - Fix the issue with the numeric keypad

  • Ubuntu - Enable root account

    Linux 1/11/2014

    Ubuntu - Enable root account

  • Ubuntu - Install and secure a SSH server

    Linux 1/11/2014

    Ubuntu - Install and secure a SSH server

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • 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.