07 2023 档案

摘要:# Windows命令行开启WSL2 打开带管理员权限的终端(powershell) 依次输入以下四条命令并重启 ```shell wsl --install ``` ```shell dism.exe /online /enable-feature /featurename:Microsoft-W 阅读全文
posted @ 2023-07-31 11:10 护发师兄 阅读(770) 评论(0) 推荐(0)
摘要:# Windows签发本地SSL证书 按顺序使用以下命令行,遇到输入提示请根据状况输入 ```shell winget openssl ``` ```shell cd 'C:\Program Files\OpenSSL-Win64\bin\' ``` ```shell ./openssl req - 阅读全文
posted @ 2023-07-22 09:55 护发师兄 阅读(150) 评论(0) 推荐(0)
摘要:# Docker被墙了怎么办?换源处理! 命令行输入以下命令换源,按提示进行操作(推荐南京大学和微软云的源) ```shell bash <(curl -sSL https://ghproxy.com/https://github.com/SuperManito/LinuxMirrors/raw/m 阅读全文
posted @ 2023-07-19 09:12 护发师兄 阅读(1593) 评论(0) 推荐(0)
摘要:# 如何在windows家庭版启用Hyper-V平台? 1. 桌面新建`run.bat`文件,将以下语句复制进去,右键使用管理员运行,执行完毕后按Y重启 ```shell pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.m 阅读全文
posted @ 2023-07-17 16:48 护发师兄 阅读(417) 评论(0) 推荐(0)
摘要:# centos7 installation source 设置安装源 中科大源(最快) ```http https://mirrors.ustc.edu.cn/centos/7/os/x86_64 ``` 阿里源(备用) ```http https://mirrors.aliyun.com/cen 阅读全文
posted @ 2023-07-17 16:39 护发师兄 阅读(892) 评论(0) 推荐(0)
摘要:# MyBatis-Plus如何自动填充实体类时间 1. 创建实体类,相关字段添加`@TableField`注解,并标注自动填充时机 ```java @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public 阅读全文
posted @ 2023-07-13 20:12 护发师兄 阅读(184) 评论(0) 推荐(0)
摘要:# 查看是否开启Hyper-V,另附开启关闭代码 打开管理员权限的终端 使用以下代码查看是否开启Hyper-V ```shell $hyperv = Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online # Che 阅读全文
posted @ 2023-07-13 19:51 护发师兄 阅读(5289) 评论(0) 推荐(0)
摘要:# idea重启进程慢 最近我有个朋友朋友遇到idea重启进程慢的问题,重启进程的时候需要等待近两分钟才会退出进程,现在说一下这个的解决办法。 ##打开idea,左上角`File-Setting-Build,Execution,Deployment-Debugger`勾选`Kill the debu 阅读全文
posted @ 2023-07-13 19:36 护发师兄 阅读(152) 评论(0) 推荐(0)