开启tomcat时出现以上错误// 进入root帐户 在普通用户也可以sudo -s//用编辑器打开.bashrc文件gedit .bashrc 在普通用户下注意加上sudo//在最后一行添加环境变量(文件位置根据自己的实际情况)JAVA_HOME=/usr/local/java/jdk1.7.0_...
分类:
编程语言 时间:
2014-08-06 18:21:13
阅读次数:
519
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace RTSP_Digest_Authentication
{
class Program
{
///
...
分类:
其他好文 时间:
2014-08-06 11:53:01
阅读次数:
365
1. 什么是LTPA? Lightweight Third-Party Authentication (LTPA)是IBM Websphere和Domino产品中使用单点登录技术。当服务器配置好LTPA认证方式,用户通过浏览器成功登录后,服务器会自动发送一个session cookie给...
分类:
其他好文 时间:
2014-08-06 10:41:51
阅读次数:
318
1.简单模式 这种模式,配置简单,使用简单。 core-site.xml添加 hadoop.security.authorization true hadoop.security.authentication s...
分类:
其他好文 时间:
2014-08-05 22:01:00
阅读次数:
202
本部分的指令是ISO/IEC 7816定义的基本指令,包括:
Ø APPLICATION BLOCK(应用锁定)
Ø CARD BLOCK(卡片锁定)
Ø CHANGE PIN(修改个人密码)
Ø EXTERNAL AUTHENTICATION(外部鉴别)
Ø GET RESPONSE(获取响应)
Ø GET CHALLENGE(获取...
分类:
其他好文 时间:
2014-08-05 19:18:40
阅读次数:
582
题目:Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partition....
分类:
编程语言 时间:
2014-08-05 13:32:29
阅读次数:
252
1. 设定代理:. ~/.proxyenv 1 #!/bin/sh 2 3 # for terminal 4 export proxyserveraddr=123.123.123.123 5 export proxyserverport=8087 6 export HTTP_PROXY="http....
分类:
系统相关 时间:
2014-08-05 13:31:29
阅读次数:
291
public static String getIpAddr(HttpServletRequest request) {
if (null == request) {
return null;
}
String proxs[] = { "X-Forwarded-For", "Proxy-Client-IP",
"WL-Proxy-Client-IP", "HTTP...
分类:
编程语言 时间:
2014-08-05 11:40:59
阅读次数:
317
安装Cache::Memcahced模块首先安装配置cpan,使用cpan来安装Cache::Memcahced模块yum-yinstallcpanvim/usr/share/perl5/CPAN/Config.pm将镜像路径设置为:‘urllist‘=>[q[http://mirrors.ustc.edu.cn/CPAN/]],安装:perl-MCPAN-eshellcpan[1]>installCache::Memcahced开始..
分类:
其他好文 时间:
2014-08-05 11:30:50
阅读次数:
235
Problem HHelp is needed for DexterTime Limit: 3 SecondDexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned fo...
分类:
其他好文 时间:
2014-08-05 00:21:08
阅读次数:
315