<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/css" href="css/atom.css"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title type="html"><![CDATA[两口居|简约而不简单：技术]]></title><subtitle type="html"><![CDATA[www.liangkou.cn]]></subtitle><id>http://www.liangkou.cn/</id><link rel="alternate" type="text/html" href="http://www.liangkou.cn/"/><link rel="self" type="application/atom+xml" href="http://www.liangkou.cn/atom.xml"/><generator uri="http://www.rainbowsoft.org/" version="1.7 Laputa Build 70216">RainbowSoft Studio Z-Blog</generator><updated>2008-09-09T11:52:56+08:00</updated><entry><title type="html"><![CDATA[SQL0964C The transaction log for the database is full解决]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=2" label="编程 | Program"/><updated>2008-03-14T15:39:50+08:00</updated><published>2008-03-14T15:39:50+08:00</published><summary type="html"><![CDATA[SQL0964C The transaction log for the database is full. <br/>这个错误说明事务日志已满，查到一些解决方法：<br/><br/>方法一：命令行方式<br/>把日志文件的大小和日志文件的数量扩充，如下命令 ：<br/>  db2 update   db   cfg   for   DATABASE   using   LOGFILSIZ   7900  <br/>  db2 update   db   cfg   for   DATABASE   using   LOGPRIMARY   30  <br/>  db2 update   db   cfg   for   DATABASE   using   LOGSECOND   20<br/>...]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Program/200803/19.html"/><id>http://www.liangkou.cn/post/Program/200803/19.html</id></entry><entry><title type="html"><![CDATA[推荐几个动态网站开发工具]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=3" label="网站 | Develop"/><updated>2007-08-28T20:49:01+08:00</updated><published>2007-08-28T20:49:01+08:00</published><summary type="html"><![CDATA[基本上都是跨平台的。<br/>1、Aptana:a robust, JavaScript-focused IDE for building dynamic web applications<br/>跨平台的动态web的IDE开发环境，提供Ajax/JS/XML/CSS/html/PHP支持。可以作为Eclipse插件使用，重要的是开源软件。<br/>下载 http://aptana.org/download_all.php<br/><br/>2、Firebug:firefox插件<br/>Firebug 和 firefox 整合在一起，使你浏览网页时手边有了一套强大的网页开发工具。你可以编辑、调试和监控任何网页上的 CSS、HTML 和 Javascript。<br/>下载 http://addons.mozine.cn/firefox/531/<br/>了解 http://www.getfirebug.com<br/><br/>3、KColorChooser屏幕取色工具<br/>linux下基于kde的比较不错的色彩工具。可以下载kcoloredit/kcolorchooser。<br/>ubuntu下可以apt-get安装:<br/><p class="code">&nbsp;sudo&nbsp;apt-get&nbsp;install&nbsp;kcoloredit</p>]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Develop/200708/18.html"/><id>http://www.liangkou.cn/post/Develop/200708/18.html</id></entry><entry><title type="html"><![CDATA[Grub error:Cannot mount selected partition启动错误的解决]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=6" label="系统 | Linux"/><updated>2007-08-19T21:42:14+08:00</updated><published>2007-08-19T21:42:14+08:00</published><summary type="html"><![CDATA[下午在window下用pqmagic把移动硬盘重新分区后，重启选择进入ubuntu的时候出现启动错误：<br/>Grub Error17:Cannot mount selected partition......<br/>上网查询发现，对双系统，在window下pq调整分区大小很容易产生分区表重改等莫名其妙的问题。上述错误就是分区表被改写，原有的linux boot分区号发生变化，因此grub引导错误。解决办法有很多:<br/>1.最快最简单的<br/>在启动菜单选择unbuntu后，不要回车进入，按e进入编辑grub模式。修改root(hd0,y)的y值（hd0表第一块硬盘，y表硬盘分区号）。<br/>如：将原有的root(hd0,7)改为（hd0,8）...]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Linux/200708/17.html"/><id>http://www.liangkou.cn/post/Linux/200708/17.html</id></entry><entry><title type="html"><![CDATA[linux上安装tomcat5]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=6" label="系统 | Linux"/><updated>2007-08-01T22:02:16+08:00</updated><published>2007-08-01T22:02:16+08:00</published><summary type="html"><![CDATA[安装软件最好的习惯当然是先看readme了.tomcat5只需要<a href="http://tomcat.apache.org/" target="_blank">下载压缩包</a>，解压就可以运行。说明文件为：running。<br/>1、根据说明tomcat5需要JRE5.0或JDK5.0，如果是1.4版本，需要从tomcat官方网站下载并安装补丁。<br/>2、shell下运行./startup，发现错误<br/><p class="code">Cannot&nbsp;find&nbsp;./catalina.sh<br/>This&nbsp;file&nbsp;is&nbsp;needed&nbsp;to&nbsp;run&nbsp;this&nbsp;program</p>这个明显是sh文件没有运行权限。chmod +x catalina.sh,ok.<br/>3、继续运行，错误<br/><p class="code">The&nbsp;BASEDIR&nbsp;environmentvariable&nbsp;is&nbsp;not&nbsp;defined&nbsp;correctly<br/>This&nbsp;environmentvariable&nbsp;is&nbsp;needed&nbsp;to&nbsp;run&nbsp;this&nbsp;program</p>找了半天没有解决，包括手动export BASEDIR变量都不行。后来发现bin下面的.sh文件都没有x权限，晕倒。。。<br/>chmod +x *.sh解决。<br/>4、管理用户密码<br/>...]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Linux/200708/14.html"/><id>http://www.liangkou.cn/post/Linux/200708/14.html</id></entry><entry><title type="html"><![CDATA[rpm使用技巧]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=6" label="系统 | Linux"/><updated>2007-07-31T23:09:00+08:00</updated><published>2007-07-31T23:09:00+08:00</published><summary type="html"><![CDATA[以前总觉得rpm包使用起来很不方便，近来发现RPM(Rat Hat Package Manager)太强大了，只是以前没有发现而已。<br/>1、查看软件包(如name.rpm)的说明、编译等信息<br/>rpm -qpi name.rpm (-i: information)<br/>2、列出软件包name的将要安装部分，这样就知道rpm安装在哪了：）<br/>rpm -qpl name.rpm (-l: list)<br/>3、安装<br/>rpm -ivh name.rpm<br/>ftp安装：rpm -i ftp://.....<br/>...<br/>6、比较重要的：只知道安装后的文件，假如忘了安装过的rpm包名字，如何得知？因为卸载升级等都需要name<br/><font color="Red">rpm -qf 文件名/文件夹名</font>，得到rpm包的name，然后就可以用上面1-5的命令操作。]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Linux/200707/13.html"/><id>http://www.liangkou.cn/post/Linux/200707/13.html</id></entry><entry><title type="html"><![CDATA[HTML link标签 rel 属性]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=3" label="网站 | Develop"/><updated>2007-07-25T00:44:20+08:00</updated><published>2007-07-25T00:44:20+08:00</published><summary type="html"><![CDATA[    * shortcut icon -- 地址栏最前面的小图标和收藏夹图标<br/><p class="code">&lt;link&nbsp;rel="shortcut&nbsp;icon"&nbsp;type="image/ico"&nbsp;href="/favicon.ico"&nbsp;/&gt;</p>    * Alternate -- 定义交替出现的链接:如让本站地址栏检测显示rss链接(Maxthon2/firefox)<br/><p class="code">&lt;link&nbsp;rel="alternate"&nbsp;type="application/rss+xml"&nbsp;href="http://www.liangkou.cn/rss.xml"&nbsp;title="两口居|简约而不简单：技术"&nbsp;/&gt;</p>    * Stylesheet -- 定义一个外部加载的样式表<br/><p class="code">&lt;link&nbsp;rel="stylesheet"&nbsp;rev="stylesheet"&nbsp;href="http://www.liangkou.cn<br/>/style/bxna.css"&nbsp;type="text/css"&nbsp;media="screen"&nbsp;/&gt;</p>]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Develop/200707/11.html"/><id>http://www.liangkou.cn/post/Develop/200707/11.html</id></entry><entry><title type="html"><![CDATA[ubuntu Edgy(6.10)编译安装qtopia2.2.0]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=4" label="电子 | Electronics"/><updated>2007-05-20T22:57:38+08:00</updated><published>2007-05-20T22:57:38+08:00</published><summary type="html"><![CDATA[1、准备编译工具<br/>使用gcc3.x或者gcc2.95 (系统自带gcc/g++4.x会有问题)。<br/>          #apt-get install gcc-2.95  g++-2.95 <br/>          #rm   /usr/bin/gcc /usr/bin/g++ <br/>          #ln -s /usr/bin/gcc-2.95   /usr/bin/gcc <br/>          #ln -s  /usr/bin/g++-2.95  /usr/bin/g++ <br/><br/>2...]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Electronics/200705/10.html"/><id>http://www.liangkou.cn/post/Electronics/200705/10.html</id></entry><entry><title type="html"><![CDATA[终于在s3c2410上装载了第一个驱动！]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=4" label="电子 | Electronics"/><updated>2007-01-06T23:19:41+08:00</updated><published>2007-01-06T23:19:41+08:00</published><summary type="html"><![CDATA[    经历了很多曲折，今天终于成功了！<br/>    期间遇到很多问题，靠自己、靠网络、靠网友，总算一个个的解决了，从中也补充了linux、编译的知识。<br/>    今天解决的最后一个问题让我苦笑不得，由于编译选项-I参数指定的库文件路径错误（kernel_2.4.18/include），导致编译出现asm/mach-types.h: No such file or directory等错误。这样一个疏忽浪费了我很多的时间来google它的解决方法。最后原来是这么简单的问题，不过学了好些个linux下好用却不知道的命令，比如locate等。另外编译驱动的时候加-c选项也是必要的。<br/>    水帖一篇作为纪念吧。以后再写写笔记之类的。<br/><br/>另：<br/>1、asm/mach-types.h: No such file or directory类似的问题还有可能是内核源码没有匹配arm硬件造成。<br/>解决：到kernel源码目录，如kernel_2.4.18，make menuconfig,System type选择S3C2410。<br/>2、如果出现kernel_2.4.18/include/asm/arch/hardware.h:88: S3C2410.h: No such file or directory错误<br/>解决：可以查看kernel_2.4.18/include/asm/arch下有s3c2410.h，将文件名改为大写字母即可。]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Electronics/200701/9.html"/><id>http://www.liangkou.cn/post/Electronics/200701/9.html</id></entry><entry><title type="html"><![CDATA[关于Linux你必须知道的十件事(ZZ)]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=6" label="系统 | Linux"/><updated>2006-11-08T22:19:47+08:00</updated><published>2006-11-08T22:19:47+08:00</published><summary type="html"><![CDATA[Linux不是Windows,尽管他们有些类似之处,你必须意识到,在你可以舒服的使用linux之前,你可能要学习一些处理事情的新的方式. Linux是一个基于unix的开源系统.UNIX是一个在DOS和Windows之前就已经设计出来的安全的多用户操作系统.以下内容将从总体上适用于所有基于UNIX的*nix系统,譬如Linux和各种BSD.鉴于本文的目的,假设它是Linux.<br/>这就是你要知道的十件事<br/><br/>1. 文件系统<br/>不同于许多其它为每一个盘设立一个文件树的系统, Linux的文件系统是一个大树型结构. 在顶部你有/(根目录)和每一个文件夹, 和根目录下的每一个驱动盘分支.<br/>例如,假设你有两个硬盘,(名为a和b),一个软驱,和一个光驱. 第一个硬盘有两个分区(名为a1和a2). 在windows下,它会是这个样子:]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Linux/200611/8.html"/><id>http://www.liangkou.cn/post/Linux/200611/8.html</id></entry><entry><title type="html"><![CDATA[超星、PDF、CAJ文件转Word的万能方法]]></title><author><name>liangkou</name><email>a@b.com</email></author><category term="" scheme="http://www.liangkou.cn/catalog.asp?cate=5" label="软件 | Software"/><updated>2006-10-09T23:07:04+08:00</updated><published>2006-10-09T23:07:04+08:00</published><summary type="html"><![CDATA[今天为了将超星转换成word花了不少的时间，上网搜索到很多的方法。综合自己的亲身体验，我觉得下面的方法是最有效和快捷的，而且不需要安装额外的软件。<br/><b>主题</b>：使用Microsoft Office Document Image Writer虚拟打印机<br/>1、前提需要完全安装Office2003－Office工具－Microsoft Office Document Imaging！一般默认的office安装没有OCR识别文本功能！]]></summary><link rel="alternate" type="text/html" href="http://www.liangkou.cn/post/Software/200610/7.html"/><id>http://www.liangkou.cn/post/Software/200610/7.html</id></entry></feed>
