上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 179 下一页
摘要: 一,使用ip命令: 命令: ip -s link -s[tatistics] : 统计 [root@web mysql]# ip -s link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFA 阅读全文
posted @ 2024-09-28 17:44 刘宏缔的架构森林 阅读(477) 评论(0) 推荐(0)
摘要: 一,删除所有别名 #!/bin/bash # Elasticsearch 地址 ES_HOST="http://localhost:9200" content=$(curl -s -X GET "$ES_HOST/_alias/*") # echo $content # 获取所有alias inde 阅读全文
posted @ 2024-09-27 14:32 刘宏缔的架构森林 阅读(172) 评论(0) 推荐(0)
摘要: 一,报错信息: Next Illuminate\\Contracts\\Container\\BindingResolutionException: Target class [view] does not exist. in /web/api/vendor/laravel/framework/sr 阅读全文
posted @ 2024-09-26 15:53 刘宏缔的架构森林 阅读(365) 评论(0) 推荐(0)
摘要: 一,问题现象: 1,一台新服务器上安装了snoopy之后,发现一个问题,它只能记录root的操作命令,其他用户的操作命令完全记录不下来 2,查看配置: [root@backup ~]# snoopyctl conf ; Options from config file (or defaults): 阅读全文
posted @ 2024-09-26 14:04 刘宏缔的架构森林 阅读(39) 评论(0) 推荐(0)
摘要: 一,关于limit_req和limit_conn的区别 what is the difference between connection and request? connection是连接,即常说的tcp连接,通过三次握手而建立的一个完整状态机。建立一个连接,必须得要三次握手。断开连接时要有四次 阅读全文
posted @ 2024-09-26 11:32 刘宏缔的架构森林 阅读(35) 评论(0) 推荐(0)
摘要: 一,nginx限流有哪些? 目前来说在nginx上面我们常见的三种限速操作分别是:限制请求数(request)、限制连接数(connection)、限制响应速度(rate),对应在nginx的模块相关指令分别是limit_req、limit_conn和limit_rate三个系列 二,limit_c 阅读全文
posted @ 2024-09-26 10:54 刘宏缔的架构森林 阅读(552) 评论(0) 推荐(0)
摘要: 一,问题的现象: 1,安装laravel/ui这个第三方库后,它的文件不出现在未跟踪文件中,如下: liuhongdi@lhdpc:/web/api/vendor/laravel/ui$ git ls-files ./ liuhongdi@lhdpc:/web/api/vendor/laravel/ 阅读全文
posted @ 2024-09-25 19:21 刘宏缔的架构森林 阅读(347) 评论(0) 推荐(0)
摘要: 一,报错信息: Uncaught ReflectionException: Class "view" does not exist in /web/api/vendor/laravel/framework/src/Illuminate/Container/Container.php:938 Stac 阅读全文
posted @ 2024-09-25 18:20 刘宏缔的架构森林 阅读(305) 评论(0) 推荐(0)
摘要: 一,/bin/false和/sbin/nologin作为shell时的区别 1,/bin/false /bin/false是一个什么都不做,立即返回非零退出状态的命令。它通常用于禁止用户登录 用户不会收到任何错误或提示信息,登录尝试简单地被拒绝,没有任何解释 2,/sbin/nologin /sbi 阅读全文
posted @ 2024-09-25 12:03 刘宏缔的架构森林 阅读(747) 评论(0) 推荐(0)
摘要: 一,主库上:修改配置文件 1,配置文件: /etc/my.cnf中,增加: server-id = 1 说明:无需指明log bin的值,因为它的默认值就是打开的, SHOW VARIABLES LIKE 'log_bin'; 返回: 说明:主库的server-id要和从库的server-id区分开 阅读全文
posted @ 2024-09-24 17:45 刘宏缔的架构森林 阅读(4437) 评论(0) 推荐(6)
上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 179 下一页