1. filter 2. nat 3. Mangle 常用表的流程只有filter和nat,简化如下: 命令参数详解 table表 >chain 链 >rule 规则 policy [root@lb01 ~]# iptables --help iptables v1.4.7 Usage: iptab ...
分类:
其他好文 时间:
2018-03-07 13:29:37
阅读次数:
1266
Sort 的时间复杂度:o(n), 空间复杂度 o(logn)。 Merge 的时间复杂度: o(nlogn), 空间复杂度 o(n)。 总时间复杂度:o(nlogn) 总空间复杂度:o(n)。 ...
分类:
其他好文 时间:
2018-03-07 10:28:22
阅读次数:
191
mysql下载地址:https://dev.mysql.com/downloads/mysql/ ...
分类:
数据库 时间:
2018-03-07 00:42:04
阅读次数:
821
DML(Data Manipulate Language)数据操纵语言,包含 insert update delete merge 对于多条DML语句,Oracle将其看作是一个整体事务进行处理,因此必须手动处理 提交 commit 与 回滚 rollback 操作。 (1) Merge : 插入所 ...
分类:
数据库 时间:
2018-03-06 21:40:59
阅读次数:
160
通过showlognsd_chk_only|no-more可查看JuniperSRX系列防火墙的系统相关限制。比如说Policy策略最大数、策略调用Address地址簿最大数、策略调用Applications应用最大数、NAT最大数、Zone区域最大数等相关信息。以下为JuniperSRX5600输出结果SRX5600>showlognsd_chk_only|no-moreMatchingp
分类:
其他好文 时间:
2018-03-06 18:17:56
阅读次数:
191
一、问题描述 给定一系列区间,要求将其中重叠的、临接的区间合并成一个区间 例子: 给定[1,3],[2,6],[8,10],[15,18] 输出[1,6],[8,10],[15,18] 二、问题解决 第一步:先对区间按区间头进行排序 第二步:从第一个区间开始遍历,如果后一个区间与前一个区间有重叠或是 ...
分类:
其他好文 时间:
2018-03-06 16:58:04
阅读次数:
115
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 与21. Merge Two Sorted Lists的拓展,这道题要合并k个有序链表,还是可以两两合 ...
分类:
其他好文 时间:
2018-03-06 10:49:39
阅读次数:
150
mysql分表场景分析与简单分表操作 为什么要分表 首先要知道什么情况下,才需要分表个人觉得单表记录条数达到百万到千万级别时就要使用分表了,分表的目的就在于此,减小数据库的负担,缩短查询时间. 表分割有两种方式: 1水平分割:根据一列或多列数据的值把数据行放到两个独立的表中。 水平分割通常在下面的情 ...
分类:
数据库 时间:
2018-03-05 12:04:57
阅读次数:
228
一、查看是否安装了ssh服务 apt-cache policy openssh-client openssh-server ubuntu默认安装了openssh-client,openssh-server需要手动安装 二、安装ssh服务 apt-get install openssh-server ...
分类:
系统相关 时间:
2018-03-05 00:52:20
阅读次数:
279
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2018-03-04 23:54:27
阅读次数:
173