2019年11月21日

centos 查询目录中包含某个字符串的文件

摘要: find ./ -type f | xargs grep 'abcd' 说明: ./ 表示当前目录 f 表示文件 ‘abcd’ 表示搜索的字符串 阅读全文

posted @ 2019-11-21 11:21 Helianthus720 阅读(1835) 评论(0) 推荐(0)

redis 查询最大连接数

摘要: 1 登录redis客户端 redis-cli 2 查询当前连接数 info clients 3 查询最大连接数 CONFIG GET maxclients 阅读全文

posted @ 2019-11-21 11:19 Helianthus720 阅读(278) 评论(0) 推荐(0)

2019年11月19日

Centos6 RabbitMQ3.7.17的详细安装及配置过程

摘要: 安装方式:rpm 1 安装erlang curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash yum install erlang安装完毕erlang以后可以检查一 阅读全文

posted @ 2019-11-19 17:54 Helianthus720 阅读(539) 评论(0) 推荐(0)

2019年11月12日

使用命令从pgsql中导出表到csv

摘要: 前提: 应同事 需要pgsql中某个表的数据,希望导出到csv文件;本来用navicat 操作,但导出来的数据有问题,于是尝试用命令导出 解决: 1 切换用户进入postgresql下 su postgres psql 2 选择数据库 \c test 3 输入导出命令 copy (select * 阅读全文

posted @ 2019-11-12 15:15 Helianthus720 阅读(2634) 评论(0) 推荐(0)

2019年10月18日

liunx挂载Ios镜像文件

摘要: 命令: mount -o loop 镜像文件路径 挂载路径 执行后,修改/etc/yum.repos.d/yum.repo 文件,添加如下: [base]name=added from: file:///mnt/yum baseurl=file:///mnt/yumenabled=1gpgcheck 阅读全文

posted @ 2019-10-18 16:24 Helianthus720 阅读(251) 评论(0) 推荐(0)

2019年10月17日

liunx下删除多个目录下的相同文件

摘要: 前提: 因每个用户生成工程,都在用户文件夹下,现需要将多个用户下的同名工程文件删除,于是用到此命令 命令: find . -name 'abc%.txt' -type f -print -exec rm -rf {} \; 说明: . 表示当前目录 -type f 表示类型为文件 参考链接: htt 阅读全文

posted @ 2019-10-17 10:22 Helianthus720 阅读(294) 评论(0) 推荐(0)

2019年10月10日

tomcat启动报错:Unable to complete the scan for annotations for web application [] due to a StackOverflow -

摘要: 前提: 后台程序更新后,部署启动一直出错;另外一台服务器部署没有问题 错误信息: 解决方法: 将程序中的bcprov-jdk14-1.38.jar 移除,再重新启动成功 阅读全文

posted @ 2019-10-10 11:44 Helianthus720 阅读(3352) 评论(0) 推荐(0)

lr中controller 中scenario-> rendezvous显示灰色不可用

摘要: 前提:在脚本中已设置集合点 解决方法: scenario >convert Scenario to the Vuser Grop Mode (用户模式) 阅读全文

posted @ 2019-10-10 10:10 Helianthus720 阅读(242) 评论(0) 推荐(0)

2019年9月29日

liunx 下在指定文件夹下搜索字符

摘要: 命令: grep -r -e string directory 说明: -r用于递归; -e是可选的,但其参数指定要搜索的正则表达式 string 要查找的字符 参考链接:https://stackoverflow.com/questions/15622328/how-to-grep-a-strin 阅读全文

posted @ 2019-09-29 10:12 Helianthus720 阅读(141) 评论(0) 推荐(0)

2019年9月11日

python运行时提示:dot not in the path

摘要: 操作系统:Centos7 解决方法:安装画图工具 yum -y install graphviz 阅读全文

posted @ 2019-09-11 14:03 Helianthus720 阅读(655) 评论(0) 推荐(0)

导航