86 lines
3.6 KiB
Markdown
86 lines
3.6 KiB
Markdown
+++
|
||
author = "FlintyLemming"
|
||
title = "PVE 安装 QuTScloud"
|
||
slug = "81b4139253bd445eba19bd84c4b0ebde"
|
||
date = "2022-10-09"
|
||
description = ""
|
||
categories = ["HomeLab"]
|
||
tags = ["QNAP", "NAS", "QuTScloud", "PVE"]
|
||
image = "https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/mert-toker-_I6dvFGseA8-unsplash.avif"
|
||
+++
|
||
|
||
本文是参考下面文章的内容,我自己记录一下方便后续安装
|
||
|
||
<https://jxcn.org/2022/03/qnap-simple-install/>
|
||
|
||
## 下载 QuTScloud 映像文件
|
||
|
||
1. 转到 [https://www.qnap.com/download](https://www.qnap.com/download)
|
||
2. 在“**Product Type**”(产品类型)下,选择 QuTScloud
|
||
3. 下载 QuTScloud QCOW2 映像文件
|
||
|
||
## 上传 QuTScloud 映像
|
||
|
||
使用任意 sftp 工具将 qcow2 文件丢到 pve 的某个地方,比如 `/tmp` 下
|
||
|
||
## 部署 QuTScloud 映像
|
||
|
||
1. 创建一个虚拟机,记住 VM ID
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled.avif)
|
||
|
||
2. 操作系统选择 不使用任何介质
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%201.avif)
|
||
|
||
3. 系统 保持默认
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%202.avif)
|
||
|
||
4. 磁盘 点击删除图标把自带的空白磁盘删了
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%203.avif)
|
||
|
||
5. CPU、内存和网络自己根据实际情况选择
|
||
6. 以 root 身份进入 shell,执行下面的命令添加刚才放进去的 qcow2 镜像到虚拟机里。命令格式为 `qm importdisk <vm id> <qcow2 文件绝对路径> local-lvm`
|
||
|
||
```bash
|
||
qm importdisk 100 /tmp/QuTScloud_c5.0.1.2148.qcow2 local-lvm
|
||
```
|
||
|
||
7. 添加完后,在虚拟机的 硬件 里,可以看到一个 未使用的磁盘
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/CleanShot_2022-10-09_at_19.54.542x.avif)
|
||
|
||
8. 双击它,然后点 添加
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/CleanShot_2022-10-09_at_19.55.082x.avif)
|
||
|
||
9. 再添加若干磁盘作为数据盘,我这边又直通了两个硬盘。光驱什么的也可以删掉。
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%204.avif)
|
||
|
||
10. 修改引导顺序后即可启动
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%205.avif)
|
||
|
||
## 破解系统
|
||
|
||
1. 启动后,会告诉你 MAC 地址和 IP 地址
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%206.avif)
|
||
|
||
2. 通过默认管理员账号 SSH 登录系统。用户名为 admin;密码为MAC地址,不包含特殊字符,所有字母都要大写。然后执行下面的命令
|
||
|
||
```bash
|
||
sudo curl -k https://jxcn.org/file/active2.sh | bash
|
||
```
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%207.avif)
|
||
|
||
3. 重启后继续安装即可
|
||
|
||
![](https://hf-public-source.mitsea.com:8840/images/blog/posts/2022/10/PVE%20%E5%AE%89%E8%A3%85%20QuTScloud/Untitled%208.avif)
|
||
|
||
> Photo by [Mert Toker](https://unsplash.com/@merttoker?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
|
||
|