ProFTPD is available to download from http://www.proftpd.org/
Extract the source archive:-
gunzip proftpd-1.3.0.tar.gz tar -xvf proftpd-1.3.0.tar cd proftpd-1.3.0
Read the INSTALL document. This will give details of the installation process and any specific things you need to be aware of.
Locate any previous installation, possibly in /usr/local/sbin/
The configuration file is usually located in /usr/local/etc/
Quite simple this one:-
./configure make make install
Examine /usr/local/etc/proftpd.conf and make any relevant changes.
ServerIdent is an optional command and will suppress the name/ID of the server software you're running - so hackers won't know what version of ProFTPD you're running.
ServerName "your.server.name" ServerType standalone ServerIdent off User nobody Group nobody DefaultRoot ~ AllowOverwrite on
Comment out all the stuff about anonymous logins (unless you want them) by inserting a # at the beginning of every line from <anonymous> to </anonymous>
You can check the version by typing
/usr/local/sbin/proftpd -v
Lastly, run it by typing
/usr/local/sbin/proftpd
You may want to add this to your /etc/rc.d/rc.local file if you want ProFTPD to automatically start each time you boot your server.
![]() ![]() /td> |