0. 安装必要的软件。
1. Server端写一个/etc/exports,例如:
/tmp/nfs 192.168.208.3(rw)
2. 然后启动服务:
/etc/init.d/portmap restart
/etc/init.d/nfs restart
基本上这样就好了。
3. 看nfs导出的目录:
exportfs -v
4. 客户端mount一把就OK:
mount 192.168.208.2:/tmp/nfs /tmp/a -o rw,soft
5. 似乎要把服务端导出的目录设置成other可写才能在客户端写数据,??
详细的HOWTO在这里。
此贴持续保持更新。
首先找一个既有的搜索引擎描述信息,这里用的是ASK.COM:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Created on Tue, 17 Jul 2007 21:17:31 GMT -->
<ShortName>Ask.com</ShortName>
<Description>Get more with each search.</Description>
<Url type="text/html" method="get" template="http://www.ask.com/web?q={searchTerms}&qsrc=145&o=ffx"/>
<Url type="application/x-suggestions+json" template="http://ss.ask.com/query?q={searchTerms}&li=ff"/>
<Image width="16" height="16">http://mycroft.mozdev.org/updateos.php/id0/ask16x16.ico</Image>
<Developer>Valerie Lanard</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>http://www.ask.com</moz:SearchForm>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
然后修改之,成为如下内容:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Created on Fri Oct 10 10:24:18 CST 2008 -->
<ShortName>Google缈昏瘧</ShortName>
<Description>Get more with each search.</Description>
<Url type="text/html" method="get" template="http://translate.google.com/translate_t#en|zh-CN|{searchTerms}"/>
<Developer>SEATLE</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>http://translate.google.com</moz:SearchForm>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
乱码部分是因为我用了UTF8编码。把它放到C:\Program Files\Mozilla Firefox\searchplugins目录下,重启Firefox就行了。
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Created on Tue, 17 Jul 2007 21:17:31 GMT -->
<ShortName>Ask.com</ShortName>
<Description>Get more with each search.</Description>
<Url type="text/html" method="get" template="http://www.ask.com/web?q={searchTerms}&qsrc=145&o=ffx"/>
<Url type="application/x-suggestions+json" template="http://ss.ask.com/query?q={searchTerms}&li=ff"/>
<Image width="16" height="16">http://mycroft.mozdev.org/updateos.php/id0/ask16x16.ico</Image>
<Developer>Valerie Lanard</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>http://www.ask.com</moz:SearchForm>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
然后修改之,成为如下内容:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Created on Fri Oct 10 10:24:18 CST 2008 -->
<ShortName>Google缈昏瘧</ShortName>
<Description>Get more with each search.</Description>
<Url type="text/html" method="get" template="http://translate.google.com/translate_t#en|zh-CN|{searchTerms}"/>
<Developer>SEATLE</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>http://translate.google.com</moz:SearchForm>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
乱码部分是因为我用了UTF8编码。把它放到C:\Program Files\Mozilla Firefox\searchplugins目录下,重启Firefox就行了。
定制Firefox搜索引擎,在GoogleTranslate的基础上实现翻译功能
首先找一个既有的搜索引擎描述信息,这里用的是ASK.COM:
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
Ask.com
Get more with each search.
http://mycroft.mozdev.org/updateos.php/id0/ask16x16.ico
Valerie Lanard
UTF-8
http://www.ask.com
7
然后修改之,成为如下内容:
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
Google缈昏瘧
Get more with each search.
SEATLE
UTF-8
http://translate.google.com
7
乱码部分是因为我用了UTF8编码。把它放到C:\Program Files\Mozilla Firefox\searchplugins目录下,重启Firefox就行了。
然后修改之,成为如下内容:
乱码部分是因为我用了UTF8编码。把它放到C:\Program Files\Mozilla Firefox\searchplugins目录下,重启Firefox就行了。
SecureCRT+publickey登录OpenSSH服务器
SecureCRT使用的key格式和OpenSSH不同,以前查出个链接有说明的,忘记了。
经过一番试验,发现下面方法可以用:
经过一番试验,发现下面方法可以用:
- 先在SecureCRT中产生key,文件名缺省是Identity和Identity.pub。
- 然后把上述两个文件复制到服务器上的~/.ssh/目录下,把Identity改成id_rsa。我用的是RSA算法。
- 把公钥转成OpenSSH格式:ssh-keygen -i,敲入命令后按照提示敲回车即可。
找回最早的博客
今天偶尔在blogspot上发现,seatle.blogspot.com是我四年前注册的!我只记得05年一月份注册了MSN空间,没想到更早的时候还注册了另外一个博客~~~
感谢blogspot一直为我保留着博客空间,我很喜欢seatle这个名字。
感谢blogspot一直为我保留着博客空间,我很喜欢seatle这个名字。
訂閱:
文章 (Atom)