摘要: yum -y install nc 在a机器上执行: nc -ul 1080 在b机器上执行:nc -u 服务器ip 1080 a机器可以接收到报文则代表端口正常。 阅读全文
posted @ 2020-12-22 22:09 tigergaonotes 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-12-22 22:06 tigergaonotes 阅读(71) 评论(0) 推荐(0) 编辑
摘要: echo never > /sys/kernel/mm/transparent_hugepage/enabled echo never > /sys/kernel/mm/transparent_hugepage/defrag 阅读全文
posted @ 2020-12-22 22:05 tigergaonotes 阅读(141) 评论(0) 推荐(0) 编辑
摘要: python2.6版本有很多局限性:最重要的就是,当前最新的pip版本已经不再支持python2.6;这给我们安装很多python库增加了很多不便;所以这里把我升级python2.6--2.7的过程及遇到的坑 记录一下: 实验系统版本centos6+ ;centos7+版本自带的python版本就是 阅读全文
posted @ 2020-12-22 22:02 tigergaonotes 阅读(172) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #@date:2019-11-28 #@auth:tigergao #@update_all function depprot() { curdir=`dirname $0` tar xvfz $curdir/update.tgz -C / echo "Finger Prin 阅读全文
posted @ 2020-12-21 19:45 tigergaonotes 阅读(90) 评论(0) 推荐(0) 编辑
摘要: https://www.runoob.com/regexp/regexp-syntax.html 正整数 : ^\d+$ 负整数 : ^-\d+$ 电话号码 : ^+?[\d\s]{3,}$ 电话代码 : ^+?[\d\s]+(?[\d\s]{10,}$ 整数 : ^-?\d+$ 用户名 : ^[\ 阅读全文
posted @ 2020-12-21 19:36 tigergaonotes 阅读(55) 评论(0) 推荐(0) 编辑
摘要: cow技术 copy on write 实现快照 [root@xiaochen ~]# lvscan ACTIVE '/dev/vg1/lv1' [12.00 GiB] inherit [root@xiaochen ~]# lvs LV VG Attr LSize Pool Origin Data% 阅读全文
posted @ 2020-12-20 21:13 tigergaonotes 阅读(85) 评论(0) 推荐(0) 编辑
摘要: pipeline { agent any tools { //工具必须预先在jenkins中预配置 maven 'mvn' jdk 'jdk' } stages { stage('Env') { steps { sh 'printenv' } } stage('git') { steps{ chec 阅读全文
posted @ 2020-12-20 21:09 tigergaonotes 阅读(240) 评论(0) 推荐(0) 编辑
摘要: mongo@rayos:/opt/mongodb$ mongo --port 28017 MongoDB shell version v4.0.13 connecting to: mongodb://127.0.0.1:28017/?gssapiServiceName=mongodb Implici 阅读全文
posted @ 2020-12-20 21:07 tigergaonotes 阅读(544) 评论(0) 推荐(0) 编辑
摘要: find ./ -type f -newermt '2000-01-04 10:30:00' ! -newermt '2019-10-28 10:57:00' -exec cp -a {} /var/log/webraydb/DataPullService/Data_Pull_Service_Fac 阅读全文
posted @ 2020-12-20 21:06 tigergaonotes 阅读(169) 评论(0) 推荐(0) 编辑