ubuntu安装和配置其实还是很简单的,这里写一些记录作为工作笔记。 安装 ubuntu下利用apt安装apache2很简单. apt-get?install?apache2 添加虚拟主机 首先在 /etc/apache2/sites-available/ 下仿照000-default.c...
分类:
其他好文 时间:
2014-07-22 09:06:05
阅读次数:
224
项目框架 SpringMVC+Hibernate 开发工具 Myeclipse10 报错代码(下图): 检查项目发现出现问题的原因:配置文件有问题,少配置了一个字段,下面红色注释部分。 <fields> a.id,a.title,a.author,a.content,a.source,...
分类:
编程语言 时间:
2014-07-22 08:28:36
阅读次数:
295
最近在做Android Audio方面的工作,有需求是在调节Volume_Up_Key & Volume_Down_key时,Spearker or Headset每音阶的衰减变为3db左右。所以利用Source Insight分析Android源码中音量控制的流程,如有错误,欢迎指正,谢谢! .....
分类:
移动开发 时间:
2014-07-21 08:34:02
阅读次数:
388
监控 ehcache缓存:1,下载:http://terracotta.org/downloads/open-source/destination?name=ehcache-monitor-kit-1.0.3-distribution.tar.gz&bucket=tcdistributions&fi...
分类:
其他好文 时间:
2014-07-21 00:27:02
阅读次数:
378
nginx负载均衡tomcat并且实现反向代理依赖的软件包提前安装到/local驱动器里1.gzipmodulerequireszliblibrary2.rewritemodulerequirespcrelibrary3.sslsupportrequiresopenssllibrary4.nginx下载源码包1.wgethttp://www.openssl.org/source/openssl-1.0.0l.tar.gz2.wgetftp://f..
分类:
数据库 时间:
2014-07-20 15:33:31
阅读次数:
318
在Eclipse中开发android的应用程序时,有时想查看函数的内部实现,但是当在函数上点击ctrl和鼠标左键的时候,往往出现如下提示: Class File EditorSource not foundThe JAR of this class file belongs to container 'Android' which does not allow modifications to ...
分类:
移动开发 时间:
2014-07-20 11:42:00
阅读次数:
217
目的:利用shell脚本每小时检测数据库是否在运行,当检测到库宕掉时发邮件告警。
1.检查sendmail是否在运行
servicesendmailstatus
没有在运行则启动或安装。
如果是linux6,则检查postfix是否在运行servicepostfixstatus
2.pmon是oracle五大关键进程之一,如果pmon进..
分类:
其他好文 时间:
2014-07-20 10:36:28
阅读次数:
234
#!/bin/bash#初始化环境变量source.bash_profile#日志名中的固有日期格式f_name=`date+%Y%m%d`#日志的路径及名称log_file=/backup/db/rman/log/rman$f_name-0401.logecho$log_file#统计日志文件行数#line_num=`wc-l$log_file|awk‘{print$1}‘`#echo$line_num#如果日志文件不存在..
分类:
其他好文 时间:
2014-07-20 10:18:28
阅读次数:
304
一、什么是Grails?
Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:
其他好文 时间:
2014-07-19 23:18:40
阅读次数:
240
Mysql 查询执行过程 大致分为4个阶段吧:
语法分析(sql_parse.cc)
>>sql_resolver.cc # JOIN.prepare
生成逻辑查询plan(sql_optimizer.cc)
>># JOIN.optimize
生成物理查询plan(sql_planner.cc)
run the explain plan(sql_executor.cc...
分类:
数据库 时间:
2014-07-19 23:18:37
阅读次数:
335