InstallationguideofProftponSolaris

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

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)

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航