今天,数据库抽风,在地址栏输入localhost/phpmyadmin尽然显示没有访问权限的英文。。。。查了资料都是有好多解决方案,基本都是先点击绿色的w图标,然后找到apache下的httpd.conf,然后将里面的Deny from 127.0.0.1修改为all。 Options Fol...
分类:
数据库 时间:
2014-07-23 12:09:26
阅读次数:
262
前段时间换了一个新项目组。过去发现居然SVN都没有。代码都是手动对比存档。当时就蛋疼了。这他妈也太苦逼了。话不多说,要来测试服务器地址。开工了。由于服务器不能连接外网。1.先下载安装包。本次安装不结合Apache。只做SVN服务器端安装。 wget http://subversion.tigr...
分类:
系统相关 时间:
2014-07-23 12:07:06
阅读次数:
269
Exceptioninthread"main"javax.ws.rs.client.ClientException:java.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.cxf.staxutils.StaxUtils atorg.apache.cxf.jaxrs.client.WebClient.handleResponse(WebClient.java:1125) atorg.apache.cxf.jaxrs.client.WebC..
分类:
Web程序 时间:
2014-07-23 00:25:08
阅读次数:
2051
修改apache配置文件如下<Directory"/usr/local/sae/httpd//htdocs/cgi-bin">AllowOverrideNoneOptionsExecCGIOrderallow,denyAllowfromall</Directory>AddTypetext/html.htm.html.pyAddHandlercgi-script.cgi.py编写hello_get.py,放在/usr/local/sae/httpd/htdocs/..
分类:
编程语言 时间:
2014-07-23 00:22:58
阅读次数:
203
说明:
最近两天在调研HBase的连接池,有了一些收获,特此记录下来。
本文先将官方文档(http://hbase.apache.org/book.html)9.3.1.1节翻译,方便大家阅读,然后查阅了关键类HConnectionManager的Developer API(http://hbase.apache.org/devapidocs/index.html) 做了一些总结。...
分类:
其他好文 时间:
2014-07-23 00:12:08
阅读次数:
466
下载maven
http://maven.apache.org/download.cgi
解压
用压缩管理器打开,解压至home目录下
配置环境变量
sudo gedit /etc/profile添加
export M2_HOME=/home/weibo/apache-maven-3.0.5(视自己的情况而定)
export M2=$M2_HOME/bin
e...
分类:
其他好文 时间:
2014-07-23 00:11:27
阅读次数:
305
自定义类型转换器必须实现ongl.TypeConverter接口或对这个接口的某种具体实现做扩展
>com.opensymphony.xwork2.conversion.TypeConverter
à com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
à org.apache.struts2.util.StrutsT...
分类:
其他好文 时间:
2014-07-22 23:45:27
阅读次数:
378
/** * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
分类:
数据库 时间:
2014-07-22 22:45:32
阅读次数:
355
package com.tongyan.common.db;/** * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Licens...
分类:
数据库 时间:
2014-07-22 22:42:12
阅读次数:
343
前期做这个实验的时候:httpd:SELINUX(事先让其处于DISABLED状态)getenforcesetenforce0编辑/etc/sysconfig/selinuxselinux的3种选择:disabledpermissiveenforcing3种选择;Disabled就不用说了,permissive就是selinux有效,但是即使你违反了策略的话它让你继续操作,但是..
分类:
其他好文 时间:
2014-07-22 18:28:22
阅读次数:
234