`
qingwei201314
  • 浏览: 163412 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
  List<DBObject> jsonlist = new ArrayList<DBObject>();        // 查询条件        BasicDBObject matchFields = new BasicDBObject();        matchFields.put("mvnoId", new BasicDBObject("$eq", arg1));        matchFields.put("orgId", new BasicDBObject("$eq", ...
maven maven 执行update project 后,出现Java compile versiont does not match问题解决: 在pom.xml文件中增加以下内容: <build>        <finalName>kevin-web</finalName>        <plugins>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                < ...
1.安装zookeeper 2.安装kafka,kafka配置文件/usr/local/kafka_2.11-0.9.0.1/config/server.properties内容如下: broker.id=0listeners=PLAINTEXT://:9092# The port the socket server listens on#port=9092# Hostname the broker will bind to. If not set, the server will bind to all interfaceshost.name=192.168.152.130adverti ...
#!/bin/bashcd `dirname $0`BIN_DIR=`pwd`cd ..DEPLOY_DIR=`pwd`CONF_DIR=$DEPLOY_DIR/confSERVER_NAME=`sed '/dubbo.application.name/!d;s/.*=//' conf/jdbc.properties | tr -d '\r'`SERVER_PROTOCOL=`sed '/dubbo.protocol.name/!d;s/.*=//' conf/jdbc.properties | tr -d '\r'`SERVER_PORT=`sed '/dubbo.protocol.port/ ...
1.在工程的pom.xml文件中增加以下内容: <plugins>            <plugin>                <artifactId>maven-assembly-plugin</artifactId>                <version>2.6</version>                <configuration> ...
<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/setti ...
使用maven的assembly插件打包工程至服务器,具体步骤如下: 1.在maven工程的pom.xml文件中加入以下内容:         <plugins>            <plugin>                <artifactId>maven-assembly-plugin</artifactId>                <version>2.6</version>                <configuration>                    < ...
<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache ...
wireshark抓取本地包,需要在cmd窗口中,执行如下内容,原理,将发给10.1.14.120的包转给路由,再由路由访问,这样经过网卡的包才能被抓到: route add 10.1.14.120 mask 255.255.255.255 10.1.14.1 metric 1   10.1.14.120为本机ip, 10.1.14.1为路由地址
#user  nobody;worker_processes  4;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {    worker_connections  1024;}http {    include       mime.types;    default_type  application/octet-strea ...
keytool -import -file d:\williamhill.cer -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -alias server
web监控:piwik。  工博推荐,听说是要替换google。
一、.安装nginx请参考: http://qingwei201314.iteye.com/blog/1729174 二、安装php: 获取并解压 PHP 源代码: tar zxf php-x.x.x 配置并构建 PHP。在此步骤您可以使用很多选项自定义 PHP,例如启用某些扩展等。 运行 ./configure --help 命令来获得完整的可用选项清单。 在本示例中,我们仅进行包含 PHP-FPM 和 MySQL 支持的简单配置。 cd ../php-x.x.x ./configure --enable-fpm --wit ...
1. 需要先外mongodb的配置文件修改下: vi /etc/mongod.conf将bind_ip这一行去掉或改成客户端的ip,允许其他ip可以访问mongo   2.maven引入spring-data-mongodb包   3. 在spring的配置文件中增加以下内容:  <mongo:mongo host="10.1.5.105" port="27017"> </mongo:mongo>  <bean id="mongoTemplate" class="org.spri ...
 //发送短信后,进行计时 function countSMS(totalcount){   if(--totalcount>0){       setTimeout("countSMS("+totalcount+")",1000);           $("#scount").html(totalcount);   }    else{   $("#mobileSMS").show();    $("#sms_send_code").hide();    } }
Global site tag (gtag.js) - Google Analytics