lsof -i :8066 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 32760 root 60u IPv6
regex instead) Built without Lua support Built with transparent proxy support using: IP_TRANSPARENT IPV6_
关闭RabbitMQ 应用 [root@h102 rabbitmq]# rabbitmqctl status Status of node rabbit@h102 ... [{pid,5596}, {running_applications,[{rabbit,"RabbitMQ","3.5.6"}, {os_mon,"CPO CXC 138 46","2.2.7"}, {xmerl,"XML parser"
upstream 是nginx 负载均衡的主要模块,它提供了一个简单方法来轮询后端的服务器
编译 [root@h102 nginx-1.9.5]# make make -f objs/Makefile make[1]: Entering directory `/usr/local/src/nginx-1.9.5' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs
Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world b901d36b6f2f : Pull complete 0a6ba66e537a: Pull complete Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
action":"get","node":{"key":"/foo","value":"bar","expiration":"2016-02-01T15:41:31.103825075Z","ttl":6,
root@h101 memcached-1.4.24# /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
然后编译和安装 [root@h101 daq-2.0.6]# make make all-recursive make[1]: Entering directory `/tmp/snort/daq-2.0.6' Making all in api make[2]: Entering directory `/tmp/snort/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
^ SyntaxError: invalid syntax 5) 索引超出范围,IndexError In [5]: a = [1,2,3] In [6] -------- IndexError Traceback (most recent call last) <ipython-input-6- : re.findall(r1,s) Out[6]: ['wor\\l'] In [7]: ####基本模式#### 1 字面模式: 就是字面长量,就代表其本身 2 . :匹配任何字符 3 \d:匹配任何十进制数 4 \D:匹配任何非数字字符 5 \s:匹配任何空白字符 6 \S:匹配任何非空间字符 7 \w:匹配任何字母数字字符 8 \W:匹配任何非字母数字自符 9 : re.sub(r'wes..s','world','hello westos') ###第一个字符指被替换的字符,第二个字符指要替换成的字符,第三个字符指被替换的字符串### Out[6]: '
Tip: ./Config 脚本会引导我们阅读新版的变更与注意事项,然后收集软件配置,收集配置信息的过程中,可以按需指定,也可以直接回车接受默认值,最后会引导我们创建一个SSL证书,根据具体环境进行设置就好了 然后编译 [root@h104 unrealircd-4.0.2]# make Building src make[1]: Entering directory `/usr/local/src/irc/unrealircd-4.0.2/src' gcc -I/usr/local/src/irc/un
定义索引与检索数据 定义索引匹配和简单检索数据的方法 数据图形化 简单的饼状图,柱状图,GIS分布图(地图)的数据展示方法 仪表板 仪表板的拼接方法 Tip: 有时啃啃官网,才能体会到,外国人写文档要严谨很多 看完了基础方法就可以开始使用了
config on h102 [root@h102 ssdb]# grep -v "#" /etc/ssdb/ssdb1234.conf work_dir = /data/ssdb/ssdb1234 pidfile = /data/ssdb/ssdb1234/ssdb.pid server: port: 1234 ip: 0.0.0.0 deny: all allow: 127.0.0.1 allow: 192.168 replication: binlog: yes sync_spee
Detailed list of parameters 6. Normal output 7. Terse output 8. Trace file format 9.
可以直接根据listbucket的结果来删除 [root@h101 abc]# cat abc.txt 2015/11/10/test/qshell_darwin_386 7885316 lvDom3i6Wp4mvC7EStSgXZ
使用 bin/codis-config dashboard 启动 dashboard
使用 dig 查看节点IP [root@h104 ~]# dig @127.0.0.1 -p 8600 h104.node.consul ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.1 <<>> @127.0.0.1 -p 8600 h104.node.consul ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERRO
配置logstash并且运行 [root@h102 etc]# cat logstash-filebeat-es-simple.conf input { stdin{} beats{port => 5044} } output { elasticsearch { hosts=>"localhost:9200" index=>"%{[@metadata][beat]}-%{+YYYY.MM.dd}" document_type => "%{[@metadata][type]}" } s
创建表 sqlite> create table test ( id int primary key not null, name text ); sqlite> .tables test sqlite> .schema test CREATE TABLE test ( id int primary key not null, name text ); sqlite> sqlite> insert into test values(1,"hello"); sqlite> insert into test
history 可以像shell一样上下翻命令,也可使用history查看历史命令 [zk: localhost:2181(CONNECTED) 40] history 30 - get / 31 - get /zookeeper 32 - get /abc 33 - set /abc def 34 - get /abc 35 - ls / 36 - delete / 37 - delete /abc 38 - ls / 39 - help 40 - history [zk: localhost:218