cszhi.github.io's People
cszhi.github.io's Issues
Nginx 报错处理 | csz's blog
https://www.cszhi.com/2014/03/21/Nginx%E6%8A%A5%E9%94%99%E5%A4%84%E7%90%86/
Nginx报错处理Request entity too large413 Request Entity Too Large(请求实体太大),客户端发送
Docker容器Removal In Progress删除方案 | csz's blog
Linux监控利器nagios–NSCA被动监控 | csz's blog
前言PS:关于nagios的被动监控(nsca)好几个月前就想整理了,
test 的用法与变量的测试替换 | csz's blog
test的用法 测试的标志 代表意义 1. 关于某个文件名的‘文件&
linux多线程网页截图-shell | csz's blog
nginx 设置 expires 和 access_log 提升网站访问速度 | csz's blog
Linux 下大文件跨网传输的方法 | csz's blog
mysql sync_binlog innodb_flush_log_at_trx_commit 深入理解 | csz's blog
Tinyproxy 是一个轻量级的开源 web 代理守护进程,其设计目标是快&
CentOS7 系统优化 | csz's blog
https://www.cszhi.com/2018/09/18/CentOS7%E7%B3%BB%E7%BB%9F%E4%BC%98%E5%8C%96/
阿里云源(可选)CentOS7和epel-7 12wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repowget -O /etc/yum.repos.d/e
iptables 模块介绍:connlimit | csz's blog
https://www.cszhi.com/2012/05/10/iptables%E6%A8%A1%E5%9D%97%E4%BB%8B%E7%BB%8D%EF%BC%9Aconnlimit/
connlimit模块允许你限制每个客户端ip的并发连接数,即每个ip同&#x
iptables 模块介绍:limit | csz's blog
https://www.cszhi.com/2012/05/10/iptables%E6%A8%A1%E5%9D%97%E4%BB%8B%E7%BB%8D%EF%BC%9Alimit/
limit模块用于限制匹配数据包的频率或速率 limit的工作方式就P
MySQL 将显示结果输出到文件 | csz's blog
1、如果MYSQL服务器就是你要导出文件的机器,那么可以直接&#
shell 算数运算方法总结 | csz's blog
expr 表达式expr只能用于一元操作符,不支持二元操作符 12x=1x=$(expr $x + 1) $x +
LINUX 踢人 | csz's blog
https://www.cszhi.com/2012/03/11/LINUX%E8%B8%A2%E4%BA%BA/
Linux的root用户可以强制踢出其他登陆到用户. 首先使用w命令查
Apache2.4+PHP7.1部署 | csz's blog
https://www.cszhi.com/2018/04/22/Apache2.4+PHP7.1%E9%83%A8%E7%BD%B2/
Tinyproxy 是一个轻量级的开源 web 代理守护进程,其设计目标是快&
TinyProxy http代理 | csz's blog
https://www.cszhi.com/2018/02/21/TinyProxy%20http%E4%BB%A3%E7%90%86/#more
安装123456curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repocurl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum install cob
dd 指令的使用 | csz's blog
https://www.cszhi.com/2012/01/29/dd%E6%8C%87%E4%BB%A4%E7%9A%84%E4%BD%BF%E7%94%A8/
dd 是 Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块&
awk 列求和 | csz's blog
https://www.cszhi.com/2012/01/30/awk%E5%88%97%E6%B1%82%E5%92%8C/
用awk命令计算文件中某一列的总和: awk ‘BEGIN{sum=0}{sum+=$1}END{print sum}’ data.txt 例&#x
Nginx的日常维护 | csz's blog
https://www.cszhi.com/2012/05/13/Nginx%E7%9A%84%E6%97%A5%E5%B8%B8%E7%BB%B4%E6%8A%A4/
检验配置文件 1/opt/nginx/sbin/nginx -t 或 1/opt/nginx/sbin/nginx -t -c /opt/nginx/conf/nginx.conf
Cobbler部署及使用 | csz's blog
https://www.cszhi.com/2019/08/02/Cobbler%E9%83%A8%E7%BD%B2%E5%8F%8A%E4%BD%BF%E7%94%A8/
安装123456curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repocurl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum install cob
生产环境常见的 HTTP 状态码列表 | csz's blog
200 – OK,服务器成功返回网页– Standard response for successful HTTP requests. 301 – Moved Permanently(永&#
rsync 简明教程 | csz's blog
https://www.cszhi.com/2012/03/12/rsync%E7%AE%80%E6%98%8E%E6%95%99%E7%A8%8B/
简介一个跨平台的资料备份与同步工具 原理在进行同步之
使用 Telnet 测试邮箱 | csz's blog
https://www.cszhi.com/2012/01/20/%E4%BD%BF%E7%94%A8Telnet%E6%B5%8B%E8%AF%95%E9%82%AE%E7%AE%B1/
经常要测试邮件服务器收发邮件是否正常,虽然可以使用
使用mod_limitipconn模块限制IP并发连接数 | csz's blog
Tinyproxy 是一个轻量级的开源 web 代理守护进程,其设计目标是快&
简单备份监控程序 | csz's blog
Nginx平滑升级 | csz's blog
https://www.cszhi.com/2018/11/03/Nginx%E5%B9%B3%E6%BB%91%E5%8D%87%E7%BA%A7/#more
安装123456curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repocurl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum install cob
linux多线程网页截图-python | csz's blog
上一篇中(linux多线程网页截图-shell),使用shell多进程对大量的
tar 远程备份 | csz's blog
https://www.cszhi.com/2012/05/13/tar%E8%BF%9C%E7%A8%8B%E5%A4%87%E4%BB%BD/
传输到远程: 1tar czf - file| ssh server "tar zxf -" 压缩到远程: 1tar czf - file| ssh server "cat > file.tar
简单的系统监控脚本 | csz's blog
vim flow.sh 1234567891011121314151617181920212223242526272829303132#!/bin/bash#caishzh 20121030#displays the current Traffic ETH=$1ETH=${ETH:-eth0}IP=`ifconfig $ETH|awk -F '[ :]+' '/ine
硬盘分区为整数 | csz's blog
https://www.cszhi.com/2012/05/19/%E7%A1%AC%E7%9B%98%E5%88%86%E5%8C%BA%E4%B8%BA%E6%95%B4%E6%95%B0/
最精确硬盘分区的算法如下: 硬盘一般有255磁头,63扇区,&#
mysql 慢查询 | csz's blog
https://www.cszhi.com/2014/02/21/mysql%E6%85%A2%E6%9F%A5%E8%AF%A2/
概念MySQL的慢查询,全名是慢查询日志,是MySQL提供的一种日׽
使用脚本防止 ssh 暴力破解 | csz's blog
前段时间买了个美国的vps,主要用于学习,也没太注意安Q
Nginx 部署 | csz's blog
https://www.cszhi.com/2015/11/13/Nginx%E9%83%A8%E7%BD%B2/
单节点部署安装依赖包1yum -y install gcc pcre-devel zlib-devel openssl-devel
Nginx限制ip连接数和流量控制 | csz's blog
在配置文件nginx.conf的http{}添加: 1limit_zone one $binary_remote_addr 10m;
Docker CE 部署 | csz's blog
https://www.cszhi.com/2018/11/23/Docker%20CE%20%E9%83%A8%E7%BD%B2/
1、删除无用容器时报错 123[root@node3 ~]# docker rm ms-product.20190517ms-product.20190517Error response from daemon: container c4739fbec54da
Linux中使用ShadowSocks+Privoxy代理 | csz's blog
Tinyproxy 是一个轻量级的开源 web 代理守护进程,其设计目标是快&
MySQL 忘记 root 密码后强制修改密码的方法 | csz's blog
首先把mysqld停止 1service mysqld stop 启动mysql,但是要跳过权限表 1/usr/local/mysql/bin/mysqld_safe --s
TCP 连接状态详解及 TIME_WAIT 过多的解决方法 | csz's blog
iptables 模块介绍:recent | csz's blog
https://www.cszhi.com/2012/05/10/iptables%E6%A8%A1%E5%9D%97%E4%BB%8B%E7%BB%8D%EF%BC%9Arecent/
recent模块可以看作iptables里面维护了一个地址列表,这个地址列&#
脚本实现实时显示linux网络流量 | csz's blog
vim flow.sh 1234567891011121314151617181920212223242526272829303132#!/bin/bash#caishzh 20121030#displays the current Traffic ETH=$1ETH=${ETH:-eth0}IP=`ifconfig $ETH|awk -F '[ :]+' '/ine
工作中常用的 shell 命令 | csz's blog
列出所有 ESTABLISHED 状态的连接: 1netstat -nta | fgrep "ESTABLISHED" | cut -b 49-75 | cut -d ':' -f1 | sort | uniq -c |
使用 mail 命令发送邮件 | csz's blog
1、使用shell当编辑器 123mail -s "hi,this is a test by shell" [email protected] to www.cszhi.com -s后面接邮件&#x
xenserver 虚拟机实时性能查看 | csz's blog
登陆服务器,执行脚本/opt/tools/real_time_status.sh:(该脚本的相关数据都&#
开发自己的监控系统三、移动篇(android) | csz's blog
移动篇(android)关键字:java、android、json、php 互联网已经进入移动ٟ
Redis 之数据持久化 RDB 与 AOF | csz's blog
大家都知道,Redis之所以性能好,读写快,是因为Redis是一个Ԙ
开发自己的监控系统二、web篇 | csz's blog
web篇关键字:shell mysql python web.py 在上一篇中,我们介绍了如何使用shellࠑ
开发自己的监控系统一、email篇 | csz's blog
CentOS(RHEL)使用光盘源 | csz's blog
CentOS的yum源是在/etc/yum.repos.d/目录下的两个文件中进行配置的,CentOS-Base.repoՈ
iptables 范例 | csz's blog
https://www.cszhi.com/2012/05/08/iptables%E8%8C%83%E4%BE%8B/
只能收发邮件,别的都关闭 1234iptables -I Filter -m mac –mac-source 00:0F:EA:25:51:37 -j DROPiptables -I Filter -m mac &#x
MySQL备份方法总结 | csz's blog
https://www.cszhi.com/2012/05/10/MySQL%E5%A4%87%E4%BB%BD%E6%96%B9%E6%B3%95%E6%80%BB%E7%BB%93/
Tinyproxy 是一个轻量级的开源 web 代理守护进程,其设计目标是快&
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.