es同步
./migrator-linux-amd64 \
-s http://ip:port \
-d http://127.0.0.1:9200 \
-x index \
-w=5 -b=10 -c=10000
./migrator-linux-amd64 \
-v info \
-s 'http://ip:port' \
-m 'name:passwd' \
-d http://127.0.0.1:9200 \
-x index \
-w=5 \
-b=10 \
-c=10000
检查类型
curl http://ip:port/index/_mapping
删除索引
k5中
DELETE yz_zh_col_split
curl
curl -X DELETE http://113.125.111.99:10269/index
iptables操作
iptables -I INPUT -s 183.226.199.27 -p tcp -j ACCEPT
iptables -D INPUT -s 183.226.199.27 -p tcp -j ACCEPT
history操作
sed -i '2010d' ~/.bash_history
history -c
history -r