方式1: /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #开启8011端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptab...
分类:
系统相关 时间:
2014-06-18 13:03:30
阅读次数:
262
Target Side Setup
Install OGG on Target Side
Creates required directories for OGG
[oracle@vzwc1 ggs]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.23 1870940...
分类:
数据库 时间:
2014-06-18 12:37:31
阅读次数:
442
DDL Setup Steps
SQL> grant execute on utl_file to ggs;
Grant succeeded.
Create GLOBALS file
[oracle@zwc ~]$ cd /ggs/
[oracle@zwc ggs]$ cat GLOBALS
GGSCHEMA GGS
run marker_s...
分类:
数据库 时间:
2014-06-17 23:24:30
阅读次数:
534
1. Install Java and set JAVA_HOME2. Install IntelliJ IDH and Scala plugin3. Download spark1.0.04. Generate a workspace for IDEA[shaochen@linux spark-1...
分类:
其他好文 时间:
2014-06-17 19:55:22
阅读次数:
262
CentOS中无法使用setup命令提示:-bash:setup:commandnotfound解决方法:出现这个问题是因为Minimal安装模式,所以并没有安装setuptool软件。倘若使用图形安装模式的话即使选择“以后定制软件”也可以在安装好系统之后直接使用setup命令,解决办法为:使用yum源直接下载安装或..
分类:
其他好文 时间:
2014-06-17 18:03:05
阅读次数:
330
最近工作需要,用Cython写了*.pyx扩展,并将其编译成C文件,最后转换为so扩展,供python引用
使用 distutils 编译,建立一个
setup.py
的脚本
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import b...
分类:
编程语言 时间:
2014-06-15 15:22:58
阅读次数:
357
iptables简介 netfilter/iptables(简称为iptables)组成Linux平台下的包过滤防火墙,与大多数的Linux软件一样,这个包过滤防火墙是免费的,它可以代替昂贵的商业防火墙解决方案,完成封包过滤、封包重定向和网络地址转换(NAT)等功能。iptables基础 规则(ru...
分类:
系统相关 时间:
2014-06-15 06:27:53
阅读次数:
420
多数CC攻击在web服务器日志中都有相同攻击的特征,我们可以根据这些特征过滤出攻击的ip,利用iptables来阻止#!/bin/bash#by LinuxEye#BLOG: http://blog.linuxeye.comOLD_IFS=$IFSIFS=$'n'not_status=`iptabl...
分类:
系统相关 时间:
2014-06-15 00:54:09
阅读次数:
340
C规则涉及到 队列(QUEUE) 分类器(CLASS) 过滤器(FILTER),filter划分的标志位可用U32或iptables的set-mark来实现 ) 一般是"控发"不控收 linux下有两块网卡,一个eth1是外网,另一块eth0是内网.在eth0上做HTB。(注 意:filter划分标...
分类:
系统相关 时间:
2014-06-14 15:35:43
阅读次数:
359
1 安装和升级
$ sudo gem install cocoapods
$ pod setup
2 更换为taobao的源
$ gem sources -r https://rubygems.org/
//等有反应之后再敲入以下命令
$ gem sources -a http://ruby.taobao.org/
//查看
$ gem sour...
分类:
其他好文 时间:
2014-06-14 09:19:13
阅读次数:
216