This is my first tutorial 
Pure-ftpd XplOzIve Tutorial v1 by xplozion
Before we start installing this lets make sure we have the next packages installed: copy & paste in terminal
Code:
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql libapache2-mod-auth-mysql php5-mysql build-essential phpmyadmin libmysqlclient15off openssl libssl-dev
sudo apt-get install libmysqlclient15-dev
Setting up mysql password:
Code:
mysqladmin -u root password YourPasswordHere
Now logged as the user you want to run the server go to its home and download the packages we need. Lets start with pure-ftpd
Code:
wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.21.tar.gz
After downloading lets untar it (Note that im using latest release when this tutorial was made)
Code:
tar -xvvzf pure-ftpd-1.0.21.tar.gz
With the folder there lets change its name
Code:
mv pure-ftpd-1.0.21/ pure-ftpd
now go into the folder 'cd pure-ftp/'
Time to configure and compile
Code:
./configure --with-everything --with-paranoidmsg --with-virtualchroot --with-tls --with-largefile --with-mysql
make
make install
If theres a error here if because some missed packages, just install it via 'sudo apt-get -y install package name'
Now its time to download our Web manager (Machiel's User manager for PureFTPd)
Code:
cd ..
wget http://machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz
tar -xvvzf pureftpd/ftp_v2.1.tar.gz
Once we have the it, we need move our new 'ftp' folder to wwwroot path (Note this path changes if your default www root folder is different)
Code:
mv ftp/ /var/www/
sudo chown www-data /var/www/ftp -R
Now we need to configure our new pure-ftpd web manager and for that we go to http://localhost/ftp/install.php
This web based pure-ftpd manager its pretty simple to follow and i think you wont be having any problems 
Now remember to copy and paste the file for pureftpd-mysql.conf (The content of this file is given by the manager)
Options for pure-ftpd server:
There are many ways and differents styles and settings. You can check all the options here http://jeanmatthieu.free.fr/pureftpd...pure-ftpd.html
Starting our pure-ftpd server
Now will all done lets start our pure-ftpd server:
Code:
pure-ftpd -l mysql:/home/myuser/pure-ftpd/pureftpd-mysql.conf &
This way it will run in the backgroud. Have fun 
******* IMPROVEMENTS *******
This are things that id like to add to this tutorial but since i am not a linux expert cant really tell how to do it:
1. Stating pure-ftpd when linux starts.
2. Web stats for FTP transfer (Adding it to this tutorial in a few).
******* KNOW ISSUES *******
1. For some reason it wont let me login using SSL. But TLS does work.
2. Using the FXP protocol gives me real slow speed(100kb/s)
Bookmarks