Debianhelp.co.uk

Pureftpd Server installation from source

 If you want to install pureftpd server from source you need download the source from here

We have many advantages installing from source because you can choose which options or modules support you need for your proftpd server installation

Installation

#wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.20.tar.gz

Now we need to ungzip it and cd to the dir.

#tar zxvf pure-ftpd-1.0.20.tar.gz

#cd pure-ftpd-1.0.20

Now, we need to run configure so that once we compile and install the program we end up with the options we want. PureFTPd has many options available, we will be covering only a handful of them here, but if you would like to see the entire list and review it for any additional options you might want to add before compiling simply type the following command:

./configure --help

For the purposes of this tutorial we will be using the following flags with our configure:

--with-ftpwho -Enables support for the 'pure-ftpwho' command which we will see later.

--with-paranoidmsg -Login failures will always show the same message regardless of error

--with-puredb -Enables support for virtual users which we will see later.

--with-privsep -Enables privledge separation for increased security.

--with-quotas -Enables virtual quotas, helps keep disk hogs under control

--without-banner -Don't display the initial banner.

So now we have decided on the options we want type the following at your terminal prompt:

#./configure --with-ftpwho --with-paranoidmsg --with-puredb --with-privsep --with-quotas --without-banner

That will take a few moments, then when the system returns the prompt to your control enter the following command:

#make

Wait until make has finished, and then, assuming there were no errors encountered change to root and install the package as follows:

#su -

#password

#make install

Now Installation completed.If you want know more installation options click here

If you want to configure your proftpd server follow this link .