> For the complete documentation index, see [llms.txt](https://cube.ewelink.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cube.ewelink.cc/english-pt/primeiros-passos/quickstart/maquina-virtual/hyper-v.md).

# Hyper-V

Agradecimentos especiais ao nosso contribuinte da comunidade [@Jordanwise](https://forum.ewelink.cc/u/jordanwise) por criar e compartilhar este vídeo tutorial útil:

{% embed url="<https://www.youtube.com/watch?v=StVw-60Piuk>" %}

### 1. Preparação <a href="#id-1.-prerequisites" id="id-1.-prerequisites"></a>

{% stepper %}
{% step %}
**Faça o download do** CUBE OS **imagem**

Visite este [repositório](https://github.com/eWeLinkCUBE/CUBE-OS/releases/latest) para baixar o mais recente `.vmdk` imagem. Por favor, extraia a imagem após o download.
{% endstep %}

{% step %}
**Instalar o Hyper-V**

Windows 10 / 11 Pro, Enterprise ou Education (Hyper-V necessário)

Hyper-V habilitado no seu sistema: Antes de usar o Hyper-V, certifique-se de que ele esteja habilitado no Windows. Abra **Painel de Controle → Programas → Ativar ou desativar recursos do Windows**,&#x20;

<div align="left"><figure><img src="/files/14ee583cba753b4726a2d3629477ac35282dc7b9" alt="" width="310"><figcaption></figcaption></figure></div>

ativar **Hyper-V** (incluindo *Ferramentas de Gerenciamento do Hyper-V* e *Plataforma Hyper-V*), **Plataforma de Máquina Virtual**, **Plataforma do Hypervisor do Windows**, então clique em **OK** e reinicie o seu computador.

<div align="left"><figure><img src="/files/eb3a2dcbd3af8474e704008b2a0fc91f5bbaf5f9" alt="" width="332"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Adaptador Zigbee (Opcional)**

Se precisar adicionar dispositivos Zigbee USB, observe que o Hyper-V não suporta passthrough USB nativo para dispositivos de hardware, como dongles Zigbee. Se for necessário acesso USB, considere usar uma **solução USB-over-IP** ou um **coordenador Zigbee baseado em rede** em vez disso.
{% endstep %}
{% endstepper %}

### 2. Converter a Imagem do CUBE OS para VHDX <a href="#id-2.-convert-the-cube-os-image-to-vhdx" id="id-2.-convert-the-cube-os-image-to-vhdx"></a>

Antes de criar a máquina virtual, converta a imagem de disco do CUBE OS para um **VHDX** formato compatível com o Hyper-V.

{% stepper %}
{% step %}
Baixe e instale uma ferramenta de conversão de imagem de VM, como **Conversor de Imagem de VM** (recomendado no Windows)&#x20;

<div align="left"><figure><img src="/files/1537f2ab6816ec175c33b956f9c1c480a4053cbc" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Inicie o conversor e selecione:

* Formato de origem: **VMDK**
* Formato de destino: **VHDX**

<div align="left"><figure><img src="/files/94236ec2568efc48b88583660fa8a71227e0562e" alt="" width="360"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Conclua a conversão e anote a localização do `.vhdx` arquivo gerado.

<div align="left"><figure><img src="/files/4c7b3bfe70f67c0818e38fde3ff27a2f51a99ca6" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### 3. Criar a Máquina Virtual <a href="#id-3.-create-the-virtual-machine" id="id-3.-create-the-virtual-machine"></a>

{% stepper %}
{% step %}
Inicie **Gerenciador do Hyper-V**.

<div align="left"><figure><img src="/files/35441384e9465f026691d41c9f4564d3193d508d" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Clique em **Criação Rápida** → Selecione![](/files/5ea6d442643ef7ee8b32a057e8f94c911fab25c0)**Fonte de instalação local**.

<div align="left"><figure><img src="/files/d7e9e266131731e0c0ca7a7e3ab75927ecc18676" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Selecione **Alterar fonte de instalação**, selecione o **CUBE OS `.vhdx`** arquivo convertido e desative **Inicialização Segura do Windows**.

<div align="left"><figure><img src="/files/8b2ee3d4b74f409ab76b91ccdf787a9d022af078" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Digite um nome para a VM (por exemplo, `CUBE OS`), e então **Criar Máquina Virtual**.
{% endstep %}
{% endstepper %}

### 4. Configurar as Configurações da Máquina Virtual <a href="#id-4.-configure-virtual-machine-settings" id="id-4.-configure-virtual-machine-settings"></a>

{% stepper %}
{% step %}
Clique em **Configurações** para a máquina virtual recém-criada.

<div align="left"><figure><img src="/files/8807a067231f8adbbffe95f4f99608af810eaf2a" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}
Atribuir Recursos do Sistema:

* Mínimo: **4096 MB (4 GB)**
* Desative a Memória Dinâmica (recomendado).
* **Processador**: 2 processadores virtuais

<div align="left"><figure><img src="/files/dae13db7e9bf990bac6f3f12c0fb51926d64aa25" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Clique em **Aplicar** e **OK** para salvar as configurações.
{% endstep %}
{% endstepper %}

### 5. Inicializar o CUBE OS

{% stepper %}
{% step %}
Clique em **Conectar** e **Iniciar** a máquina virtual criada.

<div align="left"><figure><img src="/files/140067a09ced219b07da51f7efe213911e8a512b" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Aguarde alguns instantes para o CUBE OS ser inicializado. Monitore a tela de inicialização até que o boot esteja completo.

<div align="left"><figure><img src="/files/7336f5f59c2b93a563eb6d17e5c87fc33f2bad29" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Uma vez concluído, você verá o IP do CUBE OS exibido na tela. Use este endereço IP ou [cube.local](http://cube.local/) para acessar a página de gerenciamento web do CUBE OS.

<div align="left"><figure><img src="/files/ab4a2892db70ba91c665e346473c914533c5170a" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Após acesso bem-sucedido, um ID curto pode ser visto na página de configurações. Em seguida, acesse a página de gerenciamento web do CUBE OS usando `cube-{short id}.local`, o que é útil para diferenciar múltiplas instâncias do CUBE OS na mesma rede local.

<div align="left"><figure><img src="/files/daeee6b79d796f6f6ea0eb43957957e64706a3d9" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cube.ewelink.cc/english-pt/primeiros-passos/quickstart/maquina-virtual/hyper-v.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
