上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 179 下一页
摘要: 一,查看某个文件所属的deb包: root@lhdpc:/usr/local/source/Python-3.12.0# dpkg -S /usr/bin/python3 python3-minimal: /usr/bin/python3 二,查看dpkg的版本号 root@lhdpc:/usr/l 阅读全文
posted @ 2023-11-14 08:25 刘宏缔的架构森林 阅读(557) 评论(0) 推荐(0)
摘要: 一,查看各种开发语言的使用占比: https://www.tiobe.com/tiobe-index 如图: 2023年11月的统计: 二,查看浏览器和os的市场占比: https://gs.statcounter.com/ 如图: 说明:刘宏缔的架构森林—专注it技术的博客,网站:https:// 阅读全文
posted @ 2023-11-14 08:23 刘宏缔的架构森林 阅读(110) 评论(0) 推荐(0)
摘要: 一,ubuntu23.10默认未安装ssh 如下: liuhongdi@lhdpc:~$ service ssh status Unit ssh.service could not be found. 二,安装ssh 1,从命令行安装 root@lhdpc:~# apt-get install ss 阅读全文
posted @ 2023-11-14 08:19 刘宏缔的架构森林 阅读(1323) 评论(0) 推荐(0)
摘要: 一,配置 1,在laravel项目的根目录下添加extend目录,如图: 2,编辑composer.json,在autoload增加一行: "":"extend/", 如图: 生成自动加载文件: liuhongdi@lhdpc:/data/laravel/dignews$ composer dump 阅读全文
posted @ 2023-11-08 19:07 刘宏缔的架构森林 阅读(227) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/structure/14837#c2b9f4 二,app目录 1,如图: 2,各目录的用途: console:所有自定义的控制台命令 Exceptions:异常处理器 Http/Controllers:控制器 阅读全文
posted @ 2023-11-08 19:02 刘宏缔的架构森林 阅读(101) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/structure/14837#c2b9f4 Storage 目录 storage 目录包含日志、编译后的 Blade 模板、基于文件的会话、文件缓存和框架生成的其他文件。 该目录分为 app、framewo 阅读全文
posted @ 2023-11-07 13:52 刘宏缔的架构森林 阅读(158) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/filesystem/14865 二,配置.env和config 1, .env中 IMG_HOST = "http://192.168.219.6" IMG_DIR = "/var/www/html" 2, 阅读全文
posted @ 2023-11-07 13:50 刘宏缔的架构森林 阅读(56) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/validation/14856#rule-confirmed 说明: confirmed#: 验证字段必须与 {field}_confirmation 字段匹配。例如,如果验证字段是 password,则输入 阅读全文
posted @ 2023-11-02 08:14 刘宏缔的架构森林 阅读(165) 评论(0) 推荐(0)
摘要: 一,关于第三方库Laravel-Excel 官方代码站: https://github.com/SpartnerNL/Laravel-Excel 文档地址: https://docs.laravel-excel.com/3.1/getting-started/ 二,安装/配置 1,用composer 阅读全文
posted @ 2023-11-02 08:09 刘宏缔的架构森林 阅读(315) 评论(0) 推荐(0)
摘要: 一,配置: 1,在bootstrap/app.php中添加两行: 1 2 3 4 // 常量定义文件 require __DIR__ . '/const.php'; // 公共函数定义文件 require __DIR__ . '/function.php'; 二,php代码 1,自定义常量:boot 阅读全文
posted @ 2023-11-02 07:51 刘宏缔的架构森林 阅读(363) 评论(0) 推荐(0)
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 179 下一页