原创 nc yum install

how to install nc with yum rpm -q nc you can try nc -l 9999 then nc -l -p 9999 then before you downgrade the packa

原创 install nodejs centos

sources : [原文檔鏈接] 1 download nojs install package link : https://nodejs.org/dist/v5.10.1/ 2 according to system’s

原创 elasticsearch install and how to use javaapi

原文鏈接:http://blog.csdn.net/hfmbook/article/details/51881678 Elasticsearch 基本安裝 標籤(空格分隔): Elasticsearch Elasticsearch

原创 python 提取key 爲中文的json 串

示例: # -*- coding:utf-8 -*- import json strtest = {"中故宮":"好地方","天涯":"北京"} print strtest #####{'\xe4\xb8\xad\xe6\x95

原创 elasticsearch shield 認證的兩種方式(http/java api)

安裝shield 第一步 install shield 1. bin/plugin install license 2. bin/plugin install shield 第二步 restart elasticsearc

原创 ulimit

原文出處:link 網上有好多修改ulimit的文章,但大多僅限於對當前交互shell的修改,如果只是爲了提高某一次執行腳本的文件句柄打開數,以下方法非常有效: 操作系統: CentOS 5.1 x86_64 1)修改當前

原创 es 分詞器使用簡介

introduce : 測試整個集羣使用的分詞器 只需要在一個節點安裝即可 在同一個type下 不同字段可以設置不同的分詞器 示例如下: 創建index curl -XPUT http://spark2:9200/test_i

原创 kafka的分區數與多線程消費

原文鏈接:點擊打開鏈接 http://www.myexception.cn/industry/2030583.html ========================================================= 首

原创 python pip install

prepare the pip install package at first download source : https://pypi.python.org/pypi/pip#downloads then you

原创 有關 poi 讀 excel 中的一些問題

有關 poi 讀 excel 中的一些問題 : 讀取 excel 2003-2007 和 2007以後版本 兼容問題 解決 單元格日期格式讀取 處理方式 讀取 excel 2003-2007 和 2007以後版本 兼容問題

原创 es ik

原文鏈接:https://github.com/medcl/elasticsearch-analysis-ik Install 1.compile checkout ik version respective to your

原创 elasticdump

1 before you dump your data/mapping you should install nodejs,npm download the nodejs link realase the tar then so

原创 linux commands for common

查看操作系統版本 head -n 1 /etc/issue 查看操作系統位數 1、uname -a 2、file /bin/ls 點贊 收藏 分享 文章舉報 l

原创 安裝bcc-tools

一. 安裝cmake cmake是一種跨平臺的編譯工具,安裝過程如下: 下載源碼包:https://cmake.org/files/v3.8/cmake-3.8.0.tar.gz 解壓:tar -xf cmake-3.8.0.tar.

原创 top 使用

top使用原文 如上文章寫的不錯,推薦 查看多核CPU命令 mpstat -P ALL 和 sar -P ALL 說明:sar -P ALL > aaa.txt 重定向輸出內容到文件 aaa.txt top命令 經常用來監控l