随笔分类 -  Linux运维最佳实践

偏向原理
摘要:作者:vivo 互联网数据库团队- Liu Huang 本文介绍了一次排查Elasticsearch node_concurrent_recoveries 引发的性能问题的过程。 一、故障描述 1.1 故障现象 1. 业务反馈 业务部分读请求抛出请求超时的错误。 2. 故障定位信息获取 故障开始时间 阅读全文
posted @ 2024-01-15 10:31 Done、 编辑
摘要:rabbitmq: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget https://packages.erlang-solutions.com/erlang-solutio 阅读全文
posted @ 2021-05-19 13:29 Done、 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-12-02 16:57 Done、 编辑
摘要:原文链接:https://www.ibadboy.net/archives/1727.html 阅读全文
posted @ 2019-12-29 11:10 Done、 编辑
摘要:# 查看用户所属哪个组 groups 用户名 #查看当前有哪些用户运行程序 ps -aux|awk '{print $1}'|sort -rn|uniq -c|sort -rn # 清理不再使用的用户、组 userdel -r 用户名 groupdel 用户组 # 开启pam权限认证: echo " 阅读全文
posted @ 2019-12-13 14:44 Done、 编辑
摘要:# 安装 nginx yum install nginx -y # 配置nginx4层代理 /etc/nginx/nginx.conf stream { upstream kube-apiserver { server 10.4.7.21:6443 max_fails=3 fail_timeout= 阅读全文
posted @ 2019-12-10 17:16 Done、 编辑
摘要:nginx二级目录高级配置: location ~ .*\.(html)$ { expires 1m; error_page 404 = /test/index.html; access_log /data/log/test.access.log main; } location ~ .*\.(js 阅读全文
posted @ 2019-12-09 17:13 Done、 编辑
摘要:#!/bin/bash today=`date +%Y-%m-%d` deleday=`date -d '7 day ago' +%Y-%m-%d` path=/home/data/mysqlbackup cd $path mysqldump -P3307 -h192.168.2.202 -uroo 阅读全文
posted @ 2019-12-05 15:20 Done、 编辑
摘要:高性能静态网站: 1、静态页面中针对图片进行浏览器(客户端)缓存,如公共JavaScript(jQuery,jQuery-1.12.1.min.js)进行缓存 2、对网站输入内容压缩(gzip) 3、配置静态资源防盗链,通过判断请求头中referer进行域名防盗 4、图片剪裁,通过系统自带工具进行图 阅读全文
posted @ 2019-02-26 19:34 Done、 编辑
摘要:常用工具: 1 linux终端会话管理工具: https://www.cnblogs.com/kaiye/p/6275207.html 2 google访问插件 https://github.com/haotian-wang/google-access-helper 3 ansible常用模块: h 阅读全文
posted @ 2019-01-26 20:03 Done、 编辑

点击右上角即可分享
微信分享提示