摘要: firewall-cmd --zone=public --permanent --add-port=1234/tcpfirewall-cmd --zone=public --remove-port=1234/tcpfirewall-cmd --zone=public --list-portsfire 阅读全文
posted @ 2017-04-21 15:43 Tiago2014 阅读(127) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-03-06 21:26 Tiago2014 阅读(4) 评论(0) 推荐(0) 编辑
摘要: select table_name from user_tables where NUM_ROWS=0;select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0执行结果集中的SQL 阅读全文
posted @ 2017-02-28 11:20 Tiago2014 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 使用exp导出表时,出现EXP-00091的错误查询环境变量:select userenv('language') from dual;在Oracle用户下的.bash_profile中加入下行环境变量:export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16G 阅读全文
posted @ 2017-02-28 11:19 Tiago2014 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 参考:http://studygolang.com/topics/21 (1)首先进入go/src 源码所在目录,执行如下命令创建目标平台所需的包和工具文件。 $ cd /usr/local/go/src$ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./make.b 阅读全文
posted @ 2017-02-17 13:55 Tiago2014 阅读(4579) 评论(0) 推荐(0) 编辑
摘要: ^prompt.* 匹配:以prompt开头 \(\d{1,4}\) 匹配: (10)(1)(100)(1000) 阅读全文
posted @ 2017-02-09 08:59 Tiago2014 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 文件加密、解密-a base64编码openssl enc -e -bf -a -salt -in a.txt -out b.txtopenssl enc -d -bf -a -salt -in b.txt -out c.txt 检查文件MD5值openssl dgst -md5 b.txt RSA 阅读全文
posted @ 2017-01-18 17:21 Tiago2014 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 来源:http://article.yeeyan.org/view/90729/174903 SSL (Secure Sockets Layer) 是用来保障你的浏览器和网站服务器之间安全通信,免受网络“中间人”窃取信息。 SSL原理很简单。当你的浏览器向服务器请求一个安全的网页(通常是 https 阅读全文
posted @ 2017-01-15 11:49 Tiago2014 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 安装Nginx# tar -zxvf nginx-1.11.7.tar.gz# yum install pcre-devel zlib-devel gcc gcc-c++ openssl-devel -y# groupadd nginx# useradd -M -s /sbin/nologin -g 阅读全文
posted @ 2016-12-30 13:39 Tiago2014 阅读(3072) 评论(0) 推荐(0) 编辑
摘要: -- 创建视图create view V_TEST asselect * from T_TEST where rownum <100 select * from V_TEST-- 新建视图用户 view_01 并赋予select_catalog_role角色 和 该视图的select权限 ,在sys 阅读全文
posted @ 2016-12-05 16:31 Tiago2014 阅读(275) 评论(0) 推荐(0) 编辑