Openfiler upgrade proftpd to 1.33
2010年3月15日
評論已關閉
前幾日又被人追問點設定, 不幸地之前 DROP 下的NOTES 不見了. 結果今早在VM下由頭SET一次.
1. Install related component
conary update gcc gcc:devel conary update libtool libtool:devel conary update glib glib:devel conary update glibc glibc:devel conary update automake autoconf pkgconfig conary update gcc-c++ conary update pam:devel
2. Download & extract proftpd (in this case 1.3.3 )
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3.tar.gz tar -zxf proftpd-1.3.3.tar.gz cd proftpd-1.3.3
3. Config & Compile
makesure proftpd ( ftp service ) stopped before “make install”.
./configure --prefix=/usr --sysconfdir=/etc/proftpd --localstatedir=/var/run --enable-nls --enable-auth-pam make make install
4. modify generate.inc
因為proftpd自1.3.2開始有一句config改了syntex, 所以openfiler要修改一下才能正常generate出1.32以後的proftpd.conf
Modify openfiler web generate.inc
vi ./opt/openfiler/var/www/includes/generate.inc
find
$ac_ftp_fp->AddLine(“DisplayFirstChdir\t\t.message”);
replace with
$ac_ftp_fp->AddLine(“DisplayChdir\t\t.message”);
修改完後到share edit 再 update 令openfiler更新一次proftpd.conf
這樣就可以start ftp service.
1.3.3 已解決MLST不能正常進入有”[]”的路徑問題. 所以不用disable mod-facts
關於1.3.2 的問題和解決方法.
FileZilla Forums • View topic – 550 error on certain characters
Disable ProFTPD 1.3.2 mod_facts