摘要: 参考如下链接操作: http://www.linuxidc.com/Linux/2017 01/139616.htm 阅读全文
posted @ 2017-11-12 17:47 abcyrf 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 操作系统: oracle linux 使用vitualbox安装oracle linux “OracleLinux-R7-U4-Server-x86_64-dvd.iso” 创建用户、目录等准备工作 mkdir -p /u01/app/oracle groupadd oinstall groupad 阅读全文
posted @ 2017-11-12 17:02 abcyrf 阅读(337) 评论(0) 推荐(0) 编辑
摘要: select id, decode (type,1,a,2,b,3,c,999) from xxx; select name, (case when score<0 then 'd' when score <60 then 'd' when score<=60 then 'c' else 'b' e 阅读全文
posted @ 2017-11-09 22:50 abcyrf 阅读(107) 评论(0) 推荐(0) 编辑
摘要: select 'true' from dual where 1 not in (2,null); 查询结果没有返回值,因为oracle的判断规则是:对于not in,如果测试值不在列表中,且列表中有一个值为null,则测试结果是false 阅读全文
posted @ 2017-11-09 22:33 abcyrf 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 安装前需要先安装go。 1、下载gops源码 https://github.com/google/gops 2、基于源码编译安装 cd root/temp/ tar -zxvf gops-0.3.2.tar.gz mkdir -p /root/go/gops-0.3.2/src/github.com 阅读全文
posted @ 2017-11-09 17:20 abcyrf 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 1、下载go(官网地址https://golang.org/dl/) https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gz 2、 tar -zxvf go1.9.2.linux-amd64.tar.gz mv go /usr 阅读全文
posted @ 2017-11-09 17:02 abcyrf 阅读(156) 评论(0) 推荐(0) 编辑
摘要: mysql -h 192.168.1.105 -P 3306 -u user -pPASSWORD mysql -u root 阅读全文
posted @ 2017-11-09 15:51 abcyrf 阅读(106) 评论(0) 推荐(0) 编辑
摘要: tc qdisc add dev eth0 root netem delay 3ms 阅读全文
posted @ 2017-11-09 15:50 abcyrf 阅读(334) 评论(0) 推荐(0) 编辑
摘要: curl -H "Accept-Encoding: gzip" -I http://localhost/test.html 阅读全文
posted @ 2017-11-09 15:48 abcyrf 阅读(2346) 评论(0) 推荐(0) 编辑
摘要: SELECT UPPER(F.TABLESPACE_NAME) "表空间名", D.TOT_GROOTTE_MB "表空间大小(M)", D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", TO_CHAR(ROUND((D.TOT_GROOTTE_MB - F. 阅读全文
posted @ 2017-11-09 14:42 abcyrf 阅读(218) 评论(0) 推荐(0) 编辑