问题描述与解决方案还是老问题,Linux系统中通过iptables配置的NAT无法在双向通信环境中使用,你无法配置一条NAT规则实现对两个方向主动发起的流量做NAT,解决这个问题的方案有好几种:1.配置两条NAT规则iptables的NAT配置本身就是先match再执行一个target,因此一条规则只能表示一种转换策略,要想实现“来自x的数据包的源地址转换为y,去往y的数据包的目标地址转为x”这样...
分类:
其他好文 时间:
2014-07-20 09:22:06
阅读次数:
294
问题描述与解决方案还是老问题,Linux系统中通过iptables配置的NAT无法在双向通信环境中使用,你无法配置一条NAT规则实现对两个方向主动发起的流量做NAT,解决这个问题的方案有好几种:1.配置两条NAT规则iptables
的NAT配置本身就是先match再执行一个target,因此一条规则只能..
分类:
其他好文 时间:
2014-07-20 03:46:22
阅读次数:
205
Java环境配置 数据库 缓存Redis Nosql MongoDB 安装...
分类:
数据库 时间:
2014-07-20 00:38:29
阅读次数:
380
Hardwood Species
Time Limit: 10000MS
Memory Limit: 65536K
Total Submissions: 17986
Accepted: 7138
Description
Hardwoods are the botanical group of trees that have b...
分类:
其他好文 时间:
2014-07-19 23:48:19
阅读次数:
472
上一节说到mongoDB的环境搭建,但是那种方法启动mongoDB太繁琐了。 今天先说说简化mongoDB启动的配置。 首先在命令行中运行的”C:\ProgramFiles\MongoDB2.6Standard\bin\mongod.exe”命令,这个可以简化为直接mongod命令,具体做法...
分类:
数据库 时间:
2014-07-19 18:09:00
阅读次数:
490
Handler的实质就是异步消息处理。实例一:Handler的基本用法XML布局代码:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<T..
分类:
移动开发 时间:
2014-07-19 16:28:30
阅读次数:
334
SELECT COUNT(p.id) AS statisticsCount, c.dept, c.type, p.userId, p.baibanFROM de_tbfw_order_schedulingperson p , de_tbfw_order_scheduling cwhere p.tbf...
分类:
其他好文 时间:
2014-07-19 16:15:24
阅读次数:
240
// Create an item within a specified group,// bound to a specified data field with the specified editorprivate LayoutControlItem CreateItemWithBoundEd...
分类:
其他好文 时间:
2014-07-19 12:05:19
阅读次数:
1815
1、配置:mongod --dbpath=D:\MongoDB\data mongo2、基本的增删查改 find() update()-- 整体更新,局部更新。 修改器: $inc db.person.update({"age":23},{$inc:{"salary":1000}})...
分类:
数据库 时间:
2014-07-19 11:17:44
阅读次数:
250
Grid是ExtJS中最常用的组件之一,今天在此稍作整理,主要针对一些常用的功能知识点。一、基础的Grid表格Ext.create(‘Ext.data.Store‘,{
storeId:‘simpsonsStore‘,
fields:[‘name‘,‘email‘,‘phone‘],
data:{‘items‘:[
{‘name‘:‘Lisa‘,"email":"lisa@simpsons.com","phone":"555-..
分类:
Web程序 时间:
2014-07-19 02:42:05
阅读次数:
293