How to install and configure FTP Server

There are lots of ftp servers available for linux, proftpd is one of the popular server available for Debian, so in this tutorial we will deal with installing and configring proftpd server on Debian

To install proftpd server

apt-get install proftpd

While installing there is a option to choose the type of installation, whether it is standalone or inetd installation, normally we need standalone installation, After installation the server will start automatically.

To start ftp server

/etc/init.d/proftpd start

To stop ftp server

/etc/init.d/proftpd stop

Now we will go through configuration of ftp server
proftpd configuration file is located at /etc/proftpd/proftpd.conf
To edit configuration use

vi /etc/proftpd/proftpd.conf

Default configuration file can be found here

By default proftpd will give access to the home path (to know home directory of users cat /etc/passwd)

DefaultRoot ~

// This will limit the user smanne to /var/www/ folder
DefaultRoot /var/www/ smanne

To change default file permissions

// this will give default 755 permission to all the new and updated files
Umask                           022  022 

// this will give 775 permission,
Umask 			      002  002

You can also change the port number, max connections,

For more proftpd configurations refer – http://www.proftpd.org/docs/example-conf.html

About smanne

2 Responses to “How to install and configure FTP Server”

  1. JORGE:


    MedicamentSpot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. No prescription drugs. Order drugs online

    Buy:Levitra.Cialis Super Active+.Tramadol.VPXL.Cialis Soft Tabs.Propecia.Cialis.Viagra Super Force.Viagra Professional.Cialis Professional.Viagra.Super Active ED Pack.Soma.Viagra Soft Tabs.Maxaman.Viagra Super Active+.Zithromax….

  2. swedish:

    coloured http://zswedish8fv.bestpartsstore.info/tag/Green+Coloured+coloured+swedish/ : Coloured…

    swedish…

Leave a Reply