Google Plus

Installing & Configuring Sandalone PROFTPD Server in Ubuntu

Written by Mel Kham on . Posted in Linux tutorials

This tutorial show you how to install proftpd server in Ubuntu . Proftpd is Highly configurable GPL-licensed FTP server software

How  to install  Proftpd in Ubuntu 10.x and  11.x

Answer:

 

sudo apt-get install proftpd

During installation you can choose to install as an inetd service,or a standalone server.  I read and followed the advice of installing as Standalone  server


Backup the configuration file incase you mess something up!

sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf.original

Open the config for edit

sudo nano /etc/proftpd/proftpd.conf

Change your server name to whatever you like

ServerName "whatever.mydomain.com"

Uncomment the line to restrict users to their home directory

DefaultRoot ~



Save your changes and then restart the service

sudo service proftpd restart

And you can put a custom message in any folder to have it displayed when accessed

sudo nano /home/username/.message

save and exit

Now connect from windows ftp client . winscp or cuteftp or filezella


Connect and enjoy

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Jason Pitts

    There seems to be a problem with the version of OpenSSL used to compile mod_tls, mod_sftp and perhapse mod_tls_memcache?

    I need the newer version of OpenSSL I have installed for my web server, mysql server etc. I am just setting up a development environment for my home network, however, I could see this as being a potentially major problem for a commercial user.

     * Stopping ftp server proftpd                                                                                                                               [ OK ]  * Starting ftp server proftpd                                                                                                                                      DevNull proftpd[6863]: mod_tls/2.4.3: compiled using OpenSSL version ‘OpenSSL 1.0.0e 6 Sep 2011′ headers, but linked to OpenSSL version ‘OpenSSL 1.0.1 14 Mar 2012′ libraryDevNull proftpd[6863]: mod_sftp/0.9.8: compiled using OpenSSL version ‘OpenSSL 1.0.0e 6 Sep 2011′ headers, but linked to OpenSSL version ‘OpenSSL 1.0.1 14 Mar 2012′ libraryDevNull proftpd[6863]: mod_tls_memcache/0.1: notice: unable to register ‘memcache’ SSL session cache: Memcache support not enabled

    • Pat

      Hi Jason – Do you have a fix for this ? I too have this SSL problem  . . .

      • Jason Pitts

        I gave up trying to get PROFTPD to work and ended up installing vsftpd. It has been awhile, but I remember that it ended up being much easier to install and setup and I have been using it flawlessly since.

      • Guy Schwartz

        Hi Pat

        I did the following:
        nano /etc/proftpd/modules.conf

        #LoadModule mod_tls.c
        #LoadModule mod_sftp.c
        #LoadModule mod_sftp_pam.c
        #LoadModule mod_tls_memcache.c

        service proftpd restart

        All working fine with no errors messages.

        The OpenSSL it is complaining about if for Secure FTP which I did not require

        • AJ

          Thank you .. very helpful

        • AJ

          Thank you .. very helpful

        • http://twitter.com/macruise Patrick Thimbleby

          Thanks !

  • Pingback: Proftpd server | Kerriganmeats

  • Fred

    don’t give up on proftpd! Here is a guide for 12.04

    http://ubuntuserverhelp.com/simple-proftpd-installation/

  • http://cyrilis.com/ Cyril

    Thanks dude , It’s easier than vsftpd, to me .

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

cave

|

it can be used to talk or chat through the internet,

it is using strong encryption.

but for example TOR is using some obfuscation because some countrys try to block all outgoing connections which can not be scanned with DPI

And the TOR Project is facing an arms race in obfuscation and encryption detection.

cave

|

You can friend someone if you give him your public Certificate.

both peers must friend each other.

i suggest to not enter a valid e-mail address. it is not necessary, but pgp needs a mail addy. something@something.so fits perfectly… :)

http://redd.it/18vsq5 <– faq, featurelist, todo, howto, useful links to manual wiki etc, …

you can connect to chatservers, which will give you access to chatlobby, where always some people are lurking.

#1 https://www.f2f-fr.net/w2c/en/
#2 http://retrosharechatserver.no-ip.org/w2c/en/

and in this rooms, you can find other people to talk and friend.

cave

|

http://redd.it/18vsq5
please have a look at this link. it is a FAQ, QuickTip, HowTo, etc etc etc …

If you want to make friends, please use the Chatservers.
#1 https://www.f2f-fr.net/w2c/en/
#2 http://retrosharechatserver.no-ip.org/w2c/en/

if you enter your certificate, the chatserver adds you as his friend and shows his certificate too add him to your friends.

After the connection to the chatservers is established, you can join a few chatrooms where the chatserver is lurking.

in this rooms are other people too help you and make first friends and get into the network.

add friends only with wisdom. if you friend some policeman, it will be problematic like in real life.

best is to add only people you trust in real life or trust from other communitys too. and not to add random unkown strangers.

If you have questions, ask them in the chatlobbys, there is always someone to answer them.

please read http://redd.it/18vsq5

or question me here :)

Ladi Oyekanmi

|

Could you please assist in step by step on how to install nagios on solaris

Adhraa

|

Greate tutorial :)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .