虚拟机
PVE
PVE-创建虚拟机
PVE-CPU
PVE-多网卡
PVE-开机启动
PVE-容器配置
PVE-iKuai
iKuai-内部无法访问域名
iKuai-NTP服务器
PVE-群晖
群晖-PVE中无法关闭
PVE-直通
PVE-OpenWrt
OpenWrt-DDNS
OpenWrt-挂载U盘
OpenWrt-更换软件源
OpenWrt-单臂路由
OpenWrt-DNS
OpenWrt-端口映射
OpenWrt-静态地址
OpenWrt-常见问题
OpenWrt-断网自动重播
OpenWrt-限制联网
OpenWrt-配置路由表
OpenWrt-https证书(Lets Encrypt)
OpenWrt-单接口多IP
OpenWrt-Wan/Lan自由搭配
OpenWrt-Mesh组网
OpenWrt-WiFi双频合并
OpenWrt-ssh无法连接
OpenWrt-OAF(应用控制)
PVE-更新源
PVE-常见问题
PVE-Linux
PVE-Debian 11
PVE-SSL证书
PVE-添加用户
PVE-iStoreOS(路由兼轻NAS系统)
PVE-扩容磁盘
PVE-挂载 ISCSI
PVE-MQ iRouter(秒开路由器)
PVE-虚拟机 备份/还原
PVE-常用指令
PVE-电源键启动虚拟机
PVE-ntp(时间同步)
VMware
NAS系统
Hyper-V
Hyper-V_创建虚拟机
Hyper-V_虚拟网络
Hyper-V_GPU虚拟化
Web-虚拟机
本文档使用 MrDoc 发布
-
+
首页
PVE-Debian 11
## 更新软件源 ```bash nano /etc/apt/sources.list # 编辑软件源 # 替换软件源 deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free apt update # 更新软件源 ``` ## 安装 Docker 查看最新 [docker-compose](https://github.com/docker/compose/releases/) ```bash # 准备所需环境 apt install -y curl # 安装 Docker curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh # 安装 docker-compose curl -L "https://git.918178.xyz/https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-$(uname -s)-$(uname -m)" -o docker-compose cp docker-compose /usr/bin chmod +x /usr/bin/docker-compose # 查看是否安装成功 docker --version docker-compose --version ``` >d 如果运行容器报错,可能是没开启嵌套功能 > `PVE——选中容器——选项——功能——编辑——勾选 嵌套` >  ## 设置中文环境 ```bash apt update && apt install -y locales # 更新软件源并安装语言包 apt install -y fonts-wqy-microhei fonts-wqy-zenhei xfonts-wqy # 安装常用中文字体 apt install -y fcitx fcitx-sogoupinyin fcitx-config-gtk # 安装中文输入法(可选) fcitx-config-gtk # 打开 Fcitx 配置界面 dpkg-reconfigure locales # 打开 locale 的配置界面 # 选择 zh_CN.UTF-8 进行安装 # 设置 zh_CN.UTF-8 为默认 locale locale # 查看当前语言配置 locale -a # 查看已安装的语言包 export LANG=zh_CN.utf8 # 临时设置语言为中文 nano ~/.bashrc # 编辑终端脚本 export LANG=zh_CN.utf8 # 末尾增加,连接自动设置为中文 source ~/.bashrc # 立即生效 ```
造物者W
2024年12月25日 13:10
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码