摘要: $env:NODE_OPTIONS="--openssl-legacy-provider" 阅读全文
posted @ 2025-01-02 16:21 Lee_Yong 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 查看当前时区 timedatectl status 查看所有可用时区 tiemdatectl list-datezones 设置时区 sudo timedatectl set-timezone Asia/Shanghai 可以用查看时区状态确认是否设置成功 timedatectl status 阅读全文
posted @ 2025-01-02 16:18 Lee_Yong 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 错误信息如下: 一、打开终端: 二、此由本地策略组引发,可通过命令查看策略: Get-ExecutionPolicy -List 如结果都显示Undefined,那代表没有设置安全策略 三、使用以下命令来更改执行策略为 RemoteSigned 并设置为作用于当前用户 Set-ExecutionPo 阅读全文
posted @ 2024-12-16 14:26 Lee_Yong 阅读(274) 评论(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 阅读(29) 评论(0) 推荐(0) 编辑
摘要: ln方式 sudo ln -s PATH_NAME1 PATH_NAME2 PATH_NAME1:目标文件所在路径(包括文件名) PATH_NAME2:软链接文件所在路径(包括文件名) 阅读全文
posted @ 2023-11-06 10:21 Lee_Yong 阅读(46) 评论(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 阅读(239) 评论(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 阅读(575) 评论(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 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 将本地仓库和远程仓库建立连接: git remote add origin git@github.com/codes/code.git 修改远程仓库地址 git remote -v //查看修改前的仓库 git remote set-url origin xxx //xxx代表新的仓库地址 git 阅读全文
posted @ 2023-01-05 16:17 Lee_Yong 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 注:如果不是root用户,命令前需加上 sudo 1、安装MySQL apt-get install mysql-server 如果报错则更新源 apt-get update 2、安装好MySQL后,启用MySQL service mysql start 3、进入MySQL,默认没有密码 mysql 阅读全文
posted @ 2023-01-04 12:17 Lee_Yong 阅读(588) 评论(0) 推荐(0) 编辑