Example installation step base on "OS5.7, C compiler2.95.3 and Proftp1.2.5".
1. Download relation Software
Proftp1.2.5-"ftp.proftpd.net"--"proftpd-1.2.5rc1.tar.gz"
C compiler2.95.3 for OS5.7--"http://www.sunfreeware.com"--"gcc-2.95.3-sol7-sparc-local.gz"
2.uncompress the Software
#gzcat proftpd-1.2.5rc1.tar.gz | tar xvf -
#/usr/dist/exe/gzunzip -d gcc-2.95.3-sol7-sparc-local.gz
3.Install C compiler
#pkgadd -d gcc-2.95.3-sol7-sparc-local
4.Configure the CC
#CC=/usr/local/bin/gcc;export CC
5.Install Proftp
Fristly,change into Proftp directory
#./configure
#make
#make install
6.Configure the Proftp
There are tow most important file-- "/usr/local/etc/proftpd.conf" and "/usr/local/sbin/proftpd"
1).vi /etc/inetd.conf
change...
"ftpstreamtcpnowaitroot/usr/sbin/in.ftpdin.ftpd"
to ...
"ftpstreamtcpnowaitroot/usr/local/sbin/proftpdproftpd"
2).vi /usr/local/etc/proftpd.conf
change...
"ServerTypestandalone"
to...
"ServerTypeinetd"
7.Start up the Proftp
#/etc/init.d/inetint stop
#/etc/init.d/inetinit start
#/etc/init.d/inetsvc stop
#/etc/init.d/inetsvc start
OR....
#reboot
if u got the "220 ProFTPD 1.2.5rc1 Server (ProFTPD Default Installation)" prompt, that means u success.
8.Configure the security of "Proftp"
#vi /usr/local/etc/proftpd.conf
(just add one line)
DefaultRoot ~ ftpusers
(...ftpusers is the "group", the group u want to resist)