Difference between revisions of "install pureftpd from source"

From WebHostingNeeds.com
Jump to: navigation, search
m (Download and Install)
m (Download and Install)
 
Line 11: Line 11:
 
<pre>
 
<pre>
 
cd /usr/local/src
 
cd /usr/local/src
wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.37.tar.gz
+
wget https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.41.tar.gz
tar -zxvf pure-ftpd-1.0.37.tar.gz
+
tar -zxvf pure-ftpd-1.0.41.tar.gz
 
cd pure-ftpd-1.0.*
 
cd pure-ftpd-1.0.*
 
./configure
 
./configure

Latest revision as of 17:35, 25 February 2017

Find Latest Version

Go to

http://download.pureftpd.org/pub/pure-ftpd/releases/

and find latest version download link.

Download and Install

cd /usr/local/src
wget https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.41.tar.gz
tar -zxvf pure-ftpd-1.0.41.tar.gz
cd pure-ftpd-1.0.*
./configure
make
make check
make install

For MySQL support, configure it with

./configure --with-mysql --with-uploadscript --with-extauth

The software is now installed in /usr/local/sbin/pure-ftpd

To launch the server, just type the following command:

/usr/local/sbin/pure-ftpd &

Start pureftpd on boot

cp contrib/redhat.init /etc/init.d/pure-ftpd
chmod 755 /etc/init.d/pure-ftpd
chkconfig --add pure-ftpd
chkconfig --level 3 pure-ftpd on


Configuration Files

cp configuration-file/pure-ftpd.conf /etc
cp configuration-file/pure-config.pl /usr/local/sbin/pure-config.pl
chmod 744 /etc/pure-ftpd.conf
chmod 755 /usr/local/sbin/pure-config.pl

You need to edit configuration file now.

vi /etc/pure-ftpd.conf

Set following values

UnixAuthentication            yes
#MinUID                      100

UnixAuthentication allow system users login through FTP.

I used to uncomment MinUID on my servers, so i can login to FTP as root. This is not secure, but i like to do it :)

Start and Stop PurdFTPd

service pure-ftpd stop
service pure-ftpd start
service pure-ftpd status