上一页 1 2 3 4 5 6 ··· 104 下一页
摘要: 一,报错信息: Next Illuminate\\Contracts\\Container\\BindingResolutionException: Target class [view] does not exist. in /web/api/vendor/laravel/framework/sr 阅读全文
posted @ 2024-09-26 15:53 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 一,问题现象: 1,一台新服务器上安装了snoopy之后,发现一个问题,它只能记录root的操作命令,其他用户的操作命令完全记录不下来 2,查看配置: [root@backup ~]# snoopyctl conf ; Options from config file (or defaults): 阅读全文
posted @ 2024-09-26 14:04 刘宏缔的架构森林 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一,关于limit_req和limit_conn的区别 what is the difference between connection and request? connection是连接,即常说的tcp连接,通过三次握手而建立的一个完整状态机。建立一个连接,必须得要三次握手。断开连接时要有四次 阅读全文
posted @ 2024-09-26 11:32 刘宏缔的架构森林 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一,nginx限流有哪些? 目前来说在nginx上面我们常见的三种限速操作分别是:限制请求数(request)、限制连接数(connection)、限制响应速度(rate),对应在nginx的模块相关指令分别是limit_req、limit_conn和limit_rate三个系列 二,limit_c 阅读全文
posted @ 2024-09-26 10:54 刘宏缔的架构森林 阅读(11) 评论(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 刘宏缔的架构森林 阅读(4) 评论(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 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 一,/bin/false和/sbin/nologin作为shell时的区别 1,/bin/false /bin/false是一个什么都不做,立即返回非零退出状态的命令。它通常用于禁止用户登录 用户不会收到任何错误或提示信息,登录尝试简单地被拒绝,没有任何解释 2,/sbin/nologin /sbi 阅读全文
posted @ 2024-09-25 12:03 刘宏缔的架构森林 阅读(19) 评论(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 刘宏缔的架构森林 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 一,导出指定单个表结构 使用mysqldump命令 [root@web mysql]# mysqldump -u root -p my_base my_table --no-data > my_table_struct.sql Enter password: 在当前目录下可以看到文件: [root@ 阅读全文
posted @ 2024-09-24 15:14 刘宏缔的架构森林 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一,编辑配置文件 [root@blog phpredisadmin]# vi includes/config.inc.php 找到如下段落: // Uncomment to enable HTTP authentication /*'login' => array( // Username => P 阅读全文
posted @ 2024-09-24 11:28 刘宏缔的架构森林 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 104 下一页