Setup FTP Server with MySQL Support on Ubuntu 10.04+
It’s easy to setup an FTP server in Ubuntu. Just follow the following steps below:
First, install the pure-fptd and pure-ftpd-mysql package.
sudo apt-get install pure-ftpd pure-ftpd-mysql
After installation, download the following package:
http://machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz
or check the latest version from this site:
http://machiel.generaal.net/index.php?subject=user_manager_pureftpd&button=download
Extract the files inside your web server. This tutorial assumes that you have already a MySQL server running. If not, click on this tutorial to install it.
To access the installation page, go to: http://localhost/ftp/install.php and follow through the installation process.
After the installation, a configuration file for MySQL will be shown to you. Copy all the contents and overwrite the mysql.conf file.
sudo gedit /etc/pure-ftpd/db/mysql.conf
After saving the file, restart the pure-ftpd-mysql service.
sudo service pure-ftpd-mysql restart
That’s it, you now have an FTP server running on your system.
To access the user management interface of your FTP server, go to http://localhost/ftp.
After successfully logging in, you will then be redirected to the user management interface.
Here, you will be able to manage your users and set upload and download limits. Also, the working directory for each user can be set as well.


Trackbacks & Pingbacks