- 浏览: 66814 次
- 性别:
- 来自: 杭州
最新评论
-
qp7711:
不知道能不能给个Demo呢? qp7711@qq.com这样看 ...
struts_osgi -
xiaolaogong:
访问到的数据当然相同了这是运行多个mysqld监听程序实例 加 ...
linux mysql 多个实例配置 -
beming:
请问博主有没有发现,无论从哪个端口进去都能访问到不同端口里的数 ...
linux mysql 多个实例配置
文章列表
自己写的测试前端页面js
- 博客分类:
- webui
testConfig = {
base_source_uri : 'http://static.test.com',
script_sourc_uri : '/script/',
style_source_uri : '/style/',
setBaseSourceUri : function(source) {
this.base_source_uri = source;
},
setScriptSourceUri : function(source) {
this.script_ ...
固定侧边蓝的css样式
- 博客分类:
- webui
ul.scroll {
width: 15px;
float: right;
display: block;
position: fixed;
top: 40%;
right: 0;
sitemesh config
- 博客分类:
- JAVA系统架构
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http ...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.test.dao.mapping.DepartmentMapping">
<resultMap type ...
<?xml version="1.0" encoding="UTF-8"?>
<log4php:configuration xmlns:log4php="http://logging.apache.org/log4php/">
<appender name="myAppender" class="LoggerAppenderFile">
<layout class="LoggerLayoutPattern">
...
httpd: option requires an argument -- D
Usage: ./httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t ...
php.ini
[Xdebug]zend_extension_ts="D:/DEVTOOLS/php/ext/php_xdebug-2.1.0-5.2-vc6.dll"xdebug.remote_enable=true xdebug.remote_host=127.0.0.1xdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.auto_trace=Onxdebug.collect_params=Onxdebug.collect_return=Onxdebug.trace_output_dir="D:/DE ...
ProxyRequests Off
<proxy balancer://cluster>
BalancerMember ajp://localhost:8019 loadfactor=1 route=test1 smax=5 max=20 ttl=120 retry=300 timeout=15
BalancerMember ajp://localhost:8029 loadfactor=2 route=test2 smax=5 max=20 ttl=120 retry=300 timeout=15
ProxySet lbme ...
mod_jk.conf
----------------------------------------------------------------
LoadModule jk_module modules/mod_jk.so
JkWorkersFile D:/DEVTOOLS/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkRequestLogFormat "%w %V %T&qu ...
linux shell
- 博客分类:
- shell
linux 系统管理基础
调试shell
sh -x test.sh
sh -v test.sh
在父shell中执行
source
./test.sh
显示shell 层次
登录shell执行文件
/etc/profile
$home/user/.bash_profile
$home/user/.bash_login
$home/user/.profile
按照文件顺序依次执行
新建一个子shell
读取
/etc/bash.bashrc
$home/user/bash.bashrc
sh文件调用顺序
执行login ...
#! /bin/sh
ERRTRAP(){
echo "[LINE:$1] Error: Command or function exited with status $?"
}
foo(){
return 1;
}
trap 'ERRTRAP $LINENO' ERR
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="htt ...
jstatd -J-Djava.security.policy=policy -J-Djava.rmi.server.hostname=192.168.3.125
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.3.243"
jstatd -J-Djav ...
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/n ...