Khwooo’s Weblog

August 30, 2005

Proftpd 啟動方式

Filed under: freebsd — khwooo @ 11:26 pm

根據官方proftpd手冊上的說明,proftpd有兩種啟動方式:

1.
由 /usr/local/etc/rc.d/proftpd.sh 啟動
必須於 /etc/rc.conf 中加入 proftpd_enable=yes
2.
由 inetd啟動
必須編輯 /etc/inetd.conf
註解原本的ftp service 接著加入下行
ftp stream tcp nowait root /usr/local/libexec/proftpd proftpd
存檔後重新啟動 inetd
kill -HUP `cat /var/run/inetd.pid `

啟動後可以telnet 21看是否成功。

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: