摘要: 1、使用root登录 mysql -u root -p 2、创建用户名为 test 的新用户,注意密码需要符合安全策略(长度、字符等) CREATE USER 'test'@'localhost' IDENTIFIED BY 'PASSWORD'; 3、设置用户权限,如果设置所有数据库则将 data 阅读全文
posted @ 2025-03-05 16:50 Lee_Yong 阅读(10) 评论(0) 推荐(0) 编辑
摘要: listen 80; listen [::]:80; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable g 阅读全文
posted @ 2025-03-05 16:08 Lee_Yong 阅读(4) 评论(0) 推荐(0) 编辑
摘要: $env:NODE_OPTIONS="--openssl-legacy-provider" 阅读全文
posted @ 2025-01-02 16:21 Lee_Yong 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 查看当前时区 timedatectl status 查看所有可用时区 tiemdatectl list-datezones 设置时区 sudo timedatectl set-timezone Asia/Shanghai 可以用查看时区状态确认是否设置成功 timedatectl status 阅读全文
posted @ 2025-01-02 16:18 Lee_Yong 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 错误信息如下: 一、打开终端: 二、此由本地策略组引发,可通过命令查看策略: Get-ExecutionPolicy -List 如结果都显示Undefined,那代表没有设置安全策略 三、使用以下命令来更改执行策略为 RemoteSigned 并设置为作用于当前用户 Set-ExecutionPo 阅读全文
posted @ 2024-12-16 14:26 Lee_Yong 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 一、在/etc/init.d下创建webman_app文件,权限777,文件内容如下 #!/bin/sh ### BEGIN INIT INFO # Provides: webman_app # Required-Start: $remote_fs $network # Required-Stop: 阅读全文
posted @ 2024-12-10 16:53 Lee_Yong 阅读(39) 评论(0) 推荐(0) 编辑
摘要: ln方式 sudo ln -s PATH_NAME1 PATH_NAME2 PATH_NAME1:目标文件所在路径(包括文件名) PATH_NAME2:软链接文件所在路径(包括文件名) 阅读全文
posted @ 2023-11-06 10:21 Lee_Yong 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 一、使用composer下载扩展包 composer require intervention/image 二、实现代码 use Intervention\Image\ImageManager; class Image { private $image; public function __cons 阅读全文
posted @ 2023-03-30 15:49 Lee_Yong 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 一、使用composer下载扩展包 composer require endroid/qr-code 二、实现代码 use Endroid\QrCode\Color\Color; use Endroid\QrCode\Encoding\Encoding; use Endroid\QrCode\Err 阅读全文
posted @ 2023-03-30 15:40 Lee_Yong 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 当使用Git进行代码push提交时,出现报错信息“fatal: 'origin' does not appear to be a git repository...”, $ git push -u origin masterfatal: 'origin' does not appear to be 阅读全文
posted @ 2023-03-22 10:37 Lee_Yong 阅读(799) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示