PVE常用脚本
更新源配置 cat > /etc/apt/sources.
PVE开启嵌套虚拟化
检查PVE是否开启nested cat /sys/module/kvm_intel/parameters/nested 输出N,表示未开启,输出Y,表示已开启。 未开启,则必须先关闭所有的虚拟机,强制关闭命令:
React Router V6使用
安装 React Router npm install react-router-dom@6 --save 开启 React Router 在index.
React使用cross-env
需求 有时候写项目做前后端,开发的时候api请求地址为本地,编译后需要请求相对路径,上线与开发的时候都需要手动修改url地址,使用env可以简化操作。
React搭配Tailwind CSS使用
构建React应用 npx create-react-app my-tailwind-app cd my-tailwind-app 安装Tailwind CSS 需要安装Tailwind CSS及其依赖
Socks5 Dante脚本使用
仓库地址:https://github.com/Lozy/danted
SSH配置密钥登陆
密钥说明 A 使用密钥连接 B
Syncthing 配置文件路径
第一次运行 Syncthing 后会生成配置文件
Telegram bot使用WebHook
设置 WebHook 设置漫游器隐私(可选
VirtFusion配置nat
安装主控 安装控制服务器 apt -y install curl curl https://install.