To compile and install proftpd from scratch, follow these directions (uses version 1.3.1 in this example):
|
wget http://files.directadmin.com/services/customapache/proftpd-1.3.1.tar.gz |
Then restart proftpd.
If you need a new /etc/proftpd.conf file, you can get the DA template from /usr/local/directadmin/data/templates/proftpd.conf. The 2 files should be very similar.
* Note, if you use the template, you have to replace the 1 instance of |SERVER_IP| with your actual server IP address.
* Note, prefix on Linux is --prefix=/usr
If, after this compile, when you telnet to port 21, you see:
220 ProFTPD 1.3.1 Server (ProFTPD Default Installation) [127.0.0.1]
This would imply that proftpd is using a different proftpd.conf. Run the following to link this other proftpd.conf to the current one:
|
rm -f /usr/local/etc/proftpd.conf |
The telnet to 21 should look like:
|
server# telnet localhost 21 |