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)
Comments
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?
Got the dir creation problem. The FTP root folder has to be the ftpuser home directory.
Why add apache?!
For PHPMyAdmin. If you prefer to add the FTP users on the shell, then don't install apache.
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.