NEXUCOM - Support / Knowledge Base


Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


How to Compiling Proftpd [DirectAdmin]

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
tar xvzf proftpd-1.3.1.tar.gz
cd proftpd-1.3.1
install_user=ftp install_group=ftp ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var/run --mandir=/usr/local/man --without-pam --disable-auth-pam --with-modules=mod_ratio:mod_readme LDFLAGS=-static
make
make install



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
ln -s /etc/proftpd.conf /usr/local/etc/proftpd.conf



The telnet to 21 should look like:

 

server# telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ProFTPD 1.3.1 Server ready.

 


 





RSS

Services d'Hébergement: Hébergement Web | Serveurs Dédiés | Streaming | Colocation Serveurs | Nom de Domaine | Support |

Hosting Services: Web Hosting | Dedicated Servers | Streaming | Servers Colocation | Domain Name | Support |

Services: | Hébergement | Serveurs | Colocation |

Copyright © 2003-2008. NEXUCOM, All Rights Reserved.

Mascot - Mascots - DirectAdmin - big - mf - Boiler Biomass - Mascottes - Mascots - Webmail - gt - Chaudière Biomasse - Mascottes - Mascotte -

statistics