<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stephenyeong&#039;s blog &#187; proftpd</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/tag/proftpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Blog about my IT life</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:41:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Openfiler upgrade proftpd to 1.33</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/openfiler-proftpd-1-33-2/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/openfiler-proftpd-1-33-2/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 03:12:51 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[proftpd]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=532</guid>
		<description><![CDATA[前幾日又被人追問點設定, 不幸地之前 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 &#38; 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. [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/03/openfiler-proftpd-1-33-2/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>前幾日又被人追問點設定, 不幸地之前 DROP 下的NOTES 不見了. 結果今早在VM下由頭SET一次.</p>
<h3>1. Install related component</h3>
<pre class="brush:shell">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
</pre>
<h3>2. Download &amp; extract proftpd (in this case 1.3.3 )</h3>
<pre class="brush:shell">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
</pre>
<h3>3. Config &amp; Compile</h3>
<p>makesure proftpd ( ftp service ) stopped before "make install".</p>
<pre class="brush:shell">./configure --prefix=/usr --sysconfdir=/etc/proftpd --localstatedir=/var/run --enable-nls --enable-auth-pam

make

make install
</pre>
<h3>4. modify generate.inc</h3>
<p>因為proftpd自1.3.2開始有一句config改了syntex, 所以openfiler要修改一下才能正常generate出1.32以後的proftpd.conf</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/1.-proftpd-fail-to-start.png" rel="lightbox[532]" title="1. proftpd fail to start"><img class="alignnone size-medium wp-image-535" title="1. proftpd fail to start" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/1.-proftpd-fail-to-start-300x90.png" alt="" width="300" height="90" /></a></p>
<p>Modify openfiler web generate.inc</p>
<pre class="brush:shell">vi ./opt/openfiler/var/www/includes/generate.inc
</pre>
<p>find</p>
<p>$ac_ftp_fp-&gt;AddLine("DisplayFirstChdir\t\t.message");</p>
<p>replace with</p>
<p>$ac_ftp_fp-&gt;AddLine("DisplayChdir\t\t.message");</p>
<p>修改完後到share edit 再 update 令openfiler更新一次proftpd.conf</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/2.-update-share-setting.png" rel="lightbox[532]" title="2. update share setting"><img class="alignnone size-medium wp-image-536" title="2. update share setting" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/2.-update-share-setting-300x219.png" alt="" width="300" height="219" /></a></p>
<p>這樣就可以start ftp service.</p>
<p>1.3.3 已解決MLST不能正常進入有"[]"的路徑問題. 所以不用disable mod-facts</p>
<p>關於1.3.2 的問題和解決方法.</p>
<p><a href="http://forum.filezilla-project.org/viewtopic.php?f=2&amp;t=13555" target="_blank">FileZilla Forums • View topic &#8211; 550 error on certain characters</a></p>
<p><a href="http://pank.org/blog/2009/02/disable-proftpd-132-mod-facts.html">Disable ProFTPD 1.3.2 mod_facts</a></p>
<h3>5. Completed &amp; Test</h3>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/5.-feat.png" rel="lightbox[532]" title="5. feat"><img class="alignnone size-medium wp-image-539" title="5. feat" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/5.-feat-300x191.png" alt="" width="300" height="191" /></a><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/3.-ftp-done.png"></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/3.-ftp-done.png" rel="lightbox[532]" title="3. ftp done"><img class="alignnone size-medium wp-image-537" title="3. ftp done" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/3.-ftp-done-300x222.png" alt="" width="300" height="222" /></a><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/4.-bracket-folder-pass.png"></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/4.-bracket-folder-pass.png" rel="lightbox[532]" title="4. bracket folder pass"><img class="alignnone size-medium wp-image-538" title="4. bracket folder pass" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/4.-bracket-folder-pass-300x222.png" alt="" width="300" height="222" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/openfiler-proftpd-1-33-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

