摘要: 1. 打开clsh局域网连接 2. 在Windows用户目录下新建文件.wslconfig 3. 关闭wsl并编写文件内容 wsl --shutdown [wsl2] memory=8GB processors=8 [experimental] autoMemoryReclaim=gradual n 阅读全文
posted @ 2024-08-21 00:49 grovee 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 安装docker 官方教程加上代理 sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings curl指定代理 sudo curl -x http:/ 阅读全文
posted @ 2024-07-03 00:57 grovee 阅读(659) 评论(1) 推荐(1) 编辑
摘要: 前提 Vite + Vue3 首先安装依赖: npm i vite-plugin-singlefile npm i unplugin-auto-import npm i unplugin-vue-components 修改vite.config.js import { fileURLToPath, 阅读全文
posted @ 2023-09-13 17:22 grovee 阅读(1667) 评论(0) 推荐(0) 编辑
摘要: 前提 需要关闭输入法的Ctrl+Shift+F的中文简体和繁体切换快捷键 清除IDEA缓存并重启 File-->Invalidate Caches / Restart... 阅读全文
posted @ 2023-04-17 11:25 grovee 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 问题背景 重装系统,备份了IDEA的代码,新系统打开项目显示全部已修改 解决方案 在项目根目录运行以下两条命令 git rm --cached -r . git reset --hard 阅读全文
posted @ 2023-04-16 23:45 grovee 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 准备一台Ubuntu虚拟机 IP: 192.168.129.114 安装nfs-server sudo apt-get install nfs-kernel-server 添加 NFS 共享目录 sudo vim /etc/exports 添加一行 * 表示允许任何网段 IP 的系统访问该 NFS 阅读全文
posted @ 2023-04-08 14:36 grovee 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 记录一下在本地电脑上基于Ubuntu20.04虚拟机搭建K8s集群 下载Ubuntu20.04LTS镜像 使用清华大学源下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/20.04/ubuntu-20.04.6-live-server-a 阅读全文
posted @ 2023-04-07 10:15 grovee 阅读(134) 评论(0) 推荐(0) 编辑
摘要: IDEA->Help->Edit Custom VM Options 末尾添加一行 -Dfile.encoding=utf-8 阅读全文
posted @ 2023-03-07 10:49 grovee 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 安装MySQL sudo apt install mysql-server 启动 sudo service mysql start 查看用户密码 sudo cat /etc/mysql/debian.cnf 使用该用户名和密码进入MySQL修改root密码 ALTER USER 'root'@'%' 阅读全文
posted @ 2023-02-23 14:38 grovee 阅读(899) 评论(0) 推荐(0) 编辑
摘要: 解决方案: ```sh sudo apt install multimedia-jack pulseaudio --kill jack_control start ``` 阅读全文
posted @ 2022-12-30 19:33 grovee 阅读(540) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示