刻录:

使用rufus+GPT+DD方式写入U盘

一、更换国内源:

1)删除企业源

mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak

2)下载秘钥

wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

3) 添加社区源

echo "deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list

4)添加阿里源

cp /etc/apt/sources.list /etc/apt/sources.list.orgin && \
echo "\
deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">/etc/apt/sources.list

二、去除订阅

cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak && vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

1)找到if (data.status !== 'Active')改为if (false)

2)重启网页服务systemctl restart pveproxy

三、上传的镜像文件路径

web上传大镜像经常会遇到失败,可以使用scp上传,虽然也会失败,但可以设置重试次数

/var/lib/vz/template/iso

四、修改默认登录语言(不起作用,有时间再研究)

  • vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
  • 98行左右,修改为Chinese (Simplified),如下图并重启网页服务systemctl restart pveproxy

五、7.1安装&调整root分区大小小

参照这篇博文

  • 关闭企业版更新源:mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak
  • 修改为加速源
cp /etc/apt/sources.list /etc/apt/sources.list.bak;echo "\
# debian aliyun source
deb https://mirrors.aliyun.com/debian bullseye main contrib
deb https://mirrors.aliyun.com/debian bullseye-updates main contrib
# security updates
deb https://mirrors.aliyun.com/debian-security bullseye-security main contrib # proxmox source
deb http://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription">/etc/apt/sources.list
  • 去除订阅提示和上方旧版本方法一样

修改默认root逻辑卷大小

系统默认划了3个逻辑卷,rootdataswap,绝大部分空间都划给了data,也就是存放虚拟机的地方。root主要存放镜像文件,14t的硬盘,只给了100G,担心将来没地方存ISO镜像,所以系统在未正式使用前,建议调大该分区大小。

  • 删除data逻辑卷(请确保还未新建任何虚拟机):lvremove /dev/pve/data -y

  • 重新创建data逻辑卷:lvcreate -L 12t -n data pve -T,原来的data大小为14t,先将其调整为12t,剩下的2t全给data(根据自己情况调整)

  • 调整root大小:lvresize -l +100%FREE /dev/pve/root

-重新挂载文件系统:resize2fs /dev/mapper/pve-root

最新文章

  1. Oracle函数组的使用
  2. mybatis foreach的使用
  3. 完整卸载 kubuntu-desktop from Ubuntu 14.04 LTS
  4. 【摘抄】将xml注释文档生成网页
  5. Pyqt 打开外部链接的几种方法
  6. Intellij Idea 12 开发Android 报Caused by: java.lang.UnsatisfiedLinkError: FindLibrary return null;
  7. 在Myeclipse buildpath 加server lib (server runtime)/项目导入时报错:The import javax.servlet.http.HttpServletRequest cannot be resolved
  8. grails中报Cannot create a session after the response has been committed异常的解决办法
  9. jQuery Pagination Ajax分页插件中文详解(转)
  10. Spring核心框架 - AOP的起源及介绍
  11. H5页开发规范/通用规范
  12. springmvc-时间类型转换器
  13. cssline-height行高 全解
  14. UVA - 1218 Perfect Service (树形DP)
  15. python IDLE中反斜杠显示为人民币符号¥的解决办法
  16. Xshell与虚拟机不能正常连接
  17. angularjs也支持script形式的template
  18. 基于jQuery个性圆圈倒计时特效
  19. BZOJ4407 于神之怒加强版 - 莫比乌斯反演
  20. LINQ操作符四:排序操作符

热门文章

  1. c# 一些警告的处理方法
  2. SpringBoot 读取配置文件数据
  3. Vue.js 3.x 中跨层级组件如何传递数据?
  4. 轮播——swiper
  5. C#/VB.NET 实现Word和ODT文档相互转换
  6. 超全面!1.5w字总结50个Java经典基础面试题(已根据知识点分类)
  7. Mac 手动安装 bee工具
  8. 在字节跳动,一个更好的企业级SparkSQL Server这么做
  9. 146_ACCESS之HR招聘信息管理_64位
  10. Vue项目中的接口进阶使用