会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小吉猫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
46
47
48
49
50
51
52
53
54
···
65
下一页
2022年4月19日
ubuntu 20.04安装 Apache APISIX
摘要: 系统设置 ~# cat /etc/security/limits.conf root soft core unlimited root hard core unlimited root soft nproc 1000000 root hard nproc 1000000 root soft nofi
阅读全文
posted @ 2022-04-19 17:58 小吉猫
阅读(2011)
评论(0)
推荐(0)
2022年4月18日
nginx 基于http_x_forwarded_for访问控制白名单
摘要: map $http_x_forwarded_for $accessip { default false; 10.10.10.10 true; #定义白名单 } server { listen 80; server_name 127.0.0.1; root html; access_log logs/
阅读全文
posted @ 2022-04-18 10:52 小吉猫
阅读(717)
评论(0)
推荐(0)
2022年3月21日
Percona XtraBackup 2.4 部署
摘要: 官方文档 https://www.percona.com/doc/percona-xtrabackup/2.4/index.html Percona XtraBackup介绍 Percona XtraBackup是基于MySQL的服务器的开源热备份实用程序,在备份期间不会锁定您的数据库。 它可以备份
阅读全文
posted @ 2022-03-21 14:25 小吉猫
阅读(928)
评论(0)
推荐(0)
2022年3月18日
nginx 499错误解决办法
摘要: 背景 接口性能压测 架构 nginx+php_fpm+go 请求方法 POST nginx返回信息 状态码499 nginx 499定义 cat src/http/ngx_http_special_response.c ngx_string(ngx_http_error_494_page), /*
阅读全文
posted @ 2022-03-18 10:30 小吉猫
阅读(841)
评论(0)
推荐(0)
2022年3月14日
zabbix5.4 故障自愈功能
摘要: zabbix agent需要开启远程命令执行 sed -i 's@#EnableRemoteCommands=0@EnableRemoteCommands=1@' /etc/zabbix/zabbix_agentd.conf sed -i 's@#UnsafeUserParameters=0@Uns
阅读全文
posted @ 2022-03-14 16:37 小吉猫
阅读(144)
评论(0)
推荐(0)
2022年3月11日
tideways+toolkit对php代码进行性能分析
摘要: 安装tideways拓展 git clone https://github.com/tideways/php-xhprof-extension.git cd php-xhprof-extension/ /usr/local/php-7.4.24/bin/phpize ./configure --wi
阅读全文
posted @ 2022-03-11 01:35 小吉猫
阅读(121)
评论(0)
推荐(0)
2022年3月10日
php性能分析工具xhprof
摘要: 安装xhprof /usr/local/php/bin/pecl install xhprof 配置php.ini文件 echo "extension=xhprof.so" >> /usr/local/php/conf/php.ini echo "xhprof.output_dir=/tmp" >>
阅读全文
posted @ 2022-03-10 20:10 小吉猫
阅读(196)
评论(0)
推荐(0)
2022年3月6日
nginx cache放到内存
摘要: 创建cache目录 mkdir -pv /var/cache/nginx/fastcgi_cache 修改/etc/fstab文件 tmpfs /var/cache/nginx/fastcgi_cache tmpfs defaults,size=200m,context=system_u:objec
阅读全文
posted @ 2022-03-06 01:31 小吉猫
阅读(118)
评论(0)
推荐(0)
2022年3月5日
nginx日志分析工具 goaccess
摘要: 安装goaccess $ wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null $ echo "deb [signed-b
阅读全文
posted @ 2022-03-05 19:44 小吉猫
阅读(906)
评论(0)
推荐(0)
2022年3月3日
mysql 重新主从复制
摘要: 1.先进入主库,进行锁表,防止数据写入 mysql> flush tables with read lock; 2.进行数据备份 /usr/local/mysql/bin/mysqldump -uroot -p --quick --routines --master-data=2 --single-
阅读全文
posted @ 2022-03-03 17:52 小吉猫
阅读(238)
评论(0)
推荐(0)
上一页
1
···
46
47
48
49
50
51
52
53
54
···
65
下一页
公告