<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>原子菌</title>
    <description></description>
    <link>http://lluckl.javaeye.com</link>
    <language>UTF-8</language>
    <copyright>Copyright 2003-2008, JavaEye.com</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>JavaEye - 做最棒的软件开发交流社区</generator>
      <item>
        <title>欢迎来的原子菌个人blog: Http://worldana.cn,为您提供有趣的个人语录服务</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/169954" style="color:red;">http://lluckl.javaeye.com/blog/169954</a>&nbsp;
          发表时间: 2008年03月10日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          欢迎来的原子菌个人blog: Http://worldana.cn,为您提供有趣的个人语录服务
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/169954#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 10 Mar 2008 19:55:20 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/169954</link>
        <guid>http://lluckl.javaeye.com/blog/169954</guid>
      </item>
      <item>
        <title>Php Encoding</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134541" style="color:red;">http://lluckl.javaeye.com/blog/134541</a>&nbsp;
          发表时间: 2007年10月18日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>Mysql using utf8;</div>
<div>so when&nbsp;Rails and Php query records from
tables should set encoding=utf8;</div>
<div>about Rails refer another article;</div>
<div>and the php,first be sure the editor save php file set the
encoding utf8;</div>
<div>before query,add <font color="#CC3333">mysql_query("set names
utf8")</font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134541#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 18 Oct 2007 15:16:40 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134541</link>
        <guid>http://lluckl.javaeye.com/blog/134541</guid>
      </item>
      <item>
        <title>How to install Smarty in Windows</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134542" style="color:red;">http://lluckl.javaeye.com/blog/134542</a>&nbsp;
          发表时间: 2007年10月17日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          Installing Smarty in Windows<br />
<br />
This document assumes that your webserver and php5 is
running.<br />
<br />
Download Smarty - <a href="http://smarty.php.net/">http://smarty.php.net</a><br />
<br />
Installation - Windows, IIS/Apache, PHP5<br />
Extract files, rename Smarty.x.x.x to smarty (suggest OUTSIDE of
your www root!)<br />
Example: d:\smarty<br />
Run phpinfo.php to find out your php.ini location<br />
Edit php.ini's include_path and add the location of the libs
folder.<br />
example: include_path = ".;d:\smarty\libs"<br />
Restart IIS/Apache<br />
Setup these two folders INSIDE your www root:<br />
(wwwroot)/smarty/templates&nbsp; (this is where your
templates will go)<br />
(wwwroot)/smarty/configs<br />
<br />
Setup these two folders OUTSIDE of your www root:<br />
d:/smarty/templates_c<br />
d:/smarty/cache<br />
<br />
Setup security settings for the webserver to write to these four
folders<br />
<br />
In (wwwroot) create index.php and in
(wwwroot)/smarty/templates/index.tpl with the following code:<br />
<br />
index.php:<br />
&lt;?php<br />
<br />
// load Smarty library<br />
require('Smarty.class.php');<br />
<br />
$smarty = new Smarty;<br />
//此处目录要做相应改动<br />
$smarty-&gt;template_dir =
'd:/inetpub/wwwroot/smarty/templates';<br />
$smarty-&gt;config_dir = ' d:/inetpub/wwwroot/smarty/config';<br />
$smarty-&gt;cache_dir = 'd:/smarty/smarty_cache';<br />
$smarty-&gt;compile_dir = 'd:/smarty/smarty_templates_c';<br />
<br />
$smarty-&gt;assign('name','fish boy!');<br />
<br />
$smarty-&gt;display('index.tpl');<br />
?&gt;<br />
<br />
index.tpl<br />
&lt;html&gt;<br />
&lt;body&gt;<br />
Hello, {$name}!<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
<br />
Now open index.php in your web browser (requested from your
webserver)<br />
<br />
<a href="http://webserver/index.php">http://webserver/index.php</a><br />
<br />
You can work this out to a referenced script/class:<br />
smarty_connect.php:<br />
&lt;?php<br />
<br />
// load Smarty library<br />
require('Smarty.class.php');<br />
<br />
class smarty_connect extends Smarty<br />
{<br />
&nbsp;&nbsp; function
smarty_connect()<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
// Class Constructor.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
// These automatically get set with each new instance.<br />
<br />
$this-&gt;Smarty();<br />
<br />
$this-&gt;template_dir = '
d:/inetpub/wwwroot/smarty/templates';<br />
$this-&gt;config_dir = ' d:/inetpub/wwwroot/smarty/config';<br />
$this-&gt;compile_dir = 'd:/smarty/templates_c';<br />
$this-&gt;cache_dir = 'd:/smarty/cache';<br />
<br />
$this-&gt;assign('app_name', 'Intranet');<br />
&nbsp;&nbsp; }<br />
}<br />
?&gt;<br />
<br />
index.php:<br />
&lt;?php<br />
<br />
require('smarty_connect.php');<br />
<br />
$smarty = new smarty_connect;<br />
<br />
$smarty-&gt;assign('name','Ned');<br />
<br />
$smarty-&gt;display('index.tpl');<br />
?&gt;<br />
<br />
index.tpl:<br />
&lt;html&gt;<br />
&lt;body&gt;<br />
Hello, {$name}!<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
<br />
<br />
If you are getting an error that Smarty.class.php isn't found
chances are that your include_path isn't correct or you didn't edit
the one that the webserver is using, check your
phpinfo.php!<br />
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134542#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 17 Oct 2007 11:36:44 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134542</link>
        <guid>http://lluckl.javaeye.com/blog/134542</guid>
      </item>
      <item>
        <title>Rmagic</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134543" style="color:red;">http://lluckl.javaeye.com/blog/134543</a>&nbsp;
          发表时间: 2007年09月12日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <p><a href="http://rubyforge.org/frs/download.php/6276/RMagick-1.9.2-IM-6.2.4-6-win32.zip" target="blank">http://rubyforge.org/frs/download.php/6276/RMagick-1.9.2-IM-6.2.4-6-win32.zip</a></p>
<p><br /></p>
<p>cd D:\Downloads\rails\RMagick<br />
unzip RMagick-1.9.2-IM-6.2.4-6-win32.zip<br />
cd D:\Downloads\RMagick\RMagick-1.9.1-IM-6.2.3-win32<br />
gem install RMagick-win32-1.9.2-mswin32.gem -l</p>
<p>ruby postinstall.rb</p>
&nbsp;
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134543#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 12 Sep 2007 00:56:43 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134543</link>
        <guid>http://lluckl.javaeye.com/blog/134543</guid>
      </item>
      <item>
        <title>Rails日志文件</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134544" style="color:red;">http://lluckl.javaeye.com/blog/134544</a>&nbsp;
          发表时间: 2007年09月03日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>
rails的日志文件存在于app/log下面。对于不同环境产生的日志内容会有差别。development下会把每次对数据库的访问代码包含进去，production会省略，不过也有很多的内容。</div>
<div>&nbsp;</div>
<div>在environment.rb中有</div>
<div><font color="#444444"><font color="#0080FF">config.log_level =
:debug</font></font></div>
<div>
<p><font color="#444444">如果只希望在production环境下，输入少量的log,
则只需要在config/environments/production.rb中更改：</font></p>
<p><font color="#0080FF">config.log_level = :warn</font></p>
<p>&nbsp;</p>
<p><font color="#0080FF">附带log level:</font></p>
<p>Rails可以通过选择不同的log
level来控制log文件的输出，可以使用的log level有:debug, :info,
:warn, :error, :fatal。 :debug level提供最详细的log,
可以将每一条sql都记录下来。:info
level是production环境下的默认设置，不会写出sql的执行情况，但也会很详细，如果是ActiveMailer，它会记录下每封信的内容，Log文件内容就是快速增长。为了避免Log把空间塞满的情况发生，要注意定期清除Log，另外是选择:warn
level等log level, 只记录重要的信息.</p>
</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134544#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 03 Sep 2007 02:09:44 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134544</link>
        <guid>http://lluckl.javaeye.com/blog/134544</guid>
      </item>
      <item>
        <title>总结下</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134545" style="color:red;">http://lluckl.javaeye.com/blog/134545</a>&nbsp;
          发表时间: 2007年08月27日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>最爱的电影：The Shawshank Redemption（超过20+）,Before
Sunrise/Sunset</div>
<div>最爱的颜色：黄（不知道为什么）</div>
<div>最喜欢的歌：Remember the time</div>
<div>最爱的演员：索菲玛索</div>
<div>最不喜欢的事情： 拍照</div>
<div>最怕的事情：空虚</div>
<div>最喜欢干的事：发呆</div>
<div>最喜欢的歌手：Alizee Britney Michael</div>
<div>&nbsp;</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134545#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 27 Aug 2007 14:58:14 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134545</link>
        <guid>http://lluckl.javaeye.com/blog/134545</guid>
      </item>
      <item>
        <title>项目总结</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134547" style="color:red;">http://lluckl.javaeye.com/blog/134547</a>&nbsp;
          发表时间: 2007年08月26日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <p><font face="宋体">帮我们头做的项目以前是用asp写的，代码之丑陋，让我无法再看第二眼。上班前几天把它用rails重写了一遍，充分体现了优雅与敏捷开发的本质。</font></p>
<p>&nbsp;</p>
<p><font face="宋体">安装jdk,netbeans,ruby,rubygems,rails,mongrel,ferret,apache,userlogin,subversion,基本的配置过程google全能搞定，javaeye作为中国最出色的rails成品，rails论坛也聚结了许多即热心又有天赋的程序员。自己看了基本教材(快速开发入门帮我进了门，敏捷开发进步了解，只是还没看透。up
and running ror是原版影印，帮我学会了处理多表关联，recipe
rails学到了很多基础的东西，ajax on rails
正在看)，掌握了开发与部署的过程，关键是项目的上线，有了实践的机会。</font></p>
<p>&nbsp;</p>
<p><font face="宋体">处理多表关联，特别是has_and_belongs_to_many是最重要的关系。然后will_paginate的分页，ferret的全文检索，ajax的基本应用，这个rails封装的很好，用起来非常方便简单。还有subversion的使用。布局的使用还有难点没有想通，项目的性能与cache还没有考虑好，这是个非常麻烦的事情，慢慢来吧。</font></p>
<p><font face="宋体">下面应该学习ajax on
rails，然后找个项目在实践，只有实践才能最好的掌握知识。</font></p>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134547#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Sun, 26 Aug 2007 15:33:38 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134547</link>
        <guid>http://lluckl.javaeye.com/blog/134547</guid>
      </item>
      <item>
        <title>will_paginate的使用</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134548" style="color:red;">http://lluckl.javaeye.com/blog/134548</a>&nbsp;
          发表时间: 2007年08月23日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <p>
rails自带的分页功能有限，加上will_paginate插件能够很强的增加功能</p>
<p>&nbsp;</p>
<p>
1.一对多的分页最简单：比如一个类目下很多文章，要显示气象学下的所有文章并20篇分为一页：</p>
<p><font color="#FF0000">def show</font></p>
<p><font color="#FF0000">&nbsp; @category =
Category.find(params[:id],:include=&gt;:papers])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></p>
<p><font color="#FF0000">@papers=Paper.paginate_by_category_id
category.id,:page=&gt;params [:page],:per_page=&gt;20</font></p>
<p><font color="#FF0000">end</font></p>
<p>在rhtml中只需要</p>
<p><font color="#FF0000" face="宋体">&lt;%= will_paginate @papers
%&gt;</font></p>
<p><font color="#000000">他自己带有很漂亮的分页css,当然要加进css文件。</font></p>
<p>&nbsp;</p>
<p>2.多对多还没研究到，rails自带的paginate可以处理，</p>
<p>&nbsp;</p>
<p><font color="#FF0000" face="宋体">def show<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@author = Author.find(params[:id],:include=&gt;[:papers])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@paper_pages, @papers = paginate :paper,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
:join=&gt;"JOIN authors_papers on
(authors_papers.paper_id=papers.id and
authors_papers.author_id=#{@author.id})",:per_page=&gt;20<br />
end</font></p>
<p>&nbsp;</p>
<p><font color="#FF0000" face="宋体">&lt;div
class="pagination"&gt;<br />
&lt;%= link_to '&lt;&lt;', { :page =&gt;
@paper_pages.current.previous } if @paper_pages.current.previous
%&gt;<br />
&lt;%= pagination_links(@paper_pages,:window_size=&gt;5)
%&gt;<br />
&lt;%= link_to '&gt;&gt;', { :page =&gt; @paper_pages.current.next
} if @paper_pages.current.next %&gt;</font></p>
<p><font color="#FF0000" face="宋体">&nbsp;&lt;/div&gt;</font></p>
<p>&nbsp;</p>
<p><font color="#000000">这个效率肯定不高。等学会了will_paginate再来修改。</font></p>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134548#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 23 Aug 2007 14:12:56 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134548</link>
        <guid>http://lluckl.javaeye.com/blog/134548</guid>
      </item>
      <item>
        <title>回到了windows的环境</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134549" style="color:red;">http://lluckl.javaeye.com/blog/134549</a>&nbsp;
          发表时间: 2007年08月21日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>
用ubuntu一个月，终于回到了windows.不是ubuntu，我很喜欢她，美丽，快捷，方便，动感。可是再好的不适合我，也是不能久留的。</div>
<div>&nbsp;</div>
<div>
ubuntu是个很棒的系统，forum.ubuntu.org.cn是一步步伴随我学会使用他的。自己刻盘安装（iso刻为镜像文件才能通过光驱启动）--安装scit，jdk，mysql，netbeans,sopcast,virtualbox，aruzus,ruby
on
rails等等。都不是很顺利，但这就是学习。一个月留下了很多的文档，以后也许哪天再用，希望能回想起来。</div>
<div>&nbsp;</div>
<div>
关键是需要使用netbeans的rubyide精简版本，才30m,windows下使用很快捷方便，在ubuntu下出现了java
null
pointer异常，始终出现不了editor,我想这是我删他的一个原因。软件的安装非常方便，就是维护比较麻烦，不会谁有耐心对着命令行。</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134549#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 21 Aug 2007 13:53:35 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134549</link>
        <guid>http://lluckl.javaeye.com/blog/134549</guid>
      </item>
      <item>
        <title>soft in ubuntu</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134550" style="color:red;">http://lluckl.javaeye.com/blog/134550</a>&nbsp;
          发表时间: 2007年07月20日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <h3><font color="#FF9900">Soft</font></h3>
<h3><font color="#FF9900">-------</font></h3>
<div><font style="FONT-SIZE: 12px">Linux中没有“注册表”的概念，因此安装软件，理论上只要拷贝所有相关文件，并运行它的主程序就可以了。</font></div>
<div>&nbsp;</div>
<div><font style="FONT-SIZE: 12px">按照传统，一个软件通常分别拷贝到同级目录下的bin、etc、lib、share等文件夹。&nbsp;</font></div>
<div>&nbsp;</div>
<div><font style="FONT-SIZE: 12px">bin目录下为可执行文件，我们将大部分程序的可执行文件都放在这个目录下，并且在环境变量中设定搜索路径，便不需要定位其路径，可以直接执行命令。</font></div>
<div><font style="FONT-SIZE: 12px">&nbsp;<br />
etc目录下为配置文件，大部分系统程序的配置文件保存于“/etc”目录，便于集中修改。</font></div>
<div><br />
<font style="FONT-SIZE: 12px">lib目录下为库文件，库文件集中在一起，可以共享给不同程序使用。相较不同的软件单独保存库文件，能够节约一些磁盘空间。</font></div>
<div><font style="FONT-SIZE: 12px">&nbsp;<br />
share目录下为程序运行所需要的其它资源，例如图标、文本等，这部分文件通常不能共享使用，而且目录结构相对复杂，混放在一起会比较乱，所以单独存放。&nbsp;<br />

<br />
还有一些软件，占用一个单独的目录，所有的文件都集中在一起，类似于Windows下的绿色软件，不过这种方式并不推荐。在执行时，系统找不到可执行文件（系统搜索所有路径，资源开销过大，是不现实的），需要定位其位置，像/home/user/bin/exe，使用起来不够方便。</font></div>
<div><font style="FONT-SIZE: 12px">&nbsp;<br />
配置程序，需要定位其目录，如果同时配置多个系统软件（许多系统软件需要协作运行），切换目录会非常繁琐。</font></div>
<div><br />
<font style="FONT-SIZE: 12px">如果每个程序使用的库文件，比如图形库文件，都单独存放，那么磁盘空间的浪费会非常严重。&nbsp;<br />

&nbsp;&nbsp;&nbsp;&nbsp;<br />

有一些大型软件，或者您布署的重要应用，您可以将它们单独安装在一个文件夹下。（通常源码安装支持这种方式，将在程序安装部分介绍）</font></div>
<div>&nbsp;</div>
<h3><font color="#FF9933">Configuration</font></h3>
<h3><font color="#FF9933">-------</font></h3>
<div><font style="FONT-SIZE: 12px">Linux下没有类似“注册表”的系统，系统和软件选项都提供文本文件的配置方式。</font></div>
<div><font style="FONT-SIZE: 12px">&nbsp;<br />
事实上，图形界面的配置工具，通常也是以一种直观的方式提供对配置文件的修改。当然图形界面配置工具只适合配置一些不太复杂的程序，如果一个软件，有几千个可以配置的选项，全部作成菜单，您应该能够想象那有多么恐怖。&nbsp;</font></div>
<div><font style="FONT-SIZE: 12px"><br />
对于Linux系统来说，图形界面的配置工具，只是用来编辑某一特定配置文件的文本编辑器。您一样可以使用通用文本编辑器来编辑这些配置文件，比如
Nano、Gedit、Knote、Vim或者Emacs等等。不考虑您配置所占用的时间，直接修改配置文件甚至更迅速。</font></div>
<div><br />
如果您只是要修改某一常用选项，而且经常需要修改，比如修改主机的IP地址，使用文本编辑器的话，您要找到相应的配置文件，还要在配置文件中找到相应的选项，会浪费掉您的时间和耐心。而图形配置工具经常会受各种因素制约，比如网络服务器中没有安装桌面环境，GUI界面不太稳定等等。这个时候，您可以使用命令行的配置工具来完成这些工作。</div>
<div><br />
比如修改主机IP地址，可以使用ifconfig这个程序，执行下面的命令：<br />

<font color="#FF0000">&nbsp; &nbsp;
&nbsp; ifconfig eth0 192.168.0.1</font></div>
<div>&nbsp;</div>
<h3><font color="#FF9900">隐藏文件&nbsp;<br />
--------</font><br />
Linux下，名称中第一个字符为“.”的文件或者文件夹，系统默认情况下将它们隐藏起来，<br />
</h3>
<div><font style="FONT-SIZE: 12px">&nbsp;&nbsp;&nbsp;您可以尝试以下操作：<br />

&nbsp; &nbsp;cd ~&nbsp;
&nbsp;进入您的用户目录<br />
&nbsp; &nbsp;ls&nbsp;
&nbsp; 查看当前目录下的文件列表<br />
&nbsp; &nbsp;ls -a&nbsp;
&nbsp;查看所有文件的文件列表（包括隐藏文件）。现在，您可以看到许多文件名以“.”起始的文件或者文件夹了吧？使用“ls”命令无法显示它们&nbsp;<br />

<br />
Tips：每个目录下都包含两个特殊目录“.”和“..”。您也许猜到了，“.”代表当前目录，“..”代表上一级目录。目录是一种特殊类型的文件！</font></div>
<div><br />
<font color="#CC3333">如果您只想查看隐藏文件，而不包括这两个特殊目录，您可以使用“ls”命令的参数“-A”
（ls -A）</font></div>
<div>&nbsp;</div>
<h3><font color="#FF9900">File Type</font></h3>
<h3><font color="#FF9900">----------</font></h3>
<div><font style="FONT-SIZE: 12px">Linux下，系统主要根据文件头信息来判断文件的类型，扩展名并不是决定因素。现在使用</font></div>
<div><font color="#FF0000">ls -l</font></div>
<div>命令，查看详细信息格式的文件列表，您将会看到如下内容：<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; total 5<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; drwxr-x---&nbsp;
4 user&nbsp; group&nbsp; &nbsp;
4096 Mar 10 00:37 a<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; drwxr-xr-x 21
user&nbsp; group&nbsp;
&nbsp;4096 Mar 10 20:16 b<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; -rw-------&nbsp;
1 user&nbsp; group&nbsp; &nbsp;
524 Mar 10 00:40 c<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; -rw-r--r--&nbsp;
1 user&nbsp; group&nbsp; &nbsp;
&nbsp;24 Jun 11&nbsp; 2000 d<br />
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; drwx------&nbsp;
2 user&nbsp; group&nbsp;
&nbsp;4096 Mar&nbsp; 9 11:06
e&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />

共显示了七列信息，从左至右依次为：权限、文件数、归属用户、归属群组、文件大小、创建日期、文件名称&nbsp;<br />

&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;其中要特别留意的是第一列：<br />

&nbsp; &nbsp; &nbsp;
drwxr-xr-x<br />
&nbsp;
&nbsp;一共有10个位置，可以分为4组：<br />
&nbsp; &nbsp; &nbsp; d rwx r-x
r-x&nbsp;<br />
第一组为“d”，表示这是一个文件夹;如果为空，也就是“-”，表示这是一个普通文件；为“l”，表示这是一个符号链接;为“b”，表示它是块设备文件；为“c”，表示它是字符设备文件。&nbsp;</div>
<div><br />
剩下的3组分别为归属用户、归属群组、其它用户或群组对于该文件的权限。我们看它的格式<br />

&nbsp; &nbsp;rwx&nbsp;
&nbsp;“r”为可读，“w”为可写，“x”为可执行。它们的顺便不能颠倒，某一位置为空（“-”）则表示不具有相应的权限。&nbsp;&nbsp;&nbsp;&nbsp;<br />

<br />
Tips：Linux下的可执行文件并不是由其扩展名（例如“exe”）决定的，而是由其可执行权限决定的。</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134550#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Fri, 20 Jul 2007 07:46:19 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134550</link>
        <guid>http://lluckl.javaeye.com/blog/134550</guid>
      </item>
      <item>
        <title>ubuntu file system</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134551" style="color:red;">http://lluckl.javaeye.com/blog/134551</a>&nbsp;
          发表时间: 2007年07月20日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <table class="description" cellspacing="0" border="0" align="center" cellpadding="0">
<tbody>
<tr>
<td align="middle">
<div class="sysBr500 text" id="articleText4a8c0a9d010009jb" align="left">
<div><font style="FONT-SIZE: 14px">Ubuntu系统目录结构<br />
==================<br />
&nbsp;
&nbsp;以下为Ubuntu目录的主要目录结构，您稍微了解它们都包含了哪些文件就可以了，不需要记忆。<br />

&nbsp; &nbsp; /&nbsp;
&nbsp;根目录<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├boot/&nbsp;
&nbsp;&nbsp;
&nbsp;启动文件。所有与系统启动有关的文件都保存在这里<br />

&nbsp; &nbsp; │&nbsp;
&nbsp; └grub/&nbsp;
&nbsp;Grub引导器相关的文件<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├dev/ &nbsp;
&nbsp;&nbsp;
&nbsp;设备文件<br />
&nbsp; &nbsp; ├proc/&nbsp;
&nbsp;&nbsp;
&nbsp;内核与进程镜像<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├mnt/&nbsp;
&nbsp;&nbsp;
&nbsp;临时挂载<br />
&nbsp; &nbsp; ├media/&nbsp;
&nbsp;挂载媒体设备<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├root/&nbsp;
&nbsp;&nbsp;
&nbsp;root用户的$HOME目录<br />
&nbsp; &nbsp; ├home/&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; │&nbsp;
&nbsp; ├user/&nbsp;
&nbsp;普通用户的$HOME目录<br />
&nbsp; &nbsp; │&nbsp;
&nbsp; └.../<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├bin/&nbsp;
&nbsp;&nbsp;
&nbsp;系统程序<br />
&nbsp; &nbsp; ├sbin/&nbsp;
&nbsp;&nbsp;
&nbsp;管理员系统程序<br />
&nbsp; &nbsp; ├lib/&nbsp;
&nbsp;&nbsp;
&nbsp;系统程序库文件<br />
&nbsp; &nbsp; ├etc/&nbsp;
&nbsp;&nbsp;
&nbsp;系统程序和大部分应用程序的全局配置文件<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├init.d/&nbsp;
&nbsp;SystemV风格的启动脚本<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├rcX.d/&nbsp;
&nbsp;启动脚本的链接，定义运行级别<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├network/&nbsp;
&nbsp;网络配置文件<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├X11/&nbsp;
&nbsp;&nbsp;
&nbsp;图形界面配置文件<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├usr/&nbsp;
&nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├bin/&nbsp;
&nbsp;&nbsp;
&nbsp;应用程序<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├sbin/&nbsp;
&nbsp;管理员应用程序<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├lib/&nbsp;
&nbsp;&nbsp;
&nbsp;应用程序库文件<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├share/&nbsp;
&nbsp;应用程序资源文件<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├src/&nbsp;
&nbsp;&nbsp;
&nbsp;应用程序源代码<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├local/&nbsp;
&nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;│&nbsp; &nbsp;
&nbsp;├soft/&nbsp;
&nbsp;&nbsp;
&nbsp;用户程序&nbsp;
&nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;│&nbsp; &nbsp;
&nbsp;└.../&nbsp;
&nbsp;&nbsp;
&nbsp;通常使用单独文件夹<br />
&nbsp; &nbsp; │&nbsp;
&nbsp;├X11R6/&nbsp;
&nbsp;图形界面系统<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├var/&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;动态数据<br />
&nbsp; &nbsp; │<br />
&nbsp; &nbsp; ├temp/&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;临时文件<br />
&nbsp; &nbsp;
├lost+found/&nbsp;
&nbsp;磁盘修复文件<br />
<br />
<br />
启动流程<br />
========<br />
&nbsp;
&nbsp;Linux系统主要通过以下步骤启动：<br />
&nbsp; &nbsp;1、读取MBR的信息，启动Boot
Manager<br />
&nbsp; &nbsp;&nbsp;
&nbsp; Windows使用NTLDR作为Boot
Manager，如果您的系统中安装多个版本的Windows，您就需要在NTLDR中选择您要进入的系统。<br />

&nbsp; &nbsp;&nbsp;
&nbsp; Linux通常使用功能强大，配置灵活的GRUB作为Boot
Manager，我们将在启动管理章节中向您介绍它的使用方式。<br />
&nbsp;
&nbsp;2、加载系统内核，启动init进程<br />
&nbsp; &nbsp;&nbsp;
&nbsp;
init进程是Linux的根进程，所有的系统进程都是它的子进程。<br />
&nbsp;
&nbsp;3、init进程读取“/etc/inittab”文件中的信息，并进入预设的运行级别，按顺序运行该运行级别对应文件夹下的脚本。脚本通常以“start”参数启动，并指向一个系统中的程序。<br />

&nbsp; &nbsp;&nbsp;
&nbsp;
通常情况下，“/etc/rcS.d/”目录下的启动脚本首先被执行，然后是“/etc/rcN.d/”目录。例如您设定的运行级别为3,那么它对应的启动目录为“/etc/rc3.d/”。<br />

&nbsp;
&nbsp;4、根据“/etc/rcS.d/”文件夹中对应的脚本启动Xwindow服务器“xorg”<br />

&nbsp; &nbsp;&nbsp;
&nbsp; Xwindow为Linux下的图形用户界面系统。<br />
&nbsp;
&nbsp;5、启动登录管理器，等待用户登录<br />
&nbsp; &nbsp;&nbsp;
&nbsp;
Ubuntu系统默认使用GDM作为登录管理器，您在登录管理器界面中输入用户名和密码后，便可以登录系统。（您可以在“/etc/rc3.d/”文件夹中找到一个名为“S13gdm”的链接）<br />

&nbsp; &nbsp;<br />
更改运行级别<br />
------------<br />
&nbsp;
&nbsp;在“/etc/inittab”文件中找到如下内容：&nbsp;
&nbsp;<br />
&nbsp; &nbsp;&nbsp;
&nbsp; # The default runlevel.<br />
&nbsp; &nbsp;&nbsp;
&nbsp; id:2:initdefault:<br />
&nbsp; &nbsp;&nbsp;
&nbsp;<br />
&nbsp;
&nbsp;这一行中的数字2,为系统的运行级别，默认的运行级别涵义如下：<br />

&nbsp; &nbsp;&nbsp;
&nbsp; 0&nbsp; &nbsp;关机<br />
&nbsp; &nbsp;&nbsp;
&nbsp; 1&nbsp;
&nbsp;单用户维护模式<br />
&nbsp; &nbsp;&nbsp;
&nbsp; 2~5&nbsp;
&nbsp;多用户模式<br />
&nbsp; &nbsp;&nbsp;
&nbsp; 6&nbsp; &nbsp;重启<br />
<br />
服务管理<br />
========<br />
<br />
更改启动服务<br />
------------<br />
&nbsp;
&nbsp;在运行级别对应的文件夹中，您可以看到许多文件名以“S##”和“K##”起始的启动脚本链接。<br />

&nbsp; &nbsp;例如：<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rcS.d/S35mountall.sh&nbsp;
&nbsp;挂载文件系统<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rcS.d/S40networking&nbsp;
&nbsp;启用网络支持<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rc2.d/S13gdm&nbsp;
&nbsp;&nbsp;
&nbsp;启动登录管理器<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rc2.d/S20makedev&nbsp;
&nbsp;创建设备文件<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rc2.d/S23xinetd&nbsp;
&nbsp;启动超级进程<br />
&nbsp;
&nbsp;init进程将以“start”为参数，按文件名顺序执行所有以“S##”起始的脚本。脚本名称中的数字越小，它将被越早执行。例如在“/etc/rc2.d/”文件夹中，“S13gdm”文件名中的数字小于“S23xinetd”,“S13gdm”将比“S23xinetd”先执行。<br />

&nbsp; &nbsp;<br />
&nbsp;
&nbsp;如果一个脚本链接，以“K##”起始，表示它将以“stop”参数被执行。如果相应服务没有启动，则不执行该脚本。<br />

&nbsp; &nbsp;例如：<br />
&nbsp; &nbsp;&nbsp;
&nbsp; /etc/rc2.d/K20powernowd&nbsp;
&nbsp;针对某种硬件的电源管理支持<br />
&nbsp;<br />
&nbsp;
&nbsp;如果您想禁止某一服务在启动时自动运行，您可以将相应运行级别中的脚本由“S##xxx”重命名为“K##xxx”。<br />

<br />
&nbsp;<br />
手动控制服务<br />
------------<br />
<br />
&nbsp;
&nbsp;您也可以手动运行带有以下参数的启动脚本，来控制系统服务。<br />

&nbsp; &nbsp;start&nbsp;
&nbsp;&nbsp;
&nbsp;启动&nbsp; &nbsp;<br />
&nbsp; &nbsp;stop&nbsp;
&nbsp;&nbsp; &nbsp;停止<br />
&nbsp; &nbsp;restart&nbsp;
&nbsp;&nbsp; &nbsp;重启<br />
&nbsp; &nbsp;例如：<br />
&nbsp; &nbsp;/etc/rc2.d/K20powernowd
start<br />
&nbsp; &nbsp;<br />
&nbsp;
&nbsp;有时您并不清楚当前运行级别，该运行级别下未必有相应脚本；而且此类脚本的前三位字符并不固定，不便于记忆。这时，您可以直接使用“/etc/init.d/”文件夹中的启动脚本（“/etc/rcX.d/”中的启动脚本链接到“/etc/init.d/”文件夹下相应脚本），这也是我们向您推荐的方式。<br />

&nbsp; &nbsp;例如：<br />
&nbsp; &nbsp;/etc/init.d/powernowd
start<br />
<br />
Tips：以上命令的位置并没有包含在环境变量的搜索路径中，所以要输入完整路径。<br />

<br />
<br />
常用系统服务<br />
============<br />
&nbsp; &nbsp;acpi-support&nbsp;
&nbsp;高级电源管理支持<br />
&nbsp; &nbsp;acpid&nbsp;
&nbsp; &nbsp;
&nbsp;acpi守护程序.这两个用于电源管理，非常重要<br />
&nbsp; &nbsp;alsa&nbsp;
&nbsp;&nbsp;
&nbsp;声音子系统<br />
&nbsp; &nbsp;alsa-utils&nbsp;
&nbsp;<br />
&nbsp; &nbsp;anacron&nbsp;
&nbsp;&nbsp;
&nbsp;cron的子系统，将系统关闭期间的计划任务，在下一次系统运行时执行。<br />

&nbsp; &nbsp;apmd&nbsp;
&nbsp;&nbsp;
&nbsp;acpi的扩展<br />
&nbsp; &nbsp;atd&nbsp;
&nbsp;&nbsp;
&nbsp;类似于cron的任务调度系统。建议关闭<br />
&nbsp;
&nbsp;binfmt-support&nbsp;
&nbsp;核心支持其他二进制的文件格式。建议开启<br />
&nbsp; &nbsp;bluez-utiles&nbsp;
&nbsp;蓝牙设备支持<br />
&nbsp; &nbsp;bootlogd&nbsp;
&nbsp;启动日志。开启它<br />
&nbsp; &nbsp;cron&nbsp;
&nbsp;&nbsp;
&nbsp;任务调度系统，建议开启<br />
&nbsp; &nbsp;cupsys&nbsp;
&nbsp;&nbsp;
&nbsp;打印机子系统。<br />
&nbsp; &nbsp;dbus&nbsp;
&nbsp;&nbsp;
&nbsp;消息总线系统(message bus system)。非常重要<br />
&nbsp; &nbsp;dns-clean&nbsp;
&nbsp;使用拨号连接时，清除dns信息。<br />
&nbsp; &nbsp;evms&nbsp;
&nbsp;&nbsp;
&nbsp;企业卷管理系统（Enterprise Volumn Management
system）<br />
&nbsp; &nbsp;fetchmail&nbsp;
&nbsp;邮件用户代理，用于收取邮件<br />
&nbsp; &nbsp;gdm&nbsp;
&nbsp;&nbsp;
&nbsp;gnome登录和桌面管理器。<br />
&nbsp; &nbsp;gdomap&nbsp;
&nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;gpm&nbsp;
&nbsp;&nbsp;
&nbsp;终端中的鼠标支持。<br />
&nbsp; &nbsp;halt&nbsp;
&nbsp;&nbsp;
&nbsp;别动它。<br />
&nbsp; &nbsp;hdparm&nbsp;
&nbsp;&nbsp;
&nbsp;调整硬盘的脚本，配置文件为“/etc/hdparm.conf”。<br />

&nbsp; &nbsp;hibernate&nbsp;
&nbsp;系统休眠<br />
&nbsp; &nbsp;hotkey-setup&nbsp;
&nbsp;笔记本功能键支持。支持类型包括： HP, Acer, ASUS,
Sony, Dell, 和IBM。<br />
&nbsp; &nbsp;hotplug and
hotplug-net&nbsp;
&nbsp;即插即用支持，比较复杂，建议不要动它。<br />
&nbsp; &nbsp;hplip&nbsp;
&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp;HP打印机和图形子系统<br />
&nbsp; &nbsp;ifrename&nbsp;
&nbsp;网络接口重命名脚本。如果您有十块网卡，您应该开启它<br />

&nbsp; &nbsp;inetd&nbsp;
&nbsp;&nbsp;
&nbsp;在文件“/etc/inetd.conf”中，注释掉所有你不需要的服务。如果该文件不包含任何服务，那关闭它是很安全的。<br />

&nbsp; &nbsp;klogd&nbsp;
&nbsp;&nbsp; &nbsp;重要。<br />
&nbsp;
&nbsp;linux-restricted-modules-common&nbsp;
&nbsp;受限模块支持。“/lib/linux-restricted-modules/”文件夹中的模块为受限模块。例如某些驱动程序，如果您没有使用受限模块，就不需要开启它。<br />

&nbsp; &nbsp;lvm&nbsp;
&nbsp;&nbsp;
&nbsp;逻辑卷管理系统支持。<br />
&nbsp; &nbsp;makedev&nbsp;
&nbsp;&nbsp;
&nbsp;创建设备文件，非常重要。<br />
&nbsp; &nbsp;mdamd&nbsp;
&nbsp;&nbsp;
&nbsp;磁盘阵列<br />
&nbsp;
&nbsp;module-init-tools&nbsp;
&nbsp;从/etc/modules加载扩展模块，建议开启。<br />
&nbsp; &nbsp;networking&nbsp;
&nbsp;网络支持。按“/etc/network/interfaces”文件预设激活网络，非常重要。<br />

&nbsp; &nbsp;ntpdate&nbsp;
&nbsp;&nbsp;
&nbsp;时间同步服务，建议关闭。<br />
&nbsp; &nbsp;pcmcia&nbsp;
&nbsp;&nbsp;
&nbsp;pcmcia设备支持。<br />
&nbsp; &nbsp;powernowd&nbsp;
&nbsp;移动CPU节能支持<br />
&nbsp; &nbsp;ppp and
ppp-dns&nbsp; &nbsp;拨号连接<br />
&nbsp; &nbsp;readahead&nbsp;
&nbsp;预加载库文件。<br />
&nbsp; &nbsp;reboot&nbsp;
&nbsp;&nbsp;
&nbsp;别动它。<br />
&nbsp; &nbsp;resolvconf&nbsp;
&nbsp;自动配置DNS<br />
&nbsp; &nbsp;rmnologin&nbsp;
&nbsp;清除nologin<br />
&nbsp; &nbsp;rsync&nbsp;
&nbsp;&nbsp;
&nbsp;rsync守护程序<br />
&nbsp; &nbsp;sendsigs&nbsp;
&nbsp;在重启和关机期间发送信号<br />
&nbsp; &nbsp;single&nbsp;
&nbsp;&nbsp;
&nbsp;激活单用户模式<br />
&nbsp; &nbsp;ssh&nbsp;
&nbsp;&nbsp;
&nbsp;ssh守护程序。建议开启<br />
&nbsp;
&nbsp;stop-bootlogd&nbsp;
&nbsp;在2，3，4，5运行级别中停止bootlogd服务<br />
&nbsp; &nbsp;sudo&nbsp;
&nbsp;&nbsp;
&nbsp;检查sudo状态。重要<br />
&nbsp; &nbsp;sysklogd&nbsp;
&nbsp;系统日志<br />
&nbsp; &nbsp;udev &amp; udev-mab
用户空间dev文件系统（userspace dev filesystem）。重要<br />
&nbsp; &nbsp;umountfs&nbsp;
&nbsp;卸载文件系统<br />
&nbsp; &nbsp;urandom&nbsp;
&nbsp;&nbsp;
&nbsp;随机数生成器<br />
&nbsp; &nbsp;usplash&nbsp;
&nbsp;&nbsp;
&nbsp;开机画面支持<br />
&nbsp; &nbsp;vbesave&nbsp;
&nbsp;&nbsp;
&nbsp;显卡BIOS配置工具。保存显卡的状态<br />
&nbsp; &nbsp;xorg-common&nbsp;
&nbsp;设置X服务ICE socket。<br />
&nbsp; &nbsp;adjtimex&nbsp;
&nbsp;调整核心时钟的工具<br />
&nbsp; &nbsp;dirmngr&nbsp;
&nbsp;&nbsp;
&nbsp;证书列表管理工具,和gnupg一起工作。<br />
&nbsp; &nbsp;hwtools&nbsp;
&nbsp;&nbsp;
&nbsp;irqs优化工具<br />
&nbsp;
&nbsp;libpam-devperm&nbsp;
&nbsp;系统崩溃之后，用于修理设备文件许可的守护程序。<br />

&nbsp; &nbsp;lm-sensors&nbsp;
&nbsp;板载传感器支持<br />
&nbsp; &nbsp;mdadm-raid&nbsp;
&nbsp;磁盘陈列管理器<br />
&nbsp;
&nbsp;screen-cleanup&nbsp;
&nbsp;清除开机屏幕的脚本<br />
&nbsp; &nbsp;xinetd&nbsp;
&nbsp;&nbsp;
&nbsp;管理其他守护进程的一个inetd超级守护程序<br />
<br />
重要配置文件<br />
============<br />
&nbsp;
&nbsp;！无论任何情况下，在修改配置文件之前，请您先备份它！<br />

&nbsp; &nbsp;建议您使用这个命令：“sudo cp
xxx xxx_`date +%y%m%d_%H:%M`”。<br />
&nbsp;
&nbsp;当然这很麻烦，您可以新建一个名为“bak”的文件，内容如下：<br />

&nbsp; &nbsp;&nbsp;
&nbsp;#!/bin/bash<br />
&nbsp; &nbsp;&nbsp;
&nbsp;sudo cp $1&nbsp; $1_`date
+%y%m%d_%H:%M`<br />
&nbsp;
&nbsp;把它放在您能够记住的目录下，比如“/home”，执行命令“sh
/home/bak
xxx”，就可以将当前文件夹下的文件“xxx”另存为“xxx_yymmdd_HH:MM”的格式了<br />

<br />
<br />
全局配置文件<br />
------------<br />
&nbsp; &nbsp;系统初始化<br />
&nbsp; &nbsp;/etc/inittab&nbsp;
&nbsp;&nbsp;
&nbsp;运行级别、控制台数量<br />
&nbsp;
&nbsp;/etc/timezone&nbsp;
&nbsp;&nbsp; &nbsp;时区<br />
&nbsp;
&nbsp;/etc/inetd.conf&nbsp;
&nbsp;&nbsp;
&nbsp;超级进程<br />
&nbsp; &nbsp;文件系统<br />
&nbsp; &nbsp;/etc/fstab&nbsp;
&nbsp;&nbsp;
&nbsp;开机时挂载的文件系统<br />
&nbsp; &nbsp;/etc/mtab&nbsp;
&nbsp;&nbsp;
&nbsp;当前挂载的文件系统<br />
&nbsp; &nbsp;用户系统<br />
&nbsp; &nbsp;/etc/passwd&nbsp;
&nbsp;&nbsp;
&nbsp;用户信息<br />
&nbsp; &nbsp;/etc/shadow&nbsp;
&nbsp;&nbsp;
&nbsp;用户密码<br />
&nbsp; &nbsp;/etc/group&nbsp;
&nbsp;&nbsp;
&nbsp;群组信息<br />
&nbsp; &nbsp;/etc/gshadow&nbsp;
&nbsp;&nbsp;
&nbsp;群组密码<br />
&nbsp; &nbsp;/etc/sudoers&nbsp;
&nbsp;&nbsp;
&nbsp;Sudoer列表（请使用“visudo”命令修改此文件，而不要直接编辑）<br />

&nbsp; &nbsp;Shell<br />
&nbsp; &nbsp;/etc/shell&nbsp;
&nbsp;&nbsp;
&nbsp;可用Shell列表<br />
&nbsp; &nbsp;/etc/inputrc&nbsp;
&nbsp;&nbsp;
&nbsp;ReadLine控件设定<br />
&nbsp; &nbsp;/etc/profile&nbsp;
&nbsp;&nbsp;
&nbsp;用户首选项<br />
&nbsp;
&nbsp;/etc/bash.bashrc&nbsp;
&nbsp;bash配置文件<br />
&nbsp; &nbsp;系统环境<br />
&nbsp;
&nbsp;/etc/environment&nbsp;
&nbsp;环境变量<br />
&nbsp;
&nbsp;/etc/updatedb.conf&nbsp;
&nbsp;文件检索数据库配置信息<br />
&nbsp; &nbsp;/etc/issue&nbsp;
&nbsp;&nbsp;
&nbsp;发行信息<br />
&nbsp; &nbsp;/etc/issue.net<br />
&nbsp;
&nbsp;/etc/screenrc&nbsp;
&nbsp;&nbsp;
&nbsp;屏幕设定<br />
&nbsp; &nbsp;网络<br />
&nbsp; &nbsp;/etc/iftab&nbsp;
&nbsp;&nbsp;
&nbsp;网卡MAC地址绑定<br />
&nbsp; &nbsp;/etc/hosts&nbsp;
&nbsp;&nbsp;
&nbsp;主机列表<br />
&nbsp;
&nbsp;/etc/hostname&nbsp;
&nbsp;&nbsp; &nbsp;主机名<br />
&nbsp;
&nbsp;/etc/resolv.conf&nbsp;
&nbsp;域名解析服务器地址<br />
&nbsp;
&nbsp;/etc/network/interfaces&nbsp;
&nbsp;网卡配置文件<br />
&nbsp; &nbsp;<br />
用户配置文件<br />
------------<br />
&nbsp;
&nbsp;“/etc/”目录下的所有文件，只有root用户才有修改权限。应用软件的全局配置文件，普通用户也不能够修改，如果您想配置软件，以适应您的需求，您可以修改它的用户配置文件。<br />

<br />
&nbsp;
&nbsp;用户配置文件通常为全局配置文件的同名隐藏文件，放在您的$HOME目录下，例如：<br />

&nbsp; &nbsp;/etc/inputrc&nbsp;
&nbsp;&nbsp;
&nbsp;/home/user/.inputrc<br />
&nbsp;
&nbsp;/etc/vim/vimrc&nbsp;
&nbsp;&nbsp;
&nbsp;/home/user/.vim/vimrc<br />
<br />
&nbsp;
&nbsp;也有少数例外，通常是系统程序<br />
&nbsp;
&nbsp;/etc/bash.bashrc&nbsp;
&nbsp;/home/user/.bashrc</font></div>
</div>
</td>
</tr>
</tbody>
</table>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134551#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Fri, 20 Jul 2007 07:38:43 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134551</link>
        <guid>http://lluckl.javaeye.com/blog/134551</guid>
      </item>
      <item>
        <title>ubuntu add/remove software by command</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134552" style="color:red;">http://lluckl.javaeye.com/blog/134552</a>&nbsp;
          发表时间: 2007年07月20日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          Ubuntu软件安装与删除相关命令
<div>安装软件</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-get
install</span> softname1 softname2 softname3……<br />
卸载软件</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-get remove</span>
softname1 softname2 softname3……<br />
卸载并清除配置</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-get remove
--purge</span> softname1<br />
更新软件信息数据库</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-get
update</span><br />
进行系统升级</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-get
upgrade</span><br />
搜索软件包</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">apt-cache
search</span> softname1 softname2 softname3……<br /></div>
<div>Deb软件包相关安装与卸载</div>
<div><br />
安装deb软件包</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">dpkg -i</span>
xxx.deb<br />
删除软件包</div>
<div>命令：&nbsp;&nbsp;<span style="COLOR: rgb(204,0,0)">dpkg -r</span> xxx.deb<br />
连同配置文件一起删除</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">dpkg -r
--purge</span> xxx.deb<br />
查看软件包信息</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">dpkg -info</span>
xxx.deb<br />
查看文件拷贝详情</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">dpkg -L</span>
xxx.deb<br />
查看系统中已安装软件包信息</div>
<div>命令： <span style="COLOR: rgb(204,0,0)">dpkg -l</span><br />
重新配置软件包</div>
<div>命令：&nbsp;&nbsp;<span style="COLOR: rgb(204,0,0)">dpkg-reconfigure</span> xxx</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134552#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Fri, 20 Jul 2007 07:05:46 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134552</link>
        <guid>http://lluckl.javaeye.com/blog/134552</guid>
      </item>
      <item>
        <title>Ruby on Rails Command Rerference</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134553" style="color:red;">http://lluckl.javaeye.com/blog/134553</a>&nbsp;
          发表时间: 2007年07月07日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div><strong>1.1.Rails</strong><br />
1.1 创建一个Rails应用程序<br />
&nbsp;$ rails app_name<br />
&nbsp;可选项:<br />
&nbsp;-d, database=xxx 指定安装一个数据库(mysql oracle
postgresql sqlite2 sqlite3 ), 默认情况下是数据库<br />
&nbsp;-r, ruby-path=
指定Ruby的安装路径,如果没有指定，scripts使用env去找Ruby<br />
&nbsp;-f, freeze (冻结)freezes
Rails在vendor/rails目录</div>
<div>&nbsp;</div>
<p><strong>1.2 API Documentation</strong><br />
&nbsp;$ gem_server<br />
&nbsp;启动一个WEBrick服务器。这时候你可以通过Http://localhost:8808/
打开浏览器去查看rails API文档</p>
<p>&nbsp;</p>
<p><strong>1.3 Rake</strong><br />
&nbsp;rake db:fixtures:load<br />
&nbsp;&nbsp;#
载入fixtures到当前环境的数据库<br />
&nbsp;&nbsp;#
载入指定的fixtures使用FIXTURES=x,y<br />
&nbsp;rake db:migrate<br />
&nbsp;#
迁移数据库通过在db/migrate目录下的脚本.可以指定版本号通过VERSION=x<br />

&nbsp;rake db:schema:dump<br />
&nbsp;#
创建一个db/schema.rb文件，通过AR能过够支持任何数据库去使用<br />
&nbsp;rake db:schema:load<br />
&nbsp;# 再入一个schema.rb文件进数据库<br />
&nbsp;rake db:sessions:clear<br />
&nbsp;# 清空sessions表<br />
&nbsp;rake db:sessions:create<br />
&nbsp;#
用CGI::Session::ActiveRecordStore创建一个sessions表为用户<br />
&nbsp;rake db:structure:dump<br />
&nbsp;# 导出数据库结构为一个SQL文件<br />
&nbsp;rake db:test:clone<br />
&nbsp;# 重新创建一个测试数据库从当前环境数据库中<br />
&nbsp;rake db:test:clone_structure<br />
&nbsp;# 重新创建测试数据库从开发模式数据库<br />
&nbsp;rake db:test:prepare<br />
&nbsp;# 准备测试数据库并在入schema<br />
&nbsp;rake db:test:purge<br />
&nbsp;# 清空测试数据库<br />
&nbsp;rake doc:app<br />
&nbsp;# 创建HTML文件的API Documentation<br />
&nbsp;rake doc:clobber_app<br />
&nbsp;# 删除Documentation<br />
&nbsp;rake doc:clobber_plugins<br />
&nbsp;# 删除 plugin Documentation<br />
&nbsp;rake doc:clobber_rails<br />
&nbsp;# 删除Documentation<br />
&nbsp;rake doc:plugins<br />
&nbsp;# 产生Documation为所有安装的plugins<br />
&nbsp;rake doc:rails<br />
&nbsp;# 创建HTML文件的API Documentation<br />
&nbsp;rake doc:reapp<br />
&nbsp;# 强制重新创建HTML文件的API Documentation<br />
&nbsp;rake doc:rerails<br />
&nbsp;# 强制重新创建HTML文件的API Documentation<br />
&nbsp;rake log:clear<br />
&nbsp;# 清空目录log/下的所有日志文件<br />
&nbsp;rake rails:freeze:edge<br />
&nbsp;# Lock this application to latest Edge Rails.
Lock a specific revision with REVISION=X<br />
&nbsp;rake rails:freeze:gems<br />
&nbsp;# Lock this application to the current gems (by
unpacking them into vendor/rails)<br />
&nbsp;rake rails:unfreeze<br />
&nbsp;# Unlock this application from freeze of gems or
edge and return to a fluid use of system gems<br />
&nbsp;rake rails:update<br />
&nbsp;# Update both scripts and public/javascripts from
Rails<br />
&nbsp;rake rails:update:javascripts<br />
&nbsp;# Update your javascripts from your current rails
install<br />
&nbsp;rake rails:update:scripts<br />
&nbsp;# Add new scripts to the application script/
directory<br />
&nbsp;rake stats<br />
&nbsp;# Report code statistics (KLOCs, etc) from the
application<br />
&nbsp;rake test<br />
&nbsp;# Test all units and functionals<br />
&nbsp;rake test:functionals<br />
&nbsp; # Run tests for functionalsdb:test:prepare<br />
&nbsp;rake test:integration<br />
&nbsp;# Run tests for integrationdb:test:prepare<br />
&nbsp;rake test:plugins<br />
&nbsp;# Run tests for pluginsenvironment<br />
&nbsp;rake test:recent<br />
&nbsp;# Run tests for recentdb:test:prepare<br />
&nbsp;rake test:uncommitted<br />
&nbsp;# Run tests for uncommitteddb:test:prepare<br />
&nbsp;rake test:units<br />
&nbsp;# Run tests for unitsdb:test:prepare<br />
&nbsp;rake tmp:cache:clear<br />
&nbsp;# 清空tmp/cache目录下的所有文件<br />
&nbsp;rake tmp:clear<br />
&nbsp;# 清空session, cache,
和socket文件从tmp/目录<br />
&nbsp;rake tmp:create<br />
&nbsp;# 为sessions, cache, and
sockets创建tmp/目录<br />
&nbsp;rake tmp:sessions:clear<br />
&nbsp;# 清空所有在tmp/sessions目录下的文件<br />
&nbsp;rake tmp:sockets:clear<br />
&nbsp;# 清空所有在tmp/sessions 目录下的ruby_sess.*
文件</p>
<p>&nbsp;</p>
<p><strong>1.4 Scripts</strong><br />
&nbsp;script/about<br />
&nbsp;# 输出当前环境信息<br />
&nbsp;script/breakpointer<br />
&nbsp;# 启动断点server<br />
&nbsp;script/console<br />
&nbsp;#&nbsp;启动交换式的Rails控制台<br />
&nbsp;script/destroy<br />
&nbsp;# 删除通过generators创建的文件<br />
&nbsp;script/generate<br />
&nbsp;# -&gt; generators<br />
&nbsp;script/plugin<br />
&nbsp;# -&gt; Plugins<br />
&nbsp;script/runner<br />
&nbsp;# 执行一个任务在rails上下文中<br />
&nbsp;script/server<br />
&nbsp;# 启动开发模式服务器http://localhost:3000<br />
&nbsp;//以下几个不知道怎么去使用<br />
&nbsp;script/performance/profiler<br />
&nbsp;script/performance/benchmarker<br />
&nbsp;script/process/reaper<br />
&nbsp;script/process/spawner</p>
<p>&nbsp;</p>
<p><strong>1.5 Generators</strong><br />
&nbsp;ruby script/generate model ModelName<br />
&nbsp;ruby script/generate controller ListController
show edit<br />
&nbsp;ruby script/generate scaffold ModelName
ControllerName<br />
&nbsp;ruby script/generate migration AddNewTable<br />
&nbsp;ruby script/generate plugin PluginName<br />
&nbsp;ruby script/generate mailer Notification
lost_password signup<br />
&nbsp;ruby script/generate web_service ServiceName
api_one api_two<br />
&nbsp;ruby script/generate integration_test
TestName<br />
&nbsp;ruby script/generate session_migration<br />
&nbsp;可选项:<br />
&nbsp;-p, –pretend Run but do not make any
changes.<br />
&nbsp;-f, –force Overwrite files that already
exist.<br />
&nbsp;-s, –skip Skip files that already exist.<br />
&nbsp;-q, –quiet Suppress normal output.<br />
&nbsp;-t, –backtrace Debugging: show backtrace on
errors.<br />
&nbsp;-h, –help Show this help message.<br />
&nbsp;-c, –svn Modify files with subversion. (Note:
svn must be in path)&nbsp;</p>
<p>&nbsp;</p>
<p><strong>1.6 Plugins</strong><br />
&nbsp;script/plugin discover<br />
&nbsp;# discover plugin repositories<br />
&nbsp;script/plugin list<br />
&nbsp;# list all available plugins<br />
&nbsp;script/plugin install where<br />
&nbsp;# install the awherea? plugin<br />
&nbsp;script/plugin install -x where<br />
&nbsp;# install where plugin as SVN external<br />
&nbsp;script/plugin install
<a href="http://invisible.ch/projects/plugins/where" target="_blank">http://invisible.ch/projects/plugins/where</a><br />
&nbsp;script/plugin update<br />
&nbsp;# update installed plugins<br />
&nbsp;script/plugin source<br />
&nbsp;# add a source repository<br />
&nbsp;script/plugin unsource<br />
&nbsp;# removes a source repository<br />
&nbsp;script/plugin sources<br />
&nbsp;# lists source repositories</p>
<p>&nbsp;</p>
<p>Source: <a href="http://www.javaeye.com/article/43500" title="http://www.javaeye.com/article/43500">http://www.javaeye.com/article/43500</a></p>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134553#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Sat, 07 Jul 2007 06:02:38 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134553</link>
        <guid>http://lluckl.javaeye.com/blog/134553</guid>
      </item>
      <item>
        <title>被抛弃了</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134554" style="color:red;">http://lluckl.javaeye.com/blog/134554</a>&nbsp;
          发表时间: 2007年06月13日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>
我还在迷迷糊糊中，努力的思考也辨认不清方向。昏睡了好久，觉得身下又冷又硬。欢声笑语注入了我的耳朵。我能辨认出那是酒足饭饱的满足才能发出的声音。他们从我身边不停的走过，践起了水珠飞向了我的身体。眼睛仍然无法睁开，这个糟糕的状况已经维持了好一段时间了，不过我能感觉到外面的亮光，现在应该是中午了。</div>
<div>&nbsp;</div>
<div>
我觉得在这里躺下去也许会挡住他们的去路，我的肚子里空空的，禁不住谁来踩一下的。于是我决定换个地方来休息。我挣扎了一下，原来我的身体比我的脑袋更虚弱，我的脚已经无法支撑我的身体了。我只有使出了最后的一点意志力，终于觉得身体下面凉爽了一些，可不一会儿，它又吸走了我最后的热量，我想不出什么办法了，就这样吧。</div>
<div>&nbsp;</div>
<div>
也不知道过了多久，我听到了他说，“哦，好可怜哦，被人抛弃了吧。可惜我帮不上什么了”。于是我使劲的动了动嘴唇，想告诉他也许我需要一些吃的或者喝的来提提精神，而后我也许需要谁来帮我揉揉眼睛，让我能够看到些什么，这样可能我不会再这么躺在这里不知道该怎么办了。也许我的动作太小了，说话的声音离我远去了，继续叙谈他上午的闲情轶事。我笑了笑自己！</div>
<div>&nbsp;</div>
<div>
时间又过去了，我觉得我还是不要抱什么希望了比较好，胡思乱想我可能就这样走了。咦，这是什么感觉，真舒服哦，我不再觉得冷了，阳光终于照到了我的身体。好温暖哦，就像昨天躺在妈妈的怀里打盹一样。哦，牛奶，好甜哦。突然间我觉得好幸福，感觉妈妈就在我的身边了。我叼着吸管，舍不得放开了，使足了力气吸了几口，感觉好多了。我用了用劲，力气传到了我的大腿，小腿，终于我一咬牙，感觉到了天昏地暗，摇摇晃晃的又睡下了。不行，不能这样，如果我不能站起来，我不知道我的明天会在哪里。吸管又到了我的嘴边，也许我还要再喝上几大口吧。终于我又站起来了，脑袋也不再那么晕糊了。她帮我揉了揉眼睛，真是个好心的姑娘。阳光刺痛了我的右眼，我一点也不在乎，我只想看看她的模样。真是个漂亮的好姑娘。我靠在了她的手上，忍不住了，幸福荡漾了我的心。明天在哪里我再也不害怕了……</div>
<div>&nbsp;</div>
<div>
我看着她，她还是离开，我知道我无法跟着她，收养我需要责任，她一定是害怕了。我听到了她的自责！呵呵，可爱的姑娘，你做的一切已经让我恢复了希望，哪怕做只流浪狗，我也觉得我具有了勇气。</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134554#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 13 Jun 2007 08:31:06 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134554</link>
        <guid>http://lluckl.javaeye.com/blog/134554</guid>
      </item>
      <item>
        <title>Netbeans6 m9 中的编码问题</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134555" style="color:red;">http://lluckl.javaeye.com/blog/134555</a>&nbsp;
          发表时间: 2007年06月12日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>
下载了Milestone9和Jdk6后安装完了使用的确比较省事。原来Eclipse里面配置Ruby
Rails的许多步骤都省去了。</div>
<div>&nbsp;</div>
<div>
发现Netbeans6m9里面没有设置文件编码的地方。生成的RubyApplication和RailsApplication在文件中输入中文全是小方格。运行RailsApplication，在浏览器中发现页面的编码是UTF-8,这是默认的。把它改为Gb2312就能正常显示了。所以说，Netbeans中的文件编码默认其实是Gb2312的。</div>
<div align="left">&nbsp;</div>
<div align="left"><font style="FONT-SIZE: 12px"><font style="FONT-SIZE: 14px">所以要先在配置文件netbeans.conf里面这样设置：</font></font></div>
<div align="left"><font style="FONT-SIZE: 12px"><font color="#009999" face="宋体">netbeans_default_options="-J-Xms32m -J-Xmx192m
-J-XX:PermSize=32m -J-&nbsp;&nbsp;
XX:MaxPermSize=160m -J-Dapple.laf.useScreenMenuBar=true
<font color="#FF0000">-J-Dfile.encoding=UTF-8</font> --fontsize
12"</font></font></div>
<div align="left"><font color="#000000">这样所有文件的编码成为了utf-8。但要在文件中的中文不变成小方格需作如下修改：</font></div>
<div align="left">将文件<font color="#FF0000">fontconfig.properties</font><font color="#000000">复制到Jdk/jre/lib里面，在netbeans里面设置Font&amp;Color为DialogInput。（参考<a href="http://www.javaeye.com/topic/55085?page=3" target="_blank">http://www.javaeye.com/topic/55085?page=3</a>）</font></div>
<p>&nbsp;</p>
<p><font color="#006699" style="FONT-SIZE: 12px">#File of
fontconfig.properties</font></p>
<p><font style="FONT-SIZE: 12px"><font face="宋体"><font color="#006699" style="FONT-SIZE: 12px">#
@(#)fontconfig.properties&nbsp;1.5 04/01/28<br />
#<br />
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.<br />
#<br />
# Version<br />
version=1<br />
# Component Font Mappings<br />
#allfonts.chinese-ms936=SimSun<br />
#allfonts.chinese-gb18030=SimSun-18030<br />
allfonts.chinese-ms936=SurSong<br />
allfonts.chinese-gb18030=SurSong<br />
allfonts.chinese-hkscs=MingLiU_HKSCS<br />
allfonts.devanagari=Mangal<br />
allfonts.dingbats=Wingdings<br />
allfonts.lucida=Lucida Sans Regular<br />
allfonts.symbol=Symbol<br />
allfonts.thai=Lucida Sans Regular</font></font></font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">serif.plain.alphabetic=Times New Roman<br />
serif.plain.chinese-ms950=MingLiU<br />
serif.plain.hebrew=David<br />
serif.plain.japanese=MS Mincho<br />
serif.plain.korean=Batang</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">serif.bold.alphabetic=Times New Roman Bold<br />
serif.bold.chinese-ms950=PMingLiU<br />
serif.bold.hebrew=David Bold<br />
serif.bold.japanese=MS Mincho<br />
serif.bold.korean=Batang</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">serif.italic.alphabetic=Times New Roman Italic<br />
serif.italic.chinese-ms950=PMingLiU<br />
serif.italic.hebrew=David<br />
serif.italic.japanese=MS Mincho<br />
serif.italic.korean=Batang</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">serif.bolditalic.alphabetic=Times New Roman Bold
Italic<br />
serif.bolditalic.chinese-ms950=PMingLiU<br />
serif.bolditalic.hebrew=David Bold<br />
serif.bolditalic.japanese=MS Mincho<br />
serif.bolditalic.korean=Batang</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sansserif.plain.alphabetic=Arial<br />
sansserif.plain.chinese-ms950=MingLiU<br />
sansserif.plain.hebrew=David<br />
sansserif.plain.japanese=MS Gothic<br />
sansserif.plain.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sansserif.bold.alphabetic=Arial Bold<br />
sansserif.bold.chinese-ms950=PMingLiU<br />
sansserif.bold.hebrew=David Bold<br />
sansserif.bold.japanese=MS Gothic<br />
sansserif.bold.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sansserif.italic.alphabetic=Arial Italic<br />
sansserif.italic.chinese-ms950=PMingLiU<br />
sansserif.italic.hebrew=David<br />
sansserif.italic.japanese=MS Gothic<br />
sansserif.italic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sansserif.bolditalic.alphabetic=Arial Bold Italic<br />
sansserif.bolditalic.chinese-ms950=PMingLiU<br />
sansserif.bolditalic.hebrew=David Bold<br />
sansserif.bolditalic.japanese=MS Gothic<br />
sansserif.bolditalic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">monospaced.plain.alphabetic=Courier New<br />
monospaced.plain.chinese-ms950=MingLiU<br />
monospaced.plain.hebrew=David<br />
monospaced.plain.japanese=MS Gothic<br />
monospaced.plain.korean=GulimChe</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">monospaced.bold.alphabetic=Courier New Bold<br />
monospaced.bold.chinese-ms950=PMingLiU<br />
monospaced.bold.hebrew=David Bold<br />
monospaced.bold.japanese=MS Gothic<br />
monospaced.bold.korean=GulimChe</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">monospaced.italic.alphabetic=Courier New Italic<br />
monospaced.italic.chinese-ms950=PMingLiU<br />
monospaced.italic.hebrew=David<br />
monospaced.italic.japanese=MS Gothic<br />
monospaced.italic.korean=GulimChe</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">monospaced.bolditalic.alphabetic=Courier New Bold
Italic<br />
monospaced.bolditalic.chinese-ms950=PMingLiU<br />
monospaced.bolditalic.hebrew=David Bold<br />
monospaced.bolditalic.japanese=MS Gothic<br />
monospaced.bolditalic.korean=GulimChe</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialog.plain.alphabetic=Felt Tip Roman<br />
dialog.plain.chinese-ms950=MingLiU<br />
dialog.plain.hebrew=David<br />
dialog.plain.japanese=MS Gothic<br />
dialog.plain.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialog.bold.alphabetic=Felt Tip Roman Bold<br />
dialog.bold.chinese-ms950=PMingLiU<br />
dialog.bold.hebrew=David Bold<br />
dialog.bold.japanese=MS Gothic<br />
dialog.bold.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialog.italic.alphabetic=Century Gothic Italic<br />
dialog.italic.chinese-ms950=PMingLiU<br />
dialog.italic.hebrew=David<br />
dialog.italic.japanese=MS Gothic<br />
dialog.italic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialog.bolditalic.alphabetic=Century Gothic Bold
Italic<br />
dialog.bolditalic.chinese-ms950=PMingLiU<br />
dialog.bolditalic.hebrew=David Bold<br />
dialog.bolditalic.japanese=MS Gothic<br />
dialog.bolditalic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialoginput.plain.alphabetic=Lucida Sans Typewriter<br />
dialoginput.plain.chinese-ms950=PMingLiU<br />
dialoginput.plain.hebrew=David<br />
dialoginput.plain.japanese=MS Gothic<br />
dialoginput.plain.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialoginput.bold.alphabetic=Lucida Sans Typewriter
Bold<br />
dialoginput.bold.chinese-ms950=PMingLiU<br />
dialoginput.bold.hebrew=David Bold<br />
dialoginput.bold.japanese=MS Gothic<br />
dialoginput.bold.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialoginput.italic.alphabetic=Lucida Sans Typewriter
Italic<br />
dialoginput.italic.chinese-ms950=PMingLiU<br />
dialoginput.italic.hebrew=David<br />
dialoginput.italic.japanese=MS Gothic<br />
dialoginput.italic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">dialoginput.bolditalic.alphabetic=Lucida Sans Typewriter
Bold Italic<br />
dialoginput.bolditalic.chinese-ms950=PMingLiU<br />
dialoginput.bolditalic.hebrew=David Bold<br />
dialoginput.bolditalic.japanese=MS Gothic<br />
dialoginput.bolditalic.korean=Gulim</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px"># Search
Sequences</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.allfonts=alphabetic/default,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol<br />

sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol<br />

sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol<br />

sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol<br />
sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol<br />

sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol<br />

sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol<br />

sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol<br />

sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol<br />

sequence.sansserif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol<br />

sequence.monospaced.x-windows-950=chinese-ms950,alphabetic,dingbats,symbol<br />

sequence.dialog.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol<br />

sequence.dialoginput.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol<br />

sequence.sansserif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol<br />

sequence.monospaced.x-MS950-HKSCS=chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol<br />

sequence.dialog.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol<br />

sequence.dialoginput.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.windows-31j=alphabetic,japanese,dingbats,symbol<br />

sequence.sansserif.windows-31j=alphabetic,japanese,dingbats,symbol<br />

sequence.monospaced.windows-31j=japanese,alphabetic,dingbats,symbol<br />

sequence.dialog.windows-31j=alphabetic,japanese,dingbats,symbol<br />

sequence.dialoginput.windows-31j=alphabetic,japanese,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.serif.x-windows-949=alphabetic,korean,dingbats,symbol<br />

sequence.sansserif.x-windows-949=alphabetic,korean,dingbats,symbol<br />

sequence.monospaced.x-windows-949=korean,alphabetic,dingbats,symbol<br />

sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol<br />

sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">sequence.fallback=lucida,\<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
japanese,korean</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px"># Exclusion
Ranges</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">exclusion.alphabetic=0700-1e9f,1f00-20ab,20ad-f8ff<br />
exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be<br />
exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px"># Monospaced to
Proportional width variant mapping<br />
# (Experimental private syntax)<br />
proportional.MS_Gothic=MS PGothic<br />
proportional.MS_Mincho=MS PMincho<br />
proportional.MingLiU=PMingLiU</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px"># Font File
Names</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Arial=ARIAL.TTF<br />
filename.Arial_Bold=ARIALBD.TTF<br />
filename.Arial_Italic=ARIALI.TTF<br />
filename.Arial_Bold_Italic=ARIALBI.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Courier_New=COUR.TTF<br />
filename.Courier_New_Bold=COURBD.TTF<br />
filename.Courier_New_Italic=COURI.TTF<br />
filename.Courier_New_Bold_Italic=COURBI.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Times_New_Roman=TIMES.TTF<br />
filename.Times_New_Roman_Bold=TIMESBD.TTF<br />
filename.Times_New_Roman_Italic=TIMESI.TTF<br />
filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.SimSun=SIMSUN.TTC<br />
filename.SimSun-18030=SIMSUN18030.TTC</font></p>
<p><br />
<font color="#006699" style="FONT-SIZE: 12px">filename.SurSong=SURSONG.TTF<br />
filename.\u9ed1\u4f53=SIMHEI.TTF<br />
filename.\u5e7c\u5706=SIMYOU.TTF<br />
filename.\u534e\u6587\u7ec6\u9ed1=STXIHEI.TTF<br />
filename.\u534e\u6587\u65b0\u9b4f=STXINWEI.TTF</font></p>
<p><br />
<font color="#006699" style="FONT-SIZE: 12px">filename.MingLiU=MINGLIU.TTC<br />
filename.PMingLiU=MINGLIU.TTC<br />
filename.MingLiU_HKSCS=hkscsm3u.ttf</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.David=DAVID.TTF<br />
filename.David_Bold=DAVIDBD.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.MS_Mincho=MSMINCHO.TTC<br />
filename.MS_PMincho=MSMINCHO.TTC<br />
filename.MS_Gothic=MSGOTHIC.TTC<br />
filename.MS_PGothic=MSGOTHIC.TTC</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Gulim=gulim.TTC<br />
filename.Batang=batang.TTC<br />
filename.GulimChe=gulim.TTC</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Lucida_Sans_Regular=LucidaSansRegular.ttf<br />
filename.Mangal=MANGAL.TTF<br />
filename.Symbol=SYMBOL.TTF<br />
filename.Wingdings=WINGDING.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Lucida_Sans_Typewriter=LTYPE.TTF<br />
filename.Lucida_Sans_Typewriter_Bold=LTYPEB.TTF<br />
filename.Lucida_Sans_Typewriter_Italic=LTYPEO.TTF<br />
filename.Lucida_Sans_Typewriter_Bold_Italic=LTYPEBO.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Century_Gothic=GOTHIC.TTF<br />
filename.Century_Gothic_Bold=GOTHICB.TTF<br />
filename.Century_Gothic_Italic=GOTHICI.TTF<br />
filename.Century_Gothic_Bold_Italic=GOTHICBI.TTF</font></p>
<p><font color="#006699" style="FONT-SIZE: 12px">filename.Felt_Tip_Roman=FeltTipRoman.TTF<br />
filename.Felt_Tip_Roman_Bold=FeltTipRoman-Bold.TTF</font></p>
<div align="left"><br />
<br /></div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134555#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 12 Jun 2007 03:10:02 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134555</link>
        <guid>http://lluckl.javaeye.com/blog/134555</guid>
      </item>
      <item>
        <title>Netbeans6界面字体的修改</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134556" style="color:red;">http://lluckl.javaeye.com/blog/134556</a>&nbsp;
          发表时间: 2007年06月08日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>Netbeans6 的界面字体太小了，看得眼睛疼，修改成12比较好。</div>
<div>&nbsp;</div>
<div>
/安装目录/etc/netbeans.conf是保存基本配置的地方，只有从这里才能修改字体。</div>
<div><font size="2" face="Georgia">&nbsp;</font></div>
<div>
<p><font size="2" style="FONT-SIZE: 12px">netbeans_default_options="-J-Xms32m -J-Xmx256m
-J-XX:PermSize=32m -J-XX:MaxPermSize=160m -J-Xverify:none
-J-Dapple.laf.useScreenMenuBar=true <font color="#FF0000">--fontsize 12</font>"</font></p>
<p>&nbsp;</p>
<p>另外缺省工具栏按钮太大，右键选择<font color="#FF0000">small
toolbar icons</font> will be ok.</p>
</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134556#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Fri, 08 Jun 2007 15:41:41 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134556</link>
        <guid>http://lluckl.javaeye.com/blog/134556</guid>
      </item>
      <item>
        <title>I AM SORRY</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134557" style="color:red;">http://lluckl.javaeye.com/blog/134557</a>&nbsp;
          发表时间: 2007年05月30日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div><font face="宋体">这时候我的心流沸腾的像洪炉里的红焰，一支一支怒射着，我仿佛要绷脱自己的身体，燃烧了这个宇宙。推门站在寒风里吹了一会，仍然无法想到如何诉说这无奈的抉择。</font></div>
<div>&nbsp;</div>
<div><font face="宋体">我愿建我的希望在这燃烧的灰烬之上，然而我的希望仍要变成灰烬。我曾对着灰烬微笑，是庆祝我建设的成功。我也曾对着灰烬哭泣，害怕我的希望最终也避免不了成为灰烬。</font></div>
<div>&nbsp;</div>
<div><font face="宋体">我困守在我的心里面，害怕看见你希望的笑脸。我封锁了自己的希望，痛苦的面对火焰把它一点点变成了灰烬。可是我爱，我如何忍心如何面对这无法挽回的希望呢？</font></div>
<div><font face="宋体">&nbsp;</font></div>
<div><font face="宋体">我走进了我的欢乐，一个个春夏秋冬串联了它们。我徘徊着难以移动我的步伐，沉重的快要阻塞了我的呼吸。你甜蜜灿烂的皎容和泪眼模糊不清的面颊侵蚀我封闭的希望。我无法忽略这痛苦的感受，伏倒在深深的绝望中。请相信我的面无表情，疯言恶言更是在戕害着我自己的心灵，害怕流露的希望终于也会成为灰烬。可是我爱，我如何能够诉说我的痛苦，因为它已经哽咽了我的咽喉，抹杀了我的泪水，我无法告诉你这一切，只有让它们沉入更深的深渊。</font></div>
<div><font face="宋体"><br />
我爱你，这是我无法忘却的现实。你也爱我，这却让我不能自拔。我愿了结自己的生命换回你对我的爱情。我不害怕燃烧我的希望，不害怕它们变成灰烬，可我无法面对要亲手拆毁构造在我已成为灰烬的希望上的未来。可是我爱，请相信我，我已选择了一条最难迈过的道路。我常常噩梦，那未来的建筑变成了带着余热的燃灰，焦灼了我的一切。我愿面对朦胧的未来，可是我必须放弃你的双手。把痛苦留给了你，我该如何安慰我流血的心哦？</font></div>
<div><br />
Honey,i am
sorry.这是我一生的道歉，我愿我的余生都用来弥补这一切，虽然对你这都是虚无的一切。</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134557#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 30 May 2007 07:46:13 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134557</link>
        <guid>http://lluckl.javaeye.com/blog/134557</guid>
      </item>
      <item>
        <title>愿死后得并葬荒丘</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134558" style="color:red;">http://lluckl.javaeye.com/blog/134558</a>&nbsp;
          发表时间: 2007年05月28日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div>
我从来读不来散文，更写不来。高中写文章看到高分的作文也搞不清什么形体。后来看新概念，优秀的得奖文章一律散文体。他们写的文章相似于小说，娓娓道来一个故事，平凡的文字组成流畅的告白。明白了好的作文其实就是写出自己的感受。这个人人都能写来，好坏的差别只在于文字里的情感从你内心流露出来的分量。</div>
<div>&nbsp;</div>
<div>
石评梅的散文遵循着如此的标准，只是我想这对她来说，对看客来说实在过于残酷，让人心酸了。失去了“我爱”也就是失去了希望，支持生命的东西。她的每个字符好像都在诉说她痛心刺骨的感受。她在跟我交流，然而我的表达能力有限，所以从来我只静心做个听众，做个观众。看她在星斗之夜枯守在她的爱人身旁，看她的眼泪凝成一粒一粒珍珠，缀织成围绕君宇玉颈的围巾，她的相思化作一颗一颗的红豆，堆集永久勿忘的爱心……</div>
<div>&nbsp;</div>
<div>
痛苦思念的尽头应该是幸福。我想她还是得到了最后的幸福。如果一天“我爱”离我们而去，活着的人心愿只会存在一个了。比翼鸟，连理枝，这是古人迷信的玩艺。“愿死后得并葬荒丘”才是最真实的可以安静心灵的归宿。</div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134558#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 28 May 2007 13:18:32 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134558</link>
        <guid>http://lluckl.javaeye.com/blog/134558</guid>
      </item>
      <item>
        <title>厕所里的学习</title>
        <author>libiun</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://lluckl.javaeye.com">libiun</a>&nbsp;
          链接：<a href="http://lluckl.javaeye.com/blog/134559" style="color:red;">http://lluckl.javaeye.com/blog/134559</a>&nbsp;
          发表时间: 2007年05月28日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <div><font style="FONT-SIZE: 14px">上厕所的状况有很多种,正常的人有正常的用法，不正常的人的做法也不是不正常的，个人需要会决定自家厕所的功能。除了发挥最常用的功能外，在我们窝里，厕所的确会发生些值得书写的东西。</font></div>
<div>&nbsp;</div>
<div><font style="FONT-SIZE: 14px">如果夜凉而又睡的噩梦一个接一个，身上的被子肯定像梦中被人扒掉的衣服找不回来的，蚊子享了口福后留下的便是急不可耐冲进厕所的背影。通常情况下，会拿起距离最近的消遣之物。次数多了，就知道这会让原本难耐的路程更为艰险。于是在我们窝里有了固定的厕所读物。现在回想一下，有幸进入这个列表的读物真是鱼目混杂的很。体育报纸在我看来有助于有条不紊的解决内部问题，但容易使人沉溺于此长期以往可能形成痔疮。改进后梁实秋成了如厕伴侣。他的散文短而精炼，对于把厕所当成学习战场的来说是个优质的选择。另一位则把它当成了解明星大腕闲闻逸事的情报所，半元一份的娱乐周刊打发掉五个小时的时光，我觉得还是物尽所用，额外的娱乐效应则不是那么客观能衡量的了。</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div><font style="FONT-SIZE: 14px">我们窝里的厕所除了解决问题之外的另一个用处就是能够被当成个人隐私的空间。这个涵义有些复杂。现在一个房子里面有三家落户，最近进来的女学生是个考研生力军，她的爱好也许就是学习困乏之余躲进厕所来支红塔山缓解神经系统。所以经常步入原本该恶臭的地方却是烟雾缭绕，常常产生是不是楼下燃火通过这个特别的管道感染了我们。不幸中的万幸是里面有个抽风机，说它是抽风机一点不为过分，按了开关有时得半个钟头它才呼呼直叫，经常被吓得魂不守舍，恶劣的情况下会把到门口的废物吓回去。开个玩笑，我们对它了解够深，这种事件发生的机率不存在了。我们的房东喜欢把它当成增强夫妻感情的场所，虽然没有浴缸，但来个鸳鸯戏水条件还是足够的。我们的爱好就只有一个，在解决问题的同时带个小板凳进去当书架，可以缓解学习带来的负面效应——手酸脚麻。</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div>
不久前的一次清洁活动使得家里的梭子晚节不保，调进了万丈深渊。由于它的材料使然，在里面呆个一年半载估计也落个难以着地的窘境。六楼不知谁家的竹棍进去探了究竟，也只能缓解一时之扰。实在无办法只有任其自生自灭。把那个半人长的探测器杵在洗衣机旁吓唬它，希望它早日深省，入的更深一处。</div>
<div>&nbsp;</div>
<div>
这个话题作文到此处也是无聊之极，除了爆出了些家庭隐私，看起也是空洞无物，该让它扣上尾巴，到我的博客上去充个数吧。</div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
<div><font style="FONT-SIZE: 14px">&nbsp;</font></div>
          <br/>
          <span style="color:red;">
            <a href="http://lluckl.javaeye.com/blog/134559#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 28 May 2007 03:43:48 +0800</pubDate>
        <link>http://lluckl.javaeye.com/blog/134559</link>
        <guid>http://lluckl.javaeye.com/blog/134559</guid>
      </item>
  </channel>
</rss>