posts - 535,comments - 60,views - 197万
07 2011 档案
解决rpmdb: Lock table is out of available locker entries问题。
摘要:如果运行一些程序后,远行yum命令出现“rpmdb: Lock table is out of available locker entries...”的问题时, 你可以按照如下操作来修复它:错误表现如下:rpmdb: Lock table is out of available locker entrieserror: db4 error(22) from db->close: Invalid argumenterror: cannot open Packages index using db3 - Cannot allocate memory (12)error: cannot op 阅读全文
posted @ 2011-07-20 18:08 凌度 阅读(280) 评论(0) 推荐(0) 编辑
mysql查看日志
摘要:查找mysql安装目录whereis mysql查看var目录查看mysql自己配置whereis my.cnf或mysql>show VARIABLES like '%log%';# vi /etc/my.cnf[mysqld]wait_timeout=10# /etc/init.d/mysql restart不过这个方法太生硬了,线上服务重启无论如何都应该尽可能避免,看看如何在MySQL命令行里通过SET来设置:mysql> set global wait_timeout=10;mysql> show global variables like ' 阅读全文
posted @ 2011-07-19 11:25 凌度 阅读(446) 评论(0) 推荐(0) 编辑
用Regex来忽略大小替换字符串
摘要:stringuncPath“aa\\bb\\cc"stringpattern="aa\".(@"/", @"\\");stirngreplacement=@"\";// 如果pattern为空,会替换成\a\a\b\b\c\c,就是把每个字母都切割了if (string.IsNullOrWhiteSpace(pattern)) continue;console.write(Regex.Replace(uncPath, pattern, replacement, RegexOptions.IgnoreCas 阅读全文
posted @ 2011-07-06 16:27 凌度 阅读(282) 评论(0) 推荐(0) 编辑
Windows Azure Platform
摘要:Component Purpose For More Information Local Development Environment The Windows Azure SDK provides tools and resources that you can use to package, test and deploy your application. Windows Azure Tools for Microsoft Visual Studio extend Visual Studio to enable the creation, building, debugging, ru. 阅读全文
posted @ 2011-07-06 10:35 凌度 阅读(214) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示