安裝 pure-ftpd
作業環境:
- FreeBSD 6.2-STABLE
- pure-ftpd 1.0.21
1.編輯 Makefile
增加 --with-language=traditional-chinese
CONFIGURE_ARGS=--with-everything \
--with-paranoidmsg \
--with-virtualchroot \
--with-tls \
--with-largefile \
--with-language=traditional-chinese \
--sysconfdir=${PREFIX}/etc
2.安裝 pure-ftpd
[root@sun ~]#cd /usr/ports/ftp/pure-ftpd
[root@sun pure-ftpd]#make install clean
3.Options for pure-ftpd 1.0.21_1
[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.修改設定檔
[root@sun ~]#cd /usr/local/etc/
[root@sun etc]#cp pure-ftpd.conf.sample pure-ftpd.conf
[root@sun etc]#joe pure-ftpd.conf