ProFtpd快速指南(三) |
发布时间: 2012/8/14 11:29:58 |
然后运行命令:
[root@ftpdrc3.d]#chkconfig--level35proftpdon 则下次系统启动以后,proftpd将自动启动。 最后,需要确保系统当前没有ftp服务器在运行: [root@ftpd/]#netstat-ln 若输出中不包含: tcp000.0.0.0:210.0.0.0:*LISTEN 这样的内容则可以直接启动proftpd,否则需要关闭以前的ftpd服务器。对于一般的缺省Linux安装来说,则需要通过以下的途径来关闭ftp服务器: 编辑/etc/inetd.conf文件,在: ftpstreamtcpnowaitroot/usr/sbin/tcpdin.ftpd-l-a 一行前加上#: #ftpstreamtcpnowaitroot/usr/sbin/tcpdin.ftpd-l-a 然后: [root@ftpd!/]#psax|grepinetd 350?S0:00inetd 得到inetd的进程号,重新启动inetd进程: [root@ftpd/]#kill-HUP350 然后通过如下命令启动proftpd: [root@ftpd/]#/etc/rc.d/init.d/proftpdstart 本文出自:亿恩科技【www.enkj.com】 |