SQLite命令 交互式输入 [root@h102 bin]# ./sqlite3 SQLite version 3.11.1 2016-03-03 16:17:53 Enter ".help" for usage hints. Connected to a transient in-memory database. Use ".open FILENAME" to reopen on a persistent database. sqlite> sqlite> help sqlite> .help .
4. toString()会自动被调用,所有对象都有该方法。 5. JavaScript一切皆是对象:函数、日期、正则表达式、数字型、布尔型等等。 6. 声明自动提前:var、function。
forever inet6 fe80::20c:29ff:fe5e:57ad/64 scope link valid_lft forever preferred_lft forever 4:
在浏览器中输入 http://192.168.100.101:5601/ 就可以成功访问了
配置与运行logstash [root@h102 etc]# /opt/logstash/bin/logstash -f logstash-filebeat-es-simple.conf -t Configuration OK [root@h102 etc]# cat logstash-filebeat-es-simple.conf input { stdin{} beats{port => 5044} } output { elasticsearch { hosts=>"localhost:9
vim conf/wrapper.conf [root@h102 mycat]# grep Xm conf/wrapper.conf #wrapper.java.additional.10=-Xmx4G wrapper.java.additional.2=-server wrapper.java.additional.3=-XX:MaxPermSize=64M wrapper.java.additional.4=
Ss 22:07 0:00 \_ inet_gethost 4 rabbitmq 4471 0.0 0.0 12896 644 ? S 22:07 0:00 \_ inet_gethost 4 [root@h102 rabbitmq]# cat /proc/2995/limits
报错原因是有 Libpcap 的依赖关系 解决办法: 安装依赖包 [root@h101 daq-2.0.6]# yum list all | grep -i Libpcap libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 libpcap.i686 14:1.4.0-4.20130826git2dbcaa1.el6 libpcap.x8
h101 ~]# 开机启动 [root@h101 ~]# chkconfig --list | grep jenkins jenkins 0:off 1:off 2:off 3:on 4: chkconfig jenkins on [root@h101 ~]# chkconfig --list | grep jenkins jenkins 0:off 1:off 2:on 3:on 4:
| 101 kB 00:00:00 (2/4) | 13 kB 00:00:00 (3/4) libpcre) for package: libselinux-devel-2.2.2-6.el7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4. base 71 k libverto-devel x86_64 0.2.5-4. -2.1.9-3.el7.x86_64 4/
DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4
-2] #还可以倒着取 'Tenglan' 切片:取多个元素 >>> names = ["Alex","Tenglan","Eric","Rain","Tom","Amy"] >>> names[1:4] #取下标1至下标4之间的数字,包括1,不包括4 ['Tenglan', 'Eric', 'Rain'] >>> names[1:-1] #取下标1至-1的值,不包括-1 ['Tenglan', 'Eric >> names ['Alex', 'Tenglan', 'Eric', 'Rain', '从eric后面插入试试新姿势', 'Tom', 'Amy', '我是新来的'] >>> del names[4] >>> str.translate(trantab) 'th3s 3s str3ng 2x1mpl2....w4w!!!' ljust(40,"-") 'Hello 2orld-----------------------------' >>> n4.rjust(40,"-") '----------------------
4 14:17 fastcgi_temp drwxr-xr-x 2 root root 4096 Nov 4 14:15 html drwxr-xr-x 2 root root 4096 Nov 4 14:15 include drwxr-xr-x 2 root root 4096 Nov 4 16:10 logs drwxr-xr-x 2 root root 4096 Nov 4 4 14:15 sbin drwx------ 2 nginx root 4096 Nov 4 14:17 scgi_temp drwx------ 2 nginx root 4096 Nov 4 10:37 conf drwxr-xr-x 2 root root 4096 Nov 4 10:22 html drwxr-xr-x 2 root root 4096 Nov 4 13:09 logs drwxr-xr-x 2 root root 4096 Nov 4 10:22 sbin [root@i-1avyrt2d nginx]#
/qshell_linux_amd64 stat qiniucloud-goods ux/20140618/qiniutest-shop_video_001.MP4 Bucket: qiniucloud-goods Key: ux/20140618/qiniutest-shop_video_001.MP4 Hash: 24559427 PutTime: 14030768636225751 MimeType: video/mp4 paitently... 2015/11/10 17:03:31 [INFO][qshell] dir_cache.go:18: No cache file `/root/.qshell/qupload/4b1570c14f91b5f7ce90d7b2e8ca50f2 /4b1570c14f91b5f7ce90d7b2e8ca50f2.cache' found, will create one 2015/11/10 17:03:31 [INFO][qshell] dir_cache.go
SSDB 启动脚本 修改 configs 配置,使其指向正确的位置 [root@h101 tools]# cp /usr/local/src/ssdb-master/tools/ssdb.sh /etc/init.d/ssdb [root@h101 tools]# vim ssdb.sh [root@h101 tools]# grep configs= /etc/init.d/ssdb # configs="/data/ssdb_data/test/ssdb.conf /data/ssdb_data/
常用命令 ls 类似linux里的ls [zk: localhost:2181(CONNECTED) 15] ls / [zookeeper] [zk: localhost:2181(CONNECTED) 16] ---- creat 创建znode Note: 必须以 / 开头 [zk: localhost:2181(CONNECTED) 17] create abc abc Command failed: java.lang.IllegalArgumentException: Path must s
=1447.97, stdev=269.96 lat (usec) : 500=0.01%, 750=2.04%, 1000=8.58% lat (msec) : 2=34.80%, 4= cpu : usr=0.20%, sys=0.62%, ctx=130565, majf=0, minf=8 IO depths : 1=100.0%, 2=0.0%, 4= 0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0% , 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
from that image which runs the executable that produces the output you are currently reading. 4.
创建虚拟机 使用 virt-manager [root@kvm-demo data]# virt-manager Xlib: extension "RANDR" missing on display "localhost:11.0". [root@kvm-demo data]# 打开 virt-manager 的管理界面 设置虚拟机名(这个不是主机名),指定安装源 指定镜像地址,和OS类型 指定内存大小和CPU个数 指定磁盘大小,分配方式和存放地址
etcd主要在维护一个分层的关键字空间,关键字空间由关键字和目录构成,它们也被称作节点