- 浏览: 82708 次
- 性别:
- 来自: 上海
-
最新评论
-
zhengyong7232:
clientAuth="true" ...
tomcat配置SSL双向认证
文章列表
CentOS上FTP的安装和相关配置
1. 查看是否安装vsftp
#rpm –qa |grep vsftpd 2. 如果没安装就安装vsftpd 否则跳过
#yum –y install vsftpd 3. vsftpd的配置
1) 打开vsftpd.conf
#vi /etc/vsftpd/vsftpd.cof 2)修改以下内容:
anonymous_enable=NO // 设定不允许匿名访问
local_enable=YES //设定本地用户可以访问。注:如使用虚拟宿主用户,在该项目设定为NO的情况下所有虚拟用户将无法访 ...
官方网站:http://proxool.sourceforge.net/
目前最新的版本是版本0.9.0RC3(2007-01-10);
你也可以通过cvs下载最新的源代码:
cvs -d:pserver:anonymous@proxool.cvs.sourceforge.net:/cvsroot/proxool login
cvs -z3 -d:pserver:anonymous@proxool.cvs.sourceforge.net:/cvsroot/proxool co proxool
首先编写配置文件proxool.xml
[XML] view plaincopy
<prox ...
如何打开UPnP功能
如果已经满足了上述的3个条件,那么我们就一步一步的讲解一下到底如何才能打开UPnP功能;
1、在Modem中打开UPnP功能。
不同型号的Modem设置界面和方法略有不同,如有些是在下拉菜单中选择Enable,但基本的原理都是一样的;
有些文章提到,此时要把所有桥接的eoa连接都删除掉,我倒是认为大可不必如此。因为目前只有你的PPPOE连接是有效的,其它的几个eoa所对应的VPI和VCI根本就是无效的,所以没有必要删除。但是否有些型号的Modem会比较特殊也很难讲,因此建议此时暂不删除,把全部设置进行完后,如果还是没有打开U ...
org.apache.log4j.Logger 详解
1. 概述
1.1. 背景 在应用程序中添加日志记录总的来说基于三个目的 :监视代码中变量的变化情况,周期性的记录到文件中供其他应用进行统计分析工作;跟踪代码运行时轨迹,作为日后审计的依据;担当集成开发环境中的调试器的作用,向文件或控制台打印代码的调试信息。 最普通的做法就是在代码中嵌入许多的打印语句,这些打印语句可以输出到控制台或文件中,比较好的做法就是构造一个日志操作类 来封装此类操作,而不是让一系列的打印语句充斥了代码的主体。
http: ...
response.setHeader("Cache-Control","no-cache"); 的意思?
1. response.setHeader("Cache-Control","no-cache"); This is used to prevent the browser from caching your dynamic content generated by a JSP or Servlet.You set this attribute in the HTTP header of the ...
在input 的键盘键松开事件和键盘键按下事件分别调用checkamount()
// amount参数是input的id
function checkamount( amount){
var s = $("#"+amount).val();
if(!isMoney(s)){
//temp.substring(0,temp.length-5)
$("#"+amount).val(s.substring(0,s.length-1));
...
org.springframework.dao.InvalidDataAccessApiUsageException: No value supplied for the SQL parameter 'startDate': No value registered for key 'startDate'
这种问题是由于我们在使用 sql 操作数据库的时候使用了占位符,而在参数 Map 里面没有 put 这个对应的参数和值,导致 jdbc在执行的时候找不到这个参数对应的值。
Caused by: java.sql.SQLException: ORA-01427: single-row ...
- 2012-07-20 11:01
- 浏览 824
- 评论(0)
在Oracle 11gR2 RAC 创建实例的时候,会让我们选择配置类型:Admin-Managed 和 Policy-Managed ,如下:
官网文档解释如下:
6.1 Understanding ServerPools
Server pools arelogical divisions of a cluster into pools of servers, which are allocated tohost databases or other applications. Server pools are managed using crsctl andsrvctl comma ...
- 2012-07-17 00:41
- 浏览 887
- 评论(0)
一.创建控制文件时:Resetlogs和Noresetlogs
当我们将控制文件备份到trace 文件时,可以看到里面包含了2部分的重建语句,一个是使用resetlogs,另一个是使用noresetlogs。
备份控制文件的SQL 如下:
SQL>alterdatabase backup controlfile to tr ...
- 2012-07-16 23:58
- 浏览 631
- 评论(0)
在启动数据库的时候,我们可能会遇到如下错误:
ORA-1122 :database file %s failedverification check
ORA-1110 : datafile :
ORA-1207: ORA 1207 file is more recent thancontrol file
ORA-1207的主要原因是因为数据库突然掉电,在重启的时候,就会容易遇到这种错误。
MOS上对这个错误的解释如下:
The informationin this file is inconsistent with information from the control file.
Th ...
- 2012-07-16 22:19
- 浏览 655
- 评论(0)
相关的理论说明,参考如下Blog:
Oracle RACFailover 详解
http://blog.csdn.net/tianlesoftware/article/details/5340788
How To Configure Server Side TransparentApplication Failover [ID 460982.1]
1.创建TAFService
[oracle@db1 bin]$ ./srvctl add service -d orcl -s server_taf -r "orcl1,orcl2" -P BASIC
--这里的or ...
- 2012-07-15 13:41
- 浏览 972
- 评论(0)
文件传输协议:
文件传输是数据交换的主要形式。在进行文件传输时,为使文件能被正确识别和传送,我们需要在两台计算机之间建立统一的传输协议。这个协议包括了文件的识别、传送的起止时间、错误的判断与纠正等内容。
在SecureCRT下的传输协议有ASCII、Xmodem、Ymodem、Zmodem4种。
(1)ASCII:这是最快的传输协议,但只能传送文本文件。
(2)Xmodem:这种古老的传输协议速度较慢,但由于使用了CRC错误侦测方法,传输的准确率可高达99.6%。
(3)Ymodem:这是Xmodem的改良版,使用了1024位区段传送,速度比Xmodem要快。
(4)Zmodem:Zmo ...
- 2012-07-14 09:27
- 浏览 1490
- 评论(0)
假设我们只能用Linux的命令模式,此时我们下载Oracle软件只能使用wget,但是Oracle 在权限这块管理越来越高,下载时需要验证帐号,具体使用wget的方式如下:
wget -c --http-user=username --http-password=pwd --output-document=patchname.zip "Download_URL" -o logname.log &
解释如下:
-c 表示断点续传
--http-user metalink帐号
--http-password metalink密码
--output-document ...
- 2012-07-13 23:35
- 浏览 778
- 评论(0)
一.Solaris 查看系统信息
1. CPU
psrinfo -v | grep Status of processor |wc –l
2. 内存
使用命令:
prtconf | grep -i mem
或
$prtconf | grep 'Memory'
Memory size: 81920 Megabytes
示例:
oracle@db$prtconf | grep -i mem
Memory size: 81920 Megabytes
memory (driver not attached)
virtual-memory (driver not attached)
m ...
- 2012-07-11 20:49
- 浏览 1034
- 评论(0)
在AWR 看到local write waits和 enq: RO - fast object reuse 的 等待事件。
一.Local write waits 等待说明
网上对local write waits 的说明:
Note 1:
Typically DBWRhas to free up some buffers when you want to read something from the disk.During this process there are chances that you will ...
- 2012-07-10 23:07
- 浏览 1315
- 评论(0)