贊助商連結

安裝 pure-ftpd

by undefined

作業環境:

  • FreeBSD 6.2-STABLE
  • pure-ftpd 1.0.21

1.編輯 Makefile

增加 --with-language=traditional-chinese

1
2
3
4
5
6
7
CONFIGURE_ARGS=--with-everything \
--with-paranoidmsg \
--with-virtualchroot \
--with-tls \
--with-largefile \
--with-language=traditional-chinese \
--sysconfdir=${PREFIX}/etc

2.安裝 pure-ftpd

1
2
[[email protected] ~]#cd /usr/ports/ftp/pure-ftpd
[[email protected] pure-ftpd]#make install clean

3.Options for pure-ftpd 1.0.21_1

1
2
3
4
5
[X] MYSQL          Support for users in MySQL database
[X] PAM Support for PAM authentication
[X] THROTTLING Bandwidth throttling
[X] BANNER Show pure-ftpd welcome upon session start
[X] SENDFILE Support for the sendfile syscall

4.修改設定檔

1
2
3
[[email protected] ~]#cd /usr/local/etc/
[[email protected] etc]#cp pure-ftpd.conf.sample pure-ftpd.conf
[[email protected] etc]#joe pure-ftpd.conf


喜歡我們的文章可以按上面的 LIKE 給我們鼓勵喔!