上一页 1 2 3 4 5 6 7 ··· 11 下一页
  2020年9月8日
摘要: 写入速度测试命令:time dd oflag=direct if=/dev/zero of=/data2/test bs=2k count=1000000 //if表示从哪里读取 of表示写入到哪里 bs是块的大小,count表示数量 读取速度测试命令:time dd iflag=direct if 阅读全文
posted @ 2020-09-08 11:51 北溟有鱼。 阅读(357) 评论(0) 推荐(0) 编辑
  2020年9月4日
摘要: #!/bin/bash current_path=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) nohup $current_path/clickhouse_sinker -conf $current_path/config >> $current_path 阅读全文
posted @ 2020-09-04 17:55 北溟有鱼。 阅读(338) 评论(0) 推荐(0) 编辑
  2020年8月30日
摘要: 转自:https://www.jianshu.com/p/377bfd2d9034 1、问题初衷 解决问题的初衷,源于vue项目中公共路径在打包之后一旦遇到整体的路径更改就需要再次build一下。 如果公司小,项目部署的实施人员又能随时联系到开发人员。直接简单的build一下就OK了。又或者开发人员 阅读全文
posted @ 2020-08-30 00:17 北溟有鱼。 阅读(343) 评论(0) 推荐(0) 编辑
  2020年8月19日
摘要: 大概率的原因是软件签名问题。 先安装 xcode xcode-select --install 然后签名 sudo codesign --force --deep --sign - 文件位置(直接将应用拖到终端即可) 示例: sudo codesign --force --deep --sign - 阅读全文
posted @ 2020-08-19 12:35 北溟有鱼。 阅读(415) 评论(0) 推荐(0) 编辑
  2020年8月7日
摘要: spring-security原理 图片中各个类的作用: 1JwtUser类:实现Springsecurity的UserDetails类,此类必须有三个属性 private String username; private String password; //权限,类如ROLE_ADMIN pri 阅读全文
posted @ 2020-08-07 20:06 北溟有鱼。 阅读(339) 评论(1) 推荐(0) 编辑
  2020年7月27日
摘要: #!/bin/sh JarDir=`pwd` do_start() { echo "pandora-login start ..." nohup java -jar -Xmn256m -Xmx2048m -XX:MaxTenuringThreshold=2 -Dspring.profiles.act 阅读全文
posted @ 2020-07-27 19:57 北溟有鱼。 阅读(287) 评论(0) 推荐(0) 编辑
  2020年6月22日
摘要: start.sh #!/bin/bash nohup $PWD/node_exporter > /dev/null 2>&1 & 阅读全文
posted @ 2020-06-22 17:37 北溟有鱼。 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.jinbuguo.com/systemd/systemd.service.html 名称 systemd.service — 服务单元配置 大纲 service.service 描述 以 ".service" 为后缀的单元文件, 封装了一个被 systemd 监视与控制的 阅读全文
posted @ 2020-06-22 17:13 北溟有鱼。 阅读(420) 评论(0) 推荐(0) 编辑
摘要: vim /etc/systemd/system/node_exporter.service [Unit] Description=node_exporter Documentation=https://prometheus.io/ After=network.target [Service] Typ 阅读全文
posted @ 2020-06-22 16:39 北溟有鱼。 阅读(2399) 评论(0) 推荐(0) 编辑
  2020年6月18日
摘要: 一、拉取镜像 docker pull prom/prometheus 二、配置 sudo mkdir /etc/prometheus/ sudo vim /etc/prometheus/prometheus.yml 添加监控节点 # my global config global: scrape_i 阅读全文
posted @ 2020-06-18 11:54 北溟有鱼。 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页