首页
运维杂记
操作系统
域名解析
关于
木东 blog
累计撰写
59
篇文章
累计创建
52
个标签
累计收到
0
条评论
栏目
首页
运维杂记
操作系统
域名解析
关于
目 录
CONTENT
最新文章
nginx安全问题处理
背景 接到安全团队反馈问题: Security issues X-Content-Type-Options header is missing over https. You need to implement X-Content-Type-Options header, refer to Web
2025-01-14
56
0
0
web服务
查看apache、nginx、mysql、php编译参数
查看apache编译参数: cat /apache/build/config.nice 查看nginx编译参数: nginx -V 查看php编译参数: php -i|grep configure 查看mysql编译参数: grep CONFIGURE_LINE /mysql/bin/mysq
2025-01-14
46
0
0
web服务
tomcat升级
查看版本 /usr/local/tomcat/bin/version.sh 备份生产环境 tomcat 目录下 bin 文件夹和 lib 文件夹 cp -r /tomcat8/bin/ /tomcat8/upgrade/bin_bak/ cp -r /tomcat8/lib/ /tomcat8/u
2025-01-14
38
0
0
web服务
apache优化
Apache工作模式 Apache 的核心模块叫多路处理模块(Multi-Processing Module,简称 MPM),Linux 平台下主要有两种模式:==prefork 模式和 worker 模式== Prefork模式 prefork 是一种多路处理模块(MPM),实现了一个进程型的、预
2025-01-14
54
0
0
web服务
nginx & apache & lighttpd基础
Linux下常用的web服务: 静态:Apache、Nginx、Lighttpd 动态:Tomcat、Php 1. lighttpd Lighttpd是一个具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。支持FastCGI, CGI, Auth, 输出压缩(output comp
2025-01-14
44
0
0
web服务
Lighttpd优化
1. 最大连接数 lighttpd基于线程,默认server.max-fds是1024,大流量网站推荐2048. 2. stat() 缓存 stat() 这样的系统调用,开销也是相当明显的.缓存能够节约时间和环境切换次数(context switches) vim lighttpd.conf ser
2025-01-14
38
0
0
web服务
VMware虚拟机nat模式连接外网
title: VMware虚拟机nat模式连接外网 date: 2022-06-11 16:11:57 permalink: /pages/782a24/ categories: 运维杂记 虚拟化 tags: author: name: lyndon link: https://github.com
2025-01-14
44
0
0
虚拟化
linux虚拟机修改网卡名
安装好的虚拟机修改网卡 查看网卡信息,记录MAC地址 [root@ha2 ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00
2025-01-14
45
0
0
虚拟化
iptables基础
Iptables 写法 Iptables -t 表名 (filter/nat/mangle三个表中的一个,默认是filter表) 命令(command告诉程序如何做,比如:插入一个规则,还是删除等) chains (链,有五个,prerouting、postrouting、input、output、
2025-01-14
46
0
0
防火墙
iptables开启日志
iptables的日志(log)由syslogd纪录和管理。初始存放在 /var/log/messages里面。自动采取循环纪录(rotation)的方式记录。但是由于混在 messages中,对于管理和监视产生了不便。由于iptables是linux的内核本身的功能,由dmesg或syslogd的
2025-01-14
40
0
0
防火墙
iperf网络吞吐量测试
iperf是一种命令行工具,用于通过测量服务器可以处理的最大网络吞吐量来诊断网络速度问题。它在遇到网络速度问题时特别有用,通过该工具可以确定哪个服务器无法达到最大吞吐量。 安装 #yum安装 yum -y install iperf k8s集群信息: master 10.147.255.21 10
2025-01-14
44
0
0
性能测试
vsftp2.2.2部署步骤
1. vsftp简介 vsftpd是一款在Linux发行版中最受推崇的FTP服务器程序,vsftpd 的名字代表”very secure FTP daemon”;是一个基于GPL发布的类UNIX类操作系统上运行的服务器的名字(是一种守护进程),可以运行在诸如Linux、BSD、Solaris、HP-
2025-01-14
43
0
0
文件传输
ELK-filebeat安装说明
1.软件安装 安装包:filebeat-6.3.2-linux-x86_64-nginx-prode.tar.gz 2.nginx 日志修改 第一步 注释以前的日志,添加json格式的日志 vi /usr/local/nginx/conf/nginx.conf 【注释以前的日志,添加json格式的
2025-01-14
33
0
0
日志管理
loki问题
filetarget.fsnotify.NewWatcher: too many open files 报错信息:level=error ts=2024-01-04T07:02:47.637495247Z caller=filetargetmanager.go:265 msg="Failed to
2025-01-14
48
0
0
日志管理
git常用命令
git命令图 分支(branch)常用操作命令 查看当前所有分支及默认分支: git branch 查看本地分支详细信息: git branch -vv 查看远程分支信息: git branch -r 创建一个分支: git branch 分支名 切换到另一个分支: git checkout
2025-01-14
48
0
0
版本控制
1
2
3
4