will韬韬
码龄3年
关注
提问 私信
  • 博客:22,559
    22,559
    总访问量
  • 12
    原创
  • 546,702
    排名
  • 1
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2021-06-10
博客简介:

m0_59207224的博客

查看详细资料
个人成就
  • 获得3次点赞
  • 内容获得0次评论
  • 获得9次收藏
创作历程
  • 1篇
    2023年
  • 12篇
    2022年
成就勋章
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

342人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

linux配置静态ip

IPADDR="192.168.16.128" # 设置的静态IP地址。DNS1="114.114.114.114" # DNS服务器。NETMASK="255.255.255.0" # 子网掩码。GATEWAY="192.168.16.2" # 网关地址。
原创
发布博客 2023.08.02 ·
93 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

shc加密shell脚本

需要下载shc可以使用yum安装yum install shc -y如果没有包的话可以下载rpm然后执行rpm -ivh shc-4.0.3-1.el7.x86_64.rpm #其中的i是安装的意思然后注意要加密的脚本前面要有#!/bin/bash才可以然后加密命令为,注意要以相对路径脚本文件,不然可能执行失败shc -r -v -f ./password.txt...
原创
发布博客 2022.04.07 ·
1573 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

prometheus-server自启以及重载及重载失败处理

prometheus配置自启vim /lib/systemd/system/prometheus.service[Unit]Description=Prometheus Monitoring SystemDocumentation=Prometheus Monitoring System[Service]ExecStart=/opt/prometheus-2.31.1.linux-amd64/prometheus --config.file=/opt/prometheus-2.31.1.
原创
发布博客 2022.03.31 ·
1978 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

解决tomcat应用加完参数无法执行shutdown.sh的问题

tomcat开启PID文件1、配置tomcat启动后将进程号保存至 ./bin/tomcat.pid 文件。修改 catalina.sh 文件,在 PRGDIR 下面一行添加 CATALINAPID 参数行,如下:PRGDIR=dirname "$PRG"CATALINA_PID=$PRGDIR/tomcat.pid2、启动tomcat在 ./bin 下生成PID文件tomcat.pid...
原创
发布博客 2022.03.29 ·
1061 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

redis exporter手册

1.安装配置redis_exporter2.1tar获取位置svn:https://30.31.8.200/svn/版本/operator/prometheus/prometheus 安装包-20211122/redis_exporter-v1.3.5.linux-amd64 (1).tar.gz2.2 解压/opt目录下# tar -zxvf redis_exporter-v1.9.0.linux-amd64.tar.gz -C /opt2.3启动cd /opt./redis_.
原创
发布博客 2022.03.09 ·
4489 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏

grafana遇到的坑

遇到重启起不来,把配置文件的改domain = localhost就可以了,别问我怎么知道的,搞了一下午哭了
原创
发布博客 2022.01.24 ·
1201 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

redis_exporter部署

rz jdk-8u211-linux-x64.tar.gz解压后cd /opt/redis_exporter-v1.9.0.linux-amd64./redis_exporter -redis.addr redis的ip:redis端口-redis.password redis密码&
原创
发布博客 2022.01.17 ·
950 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

可以跟据进程号查到该进程的配置文件所在位置

先查看进程号ps -ef | grep/proc是存放进程号和它包括的文件的地方可以ll -d /proc/进程号,里面包含.conf的大概率就是配置文件所在
原创
发布博客 2022.01.17 ·
1165 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

nginx-exporter部署

nginx_exporter手册首先查看已编译模块看是否有nginx_exporter所依赖的模块nginx-module-vtscd /opt/nginx-1.16.1/sbin/./nginx -V如果没有该模块需要重新编译进去,就需要下载同版本的nginx编译复制其命令先下载需要的模块下载上传nginx-module-vtsrz nginx-module-vts.tar.gztar xvaf nginx-module-vts.tar.gz -C /.
原创
发布博客 2022.01.17 ·
4565 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

mtail

chmod 0755 mtail./mtail --versionmkdir /etc/mtailtouch /etc/mtail/line_count.mtailcounter line_count/$/ { line_count++ }~ ./mtail --progs /etc/mtail/ --logs '/opt/logs/error' --port 9111
原创
发布博客 2022.01.10 ·
486 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

普罗米修斯zookeeper

好用的grafana-zookeeper套用面板地址Zookeeper Exporter (dabealu) dashboard for Grafana | Grafana Labs附grafana面板总地址Dashboards | Grafana Labs下载 zookeeper_exporterwget https://github.com/carlpett/zookeeper_exporter/releases/download/v1.0.2/zookeeper_exporter
原创
发布博客 2022.01.07 ·
1019 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

redis杂碎

启动:redis-cli -p 端口进入之后有密码的话先修改密码输入命令auth 就可以输入密码,看到ok说明登进去了输入shutdown可以停止redis服务
原创
发布博客 2022.01.07 ·
387 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

node-exporter常用指标含义

https://www.gitbook.com/book/songjiayang/prometheus/details (Prometheus 实战)https://github.com/1046102779/prometheus (Prometheus 非官方中文手册)http://www.bubuko.com/infodetail-2004088.html (基于prometheus监控k8s集群)http://www.cnblogs.com/sfnz/p/6566951.html (安装.
转载
发布博客 2022.01.06 ·
3581 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏