Comments on Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Ubuntu 14.04LTS

This document describes how to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database. This tutorial is based on Ubuntu 14.04.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Peter

 Thanks for this tutorial.

The user and group id cannot be below 1000. They can't just be any free id. PureFTPd syslogs some weird errors ( account disabled ).

In my setup I could not have pureftpd create the directory automatically. Is this some extra setting?

By: peter

Got the dir creation problem. The FTP root folder has to be the ftpuser home directory.

By: R

Why add apache?!

By: till

For PHPMyAdmin. If you prefer to add the FTP users on the shell, then don't install apache.

By: Enric

Hello. I followed this tutorial for ubuntu 16.04. And when I put all the data to connect with filezilla I get this error. Connection attempt failed with "ECONNREFUSED - Connection refused by server".Also tested from the ubuntu terminal and I get connection refusedAnyone know how I can solve it?Thank you very much.