<?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>ERAWTFOS SOFTWARE &#187; custom server</title>
	<atom:link href="http://www.erawtfos.com/tag/custom-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.erawtfos.com</link>
	<description>doskey&#039;s blog</description>
	<lastBuildDate>Tue, 13 Sep 2011 17:50:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>用自建FTP代替xmarks服务器</title>
		<link>http://www.erawtfos.com/2009/10/24/%e7%94%a8%e8%87%aa%e5%bb%baftp%e4%bb%a3%e6%9b%bfxmarks%e6%9c%8d%e5%8a%a1%e5%99%a8/</link>
		<comments>http://www.erawtfos.com/2009/10/24/%e7%94%a8%e8%87%aa%e5%bb%baftp%e4%bb%a3%e6%9b%bfxmarks%e6%9c%8d%e5%8a%a1%e5%99%a8/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 18:11:02 +0000</pubDate>
		<dc:creator>doskey</dc:creator>
				<category><![CDATA[河蟹]]></category>
		<category><![CDATA[custom server]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[xmarks]]></category>

		<guid isPermaLink="false">http://www.erawtfos.com/?p=250</guid>
		<description><![CDATA[<a href="http://www.erawtfos.com/2009/10/24/%e7%94%a8%e8%87%aa%e5%bb%baftp%e4%bb%a3%e6%9b%bfxmarks%e6%9c%8d%e5%8a%a1%e5%99%a8/" title="用自建FTP代替xmarks服务器"></a>Firefox的书签同步插件xmarks前两天被gfw封锁了。正常方法无法同步书签了。让人很是恼火。今天再xmarks的设置中看见可以自定义服务器。尝试了一下，确实可用！ 这里就说一下如何搭建吧。爬墙去xmarks的wiki上查阅了详细信息。其实这种同步方式非常非常简单，并且支持很多种协议，按照wiki的说法，只要是Firefox自己支持的协议如（ftp、http、https等）它都可以支持。我在这里就选用了最简单的方法，FTP。只要你有任意一台有写权限的FTP即可。无需过多设置即可让xmarks从它上面同步书签。首先要说的是，如果要自定义服务器的话，不要再用配置向导，它是默认连接xmarks官方服务器的。 具体看以下步骤： 为FTP创建一个独立的帐号和密码。也可以使用现有的帐号，但是最好还是分开。（个人觉得会比较安全） 创建任意一个目录用来保持书签和密码，如xmarks，然后记下这个目录的全路径如：ftp://ftp.example.com/xmarks 将这个文件夹的访问权限设置为777（Win服务器可以跳过这一步） 打开xmarks的设置对话框，找到“高级”页面中最下面的“服务器”，将“使用自己的服务器”打钩 弹出对话框会让你输入自己的服务器网址和密码网址。你服务器地址你可以输入：ftp://ftp.example.com/xmarks/bookmarks.json 如果你要保持密码的话，输入：ftp://ftp.example.com/xmarks/password.json （注意，这两个地址必须是文件，不能是目录。文件名可以自己指定。这两个地址最好不要透露给其他人。 切到设置里的状态页面，在帐户里面设置你ftp的用户名和密码。 然后再次切回高级页面，点选强制覆盖服务器书签后的上传按钮。如果同步成功，应该会有提示，并且在FTP上可以看到书签和密码文件。 然后就大功告成了。Have fun.]]></description>
			<content:encoded><![CDATA[<a href="http://www.erawtfos.com/2009/10/24/%e7%94%a8%e8%87%aa%e5%bb%baftp%e4%bb%a3%e6%9b%bfxmarks%e6%9c%8d%e5%8a%a1%e5%99%a8/" title="用自建FTP代替xmarks服务器"></a><p><a href="http://www.firefox.com" target="_blank">Firefox</a>的书签同步插件<a href="http://www.xmarks.com/" target="_blank">xmarks</a>前两天被gfw封锁了。正常方法无法同步书签了。让人很是恼火。今天再xmarks的设置中看见可以自定义服务器。尝试了一下，确实可用！</p>
<p>这里就说一下如何搭建吧。爬墙去<a href="http://www.xmarks.com/" target="_blank">xmarks</a>的<a href="http://wiki.foxmarks.com/wiki/Foxmarks:_Using_Your_Own_Server" target="_blank">wiki</a>上查阅了详细信息。其实这种同步方式非常非常简单，并且支持很多种协议，按照wiki的说法，只要是<a href="http://www.firefox.com" target="_blank">Firefox</a>自己支持的协议如（ftp、http、https等）它都可以支持。我在这里就选用了最简单的方法，FTP。只要你有任意一台有写权限的FTP即可。无需过多设置即可让<a href="http://www.xmarks.com/" target="_blank">xmarks</a>从它上面同步书签。首先要说的是，如果要自定义服务器的话，不要再用配置向导，它是默认连接<a href="http://www.xmarks.com/" target="_blank">xmarks</a>官方服务器的。</p>
<p>具体看以下步骤：</p>
<ol>
<li>为FTP创建一个独立的帐号和密码。也可以使用现有的帐号，但是最好还是分开。（个人觉得会比较安全）</li>
<li>创建任意一个目录用来保持书签和密码，如xmarks，然后记下这个目录的全路径如：<a href="ftp://ftp.example.com/xmarks" target="_blank">ftp://ftp.example.com/xmarks</a></li>
<li>将这个文件夹的访问权限设置为777（Win服务器可以跳过这一步）</li>
<li>打开xmarks的设置对话框，找到“高级”页面中最下面的“服务器”，将“使用自己的服务器”打钩</li>
<li>弹出对话框会让你输入自己的服务器网址和密码网址。你服务器地址你可以输入：<a href="ftp://ftp.example.com/xmarks/bookmarks.json" target="_blank">ftp://ftp.example.com/xmarks/bookmarks.json</a> 如果你要保持密码的话，输入：<a href="ftp://ftp.example.com/xmarks/password.json" target="_blank">ftp://ftp.example.com/xmarks/password.json</a> （注意，这两个地址必须是文件，不能是目录。文件名可以自己指定。这两个地址最好不要透露给其他人。</li>
<li>切到设置里的状态页面，在帐户里面设置你ftp的用户名和密码。</li>
<li>然后再次切回高级页面，点选强制覆盖服务器书签后的上传按钮。如果同步成功，应该会有提示，并且在FTP上可以看到书签和密码文件。</li>
</ol>
<p>然后就大功告成了。Have fun. <img src='http://www.erawtfos.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.erawtfos.com/2009/10/24/%e7%94%a8%e8%87%aa%e5%bb%baftp%e4%bb%a3%e6%9b%bfxmarks%e6%9c%8d%e5%8a%a1%e5%99%a8/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

