2011年9月21日
摘要: When config php source, there is an error:xml2-config not found. Please check your libxml2 installationIn Synaptic, there is only libxml2 installed, while libxml2-dev is not installed. Just install libxml2-dev.Or we can intall libxml2 using source code, like below:sudo wget ftp://xmlsoft.org/libxml2 阅读全文
posted @ 2011-09-21 18:22 -Anny- 阅读(439) 评论(0) 推荐(0) 编辑
摘要: Refer to http://jianlee.ylinux.org/Computer/Server/rsync.html简单使用 单机使用同步目录 A 到目录B,以 A 目录为基准,如果 A 目录没有,B 目录有的会删除。 A 目录有, B 目录没有的,就从 A 拷贝到 B 。示例 ("/data/projects/crepo" 是 A,"./" 是 B):$ rsync -av /data/projects/crepo ./注意!如果带目录 "/data/projects/crepo" 带 "/" 后缀,就备份 阅读全文
posted @ 2011-09-21 15:43 -Anny- 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 今天在buntu10.10使用源码安装完ruby1.9.2p290和rubygem1.8.10后,想利用gem去安装rails: gem install rails,结果提示 no such file to load -- zlib 错误。zlib is a library implementing the deflate compression method foundin gzip and PKZIP. 解决办法,安装zlib1g 和 zlib1g-dev 包(apt-get install 或者利用Synaptic),然后1.回到ruby源码目录/ext/zlib 下2. ruby ex 阅读全文
posted @ 2011-09-21 15:30 -Anny- 阅读(319) 评论(0) 推荐(0) 编辑