﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-LittleBear-随笔分类-Linux</title><link>http://www.cppblog.com/LittleBear/category/12171.html</link><description>乱世之小熊</description><language>zh-cn</language><lastBuildDate>Wed, 20 Jan 2010 01:09:33 GMT</lastBuildDate><pubDate>Wed, 20 Jan 2010 01:09:33 GMT</pubDate><ttl>60</ttl><item><title>Linux 资料</title><link>http://www.cppblog.com/LittleBear/archive/2009/11/13/100877.html</link><dc:creator>LittleBear</dc:creator><author>LittleBear</author><pubDate>Fri, 13 Nov 2009 07:35:00 GMT</pubDate><guid>http://www.cppblog.com/LittleBear/archive/2009/11/13/100877.html</guid><wfw:comment>http://www.cppblog.com/LittleBear/comments/100877.html</wfw:comment><comments>http://www.cppblog.com/LittleBear/archive/2009/11/13/100877.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/LittleBear/comments/commentRss/100877.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/LittleBear/services/trackbacks/100877.html</trackback:ping><description><![CDATA[Linux下的段错误产生的原因及调试方法<br><a title=http://www.upsdn.net/html/2006-11/775.html href="http://www.upsdn.net/html/2006-11/775.html">http://www.upsdn.net/html/2006-11/775.html</a><br>Ubuntu建立本地备份源<br><a title=http://muzuiget.blog.ubuntu.org.cn/archives/ubuntu-local-repository href="http://muzuiget.blog.ubuntu.org.cn/archives/ubuntu-local-repository">http://muzuiget.blog.ubuntu.org.cn/archives/ubuntu-local-repository</a><br>Why is the new C++ visibility support so useful?<br><a title=http://gcc.gnu.org/wiki/Visibility href="http://gcc.gnu.org/wiki/Visibility">http://gcc.gnu.org/wiki/Visibility</a><br>
<img src ="http://www.cppblog.com/LittleBear/aggbug/100877.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/LittleBear/" target="_blank">LittleBear</a> 2009-11-13 15:35 <a href="http://www.cppblog.com/LittleBear/archive/2009/11/13/100877.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Redhat</title><link>http://www.cppblog.com/LittleBear/archive/2009/10/27/99582.html</link><dc:creator>LittleBear</dc:creator><author>LittleBear</author><pubDate>Tue, 27 Oct 2009 08:30:00 GMT</pubDate><guid>http://www.cppblog.com/LittleBear/archive/2009/10/27/99582.html</guid><wfw:comment>http://www.cppblog.com/LittleBear/comments/99582.html</wfw:comment><comments>http://www.cppblog.com/LittleBear/archive/2009/10/27/99582.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/LittleBear/comments/commentRss/99582.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/LittleBear/services/trackbacks/99582.html</trackback:ping><description><![CDATA[配置共享文件夹<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">mount&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">t&nbsp;vboxsf&nbsp;Your_folder_name&nbsp;Your_mount_point&nbsp;</span></div>
安装java<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">将jdk</span><span style="color: #000000;">-</span><span style="color: #000000;">6u16</span><span style="color: #000000;">-</span><span style="color: #000000;">linux</span><span style="color: #000000;">-</span><span style="color: #000000;">x64</span><span style="color: #000000;">.</span><span style="color: #000000;">bin复制到</span><span style="color: #000000;">/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">/</span><span style="color: #000000;"><br></span><span style="color: #000000;">./</span><span style="color: #000000;">jdk</span><span style="color: #000000;">-</span><span style="color: #000000;">6u16</span><span style="color: #000000;">-</span><span style="color: #000000;">linux</span><span style="color: #000000;">-</span><span style="color: #000000;">x64</span><span style="color: #000000;">.</span><span style="color: #000000;">bin<br>gedit /etc/profile<br></span>在里面加入以下内容<br><span style="color: #000000;">
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">export&nbsp;JAVA_HOME</span><span style="color: #000000;">=/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">/</span><span style="color: #000000;"></span><span style="color: #000000;">jdk1</span><span style="color: #000000;">.</span><span style="color: #800000;">6</span><span style="color: #000000;">.</span><span style="color: #000000;">0_16</span><span style="color: #000000;"></span><span style="color: #000000;"><br>export&nbsp;PATH</span><span style="color: #000000;">=</span><span style="color: #800080;">$JAVA_HOME</span><span style="color: #000000;">/</span><span style="color: #000000;">bin</span><span style="color: #000000;">:</span><span style="color: #800080;">$PATH</span><span style="color: #000000;"><br>CLASSPATH</span><span style="color: #000000;">=.:/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">/</span><span style="color: #000000;"></span><span style="color: #000000;">jdk1</span><span style="color: #000000;">.</span><span style="color: #800000;">6</span><span style="color: #000000;">.</span><span style="color: #000000;">0_16</span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;">/</span><span style="color: #000000;">lib</span><span style="color: #000000;">/</span><span style="color: #000000;">tools</span><span style="color: #000000;">.</span><span style="color: #000000;">jar</span><span style="color: #000000;">:</span><span style="color: #800080;">$CLASSPATH</span><span style="color: #000000;"><br>export&nbsp;CLASSPATH</span></div>
</span></div>
安装eclipse<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">将eclipse文件夹复制到</span><span style="color: #000000;">/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #0000ff;">local</span><span style="color: #000000;">/</span><span style="color: #000000;">中<br>./eclipse&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">vm&nbsp;</span><span style="color: #000000;">/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">/</span><span style="color: #000000;">jdk1</span><span style="color: #000000;">.</span><span style="color: #800000;">6</span><span style="color: #000000;">.</span><span style="color: #000000;">0_16</span><span style="color: #000000;">/</span><span style="color: #000000;">bin</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span></div>
<br>  <img src ="http://www.cppblog.com/LittleBear/aggbug/99582.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/LittleBear/" target="_blank">LittleBear</a> 2009-10-27 16:30 <a href="http://www.cppblog.com/LittleBear/archive/2009/10/27/99582.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu安装设置</title><link>http://www.cppblog.com/LittleBear/archive/2009/10/26/99527.html</link><dc:creator>LittleBear</dc:creator><author>LittleBear</author><pubDate>Mon, 26 Oct 2009 15:17:00 GMT</pubDate><guid>http://www.cppblog.com/LittleBear/archive/2009/10/26/99527.html</guid><wfw:comment>http://www.cppblog.com/LittleBear/comments/99527.html</wfw:comment><comments>http://www.cppblog.com/LittleBear/archive/2009/10/26/99527.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/LittleBear/comments/commentRss/99527.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/LittleBear/services/trackbacks/99527.html</trackback:ping><description><![CDATA[换源<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;gedit&nbsp;</span><span style="color: #000000;">/</span><span style="color: #000000;">etc</span><span style="color: #000000;">/</span><span style="color: #000000;">apt</span><span style="color: #000000;">/</span><span style="color: #000000;">sources</span><span style="color: #000000;">.</span><span style="color: #000000;">list</span></div>
ubuntu804<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> hardy main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy </span><span style="color: #000000;">main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> </span><span style="color: #000000;">hardy</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br></span></div>
ubuntu904<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty </span><span style="color: #000000;">main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;"> jaunty</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br></span></div>
ubuntu910<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">security&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">updates&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">proposed&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse<br>deb</span><span style="color: #000000;">-</span><span style="color: #000000;">src&nbsp;http:</span><span style="color: #000000;">//</span><span style="color: #000000;">mirrors.</span><span style="color: #000000;">163</span><span style="color: #000000;">.com</span><span style="color: #000000;">/</span><span style="color: #000000;">ubuntu</span><span style="color: #000000;">/</span><span style="color: #000000;">&nbsp;karmic</span><span style="color: #000000;">-</span><span style="color: #000000;">backports&nbsp;main&nbsp;restricted&nbsp;universe&nbsp;multiverse</span></div>
更新<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;update<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;upgrade</span></div>
编程<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;build</span><span style="color: #000000;">-</span><span style="color: #000000;">essential<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;qt4</span><span style="color: #000000;">-</span><span style="color: #000000;">dev</span><span style="color: #000000;">-</span><span style="color: #000000;">tools<br>sudo apt-get install python3 idle3<br>sudo apt-get install vim-gnome<br>sudo apt-get install bison<br></span><span style="color: #000000;"></span></div>
安装JDK<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;sun</span><span style="color: #000000;">-</span><span style="color: #000000;">java6</span><span style="color: #000000;">-</span><span style="color: #000000;">jdk<br>sudo update-alternatives --config java<br>sudo gedit /etc/environment<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">CLASSPATH</span><span style="color: #000000;">=.:/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">lib</span><span style="color: #000000;">/</span><span style="color: #000000;">jvm</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">-</span><span style="color: #800000;">6</span><span style="color: #000000;">-</span><span style="color: #000000;">sun</span><span style="color: #000000;">/</span><span style="color: #000000;">lib<br>JAVA_HOME</span><span style="color: #000000;">=/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">lib</span><span style="color: #000000;">/</span><span style="color: #000000;">jvm</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">-</span><span style="color: #800000;">6</span><span style="color: #000000;">-</span><span style="color: #000000;">sun</span></div>
</span></div>
安装eclipse
<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;eclipse<br>sudo update-java-alternatives -s java-6-sun<br>sudo gedit /etc/jvm<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">将文件中的<br></span><span style="color: #000000;">/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">lib</span><span style="color: #000000;">/</span><span style="color: #000000;">jvm</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">-</span><span style="color: #800000;">6</span><span style="color: #000000;">-</span><span style="color: #000000;">sun<br>这一行移动到配置块的顶部<br></span></div>
sudo gedit /etc/eclipse/java_home<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">将文件中的<br></span><span style="color: #000000;">/</span><span style="color: #000000;">usr</span><span style="color: #000000;">/</span><span style="color: #000000;">lib</span><span style="color: #000000;">/</span><span style="color: #000000;">jvm</span><span style="color: #000000;">/</span><span style="color: #000000;">java</span><span style="color: #000000;">-</span><span style="color: #800000;">6</span><span style="color: #000000;">-</span><span style="color: #000000;">sun<br>这一行移动到配置块的顶部</span></div>
</span></div>
配置共享文件夹<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;mount&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">t&nbsp;vboxsf&nbsp;Your_folder_name&nbsp;Your_mount_point&nbsp;</span></div>
ubuntu本地源创建<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><code>1创建<br>dpkg --get-selections | grep -v deinstall | sed 's/[\t ]\+install//g' &gt; ~/packageslist<br></code><code>sudo apt-get update<br></code><code>sudo apt-get autoclean<br></code><code>cat ~/packageslist |&nbsp;xargs sudo apt-get -d --reinstall -y install</code><br>sudo mkdir archives<br><span style="color: #800080;"></span><span style="color: #000000;">sudo cp&nbsp;</span><span style="color: #000000;">/</span><span style="color: #000000;">var</span><span style="color: #000000;">/</span><span style="color: #000000;">cache</span><span style="color: #000000;">/</span><span style="color: #000000;">apt</span><span style="color: #000000;">/</span><span style="color: #000000;">archives</span><span style="color: #000000;">/*.</span><span style="color: #000000;">deb archives/</span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #800000;"></span><span style="color: #000000;"><br></span><code>dpkg-scanpackages archives /dev/null | gzip -9c &gt; Packages.gz</code><br><span style="color: #000000;">2 使用<br></span><span style="color: #000000;">sudo&nbsp;gedit&nbsp;</span><span style="color: #000000;">/</span><span style="color: #000000;">etc</span><span style="color: #000000;">/</span><span style="color: #000000;">apt</span><span style="color: #000000;">/</span><span style="color: #000000;">sources</span><span style="color: #000000;">.</span><span style="color: #000000;">list</span><br><span style="color: #800000;"></span><span style="color: #800080;"></span><span style="color: #000000;">deb file</span><span style="color: #000000;">:///</span><span style="color: #000000;"></span><span style="color: #000000;">media/cdrom0</span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #000000;"></span><span style="color: #800000;"></span><span style="color: #000000;"> </span><span style="color: #000000;">/</span><span style="color: #000000;"></span><br>          </div>
卸载Ibus输入法<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;remove&nbsp;ibus</span></div>
scim中文输入法的安装<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;scim<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;scim</span><span style="color: #000000;">-</span><span style="color: #000000;">chinese<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;scim</span><span style="color: #000000;">-</span><span style="color: #000000;">config</span><span style="color: #000000;">-</span><span style="color: #000000;">socket<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;scim</span><span style="color: #000000;">-</span><span style="color: #000000;">gtk2</span><span style="color: #000000;">-</span><span style="color: #000000;">immodule<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;scim</span><span style="color: #000000;">-</span><span style="color: #000000;">tables</span><span style="color: #000000;">-</span><span style="color: #000000;">zh</span></div>
GTK/GNOME开发环境（库、IDE、工具）<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;gnome</span><span style="color: #000000;">-</span><span style="color: #000000;">devel<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;gnome</span><span style="color: #000000;">-</span><span style="color: #000000;">dev</span><span style="color: #000000;">-</span><span style="color: #000000;">doc</span></div>
Qt/KDE开发环境（库、工具、IDE）<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;kdesdk<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;kdesdk</span><span style="color: #000000;">-</span><span style="color: #000000;">doc</span><span style="color: #000000;">-</span><span style="color: #000000;">html<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;kdevelop<br>sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;kdevelop</span><span style="color: #000000;">-</span><span style="color: #000000;">doc</span></div>
SVN<br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">sudo&nbsp;apt</span><span style="color: #000000;">-</span><span style="color: #000000;">get&nbsp;install&nbsp;rapidsvn</span></div>
<br>           <img src ="http://www.cppblog.com/LittleBear/aggbug/99527.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/LittleBear/" target="_blank">LittleBear</a> 2009-10-26 23:17 <a href="http://www.cppblog.com/LittleBear/archive/2009/10/26/99527.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>