> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/setup/hypervisor/hyper-v.md).

# Hyper-V

Установка MikoPBX с помощью HyperV.

{% embed url="<https://vkvideo.ru/video-100268702_456239035>" %}

### **Создание виртуальной машины**

1. Выберите **Действие / Создать / Виртуальная машина**
2. На вкладке Укажите имя и местонахождение введите имя виртуальной машины, например *mikopbx-vm*

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F9TpDpB7t3Q5yMlD9jmwN%2FMikoPBXHyperVInstallation_ru_1.png?alt=media&amp;token=798dd043-56cf-47a1-9054-3739bfed22f5" alt=""><figcaption></figcaption></figure>

3. Перейдите к следующей вкладке Укажите поколение, выберите поколение - **Поколение 1**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FvFUmYiwe1c5Jbfl1mw4e%2FMikoPBXHyperVInstallation_ru_2.png?alt=media&amp;token=671e243d-e21b-4fb5-a802-900e60b93028" alt=""><figcaption></figcaption></figure>

4. На вкладке Выделить память выделите необходимый размер оперативной памяти, исходя из ожидаемой нагрузки на АТС. Для тестовой машины можно указать 2 Гб

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FMIzuIXcWNbbCqEBVqATp%2FMikoPBXHyperVInstallation_ru_3.png?alt=media&amp;token=5749461f-1c40-4ced-b641-8edaec1ea141" alt=""><figcaption></figcaption></figure>

5. Перейдите к вкладке Настройка сети, выберите заранее настроенное сетевое соединение

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fwmg1Ky92N0IwnkkhGC8W%2FMikoPBXHyperVInstallation_ru_4.png?alt=media&amp;token=f10bdb84-0355-4ce1-a3f2-f35c15187e07" alt=""><figcaption></figcaption></figure>

6. На вкладке Подключить виртуальный жесткий диск скорректируйте размер диска под систему до **1 Гб**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FhAC4wBF9EuhWynNWvSQ1%2FMikoPBXHyperVInstallation_ru_5.png?alt=media&amp;token=2e4c8cef-e0f6-40ad-b56f-646995c6664e" alt=""><figcaption></figcaption></figure>

7. На вкладке Параметры установки установите флажок **Установить операционную систему с загрузочного компакт- или DVD-диска**
8. Выберите **Файл образа (.iso)** и укажите ссылку на файл из дистрибутива MikoPBX с расширением **.iso**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FwvbhUOFIvnjTpHighf6S%2FMikoPBXHyperVInstallation_ru_6.png?alt=media&amp;token=2f137bc5-294f-4f41-85e3-ae9681c7e7d1" alt=""><figcaption></figcaption></figure>

9. Завершив ввод значений, нажмите кнопку **Готово**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FlnfU2Ai2siQvji4Nm8Cl%2FMikoPBXHyperVInstallation_ru_7.png?alt=media&amp;token=e3ea0309-2a81-4874-a9e0-278a161fe1a0" alt=""><figcaption></figcaption></figure>

### **Диск для хранения данных**

{% hint style="danger" %}
Для развертывания АТС используйте **два** диска:

* диск объемом **1 Гб** для основной системы
* диск объемом **50+ Гб** для хранения записей разговоров
  {% endhint %}

1. Перейдите к Параметрам созданной виртуальной машины
2. Выберите IDE контроллер, к которому подключен диск под систему
3. На открывшейся вкладке выберите Жесткий диск, нажмите кнопку **Добавить**
4. Нажмите кнопку **Создать**
5. На вкладке Выбор формата диска выберите формат - **VHD**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F3AK3dmu2A50LGYH99V8D%2FMikoPBXHyperVInstallation_ru_8.png?alt=media&amp;token=0794b3c2-a699-421b-90ec-af9afdcbe24f" alt=""><figcaption></figcaption></figure>

6. На вкладке Выберите тип диска укажите тип диска - **Фиксированного размера**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FTwZNOqCDMuwfzWhNCCGL%2FMikoPBXHyperVInstallation_ru_9.png?alt=media&amp;token=fdd6d477-0f32-45a3-8d05-3938d7295317" alt=""><figcaption></figcaption></figure>

7. На вкладке Укажите имя и местонахождение укажите имя, например *storage.vhd*, и расположение диска

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FVYSEfwifgUl1JTO03XZv%2FMikoPBXHyperVInstallation_ru_10.png?alt=media&amp;token=c15d5b0f-d477-485b-bf5f-60282a067e87" alt=""><figcaption></figcaption></figure>

8. На вкладке Настройка диска задайте размер диска для хранения данных не менее 50Гб

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FRdt26dseOZexOlD0T5V5%2FMikoPBXHyperVInstallation_ru_11.png?alt=media&amp;token=5a795e3d-f75f-40a7-b82d-368a9c7cc4d1" alt=""><figcaption></figcaption></figure>

9. Для других полей используйте значения по умолчанию
10. Завершите настройку, нажав кнопку **Готово**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F6ItDG2Djah4C762mRma8%2FMikoPBXHyperVInstallation_ru_12.png?alt=media&amp;token=d58cde9e-6086-417c-a798-3cc507ab043d" alt=""><figcaption></figcaption></figure>

### **Установка АТС MikoPBX**

1. Для запуска виртуальной машины нажмите **Пуск**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FJpBndDOaGRhWnsyRHX85%2FMikoPBXHyperVInstallation_ru_13.png?alt=media&amp;token=1470ea9a-6305-40eb-a93b-50404addb87b" alt=""><figcaption></figcaption></figure>

2. Перейдите к вкладке Подключить созданной виртуальной машины *mikopbx-vm*
3. Если загрузка прошла успешно, появится консольное меню. Введите с клавиатуры **8** для начала установки

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FhAycxsuZpkOBdIf0Ayhz%2FMikoPBXHyperVInstallation_ru_14.png?alt=media&amp;token=fb274d90-952c-410a-87df-e9b6012828dc" alt=""><figcaption></figcaption></figure>

4. Выберите диск под систему и введите с клавиатуры имя диска, например ***sdb***. Подтвердите выбор, введите с клавиатуры ***y***

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F5EUWu2n81dUQSYkzXv4H%2FMikoPBXHyperVInstallation_ru_15.png?alt=media&amp;token=81799530-49db-4b1e-86a5-ed2229dbdc11" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F1qoFjdkIwVpdtJJLLfbB%2FMikoPBXHyperVInstallation_ru_16.png?alt=media&amp;token=3a60f6b4-ed7c-40f6-b245-1e80e9113397" alt=""><figcaption></figcaption></figure>

5. Подключите диск для хранения записей разговоров, ведите с клавиатуры наименование диска для подключения, например ***sdc***

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F5YPRy4Eli2S1XTxV6Irf%2FMikoPBXHyperVInstallation_ru_17.png?alt=media&amp;token=8fff05f2-a268-45fa-9c83-8762519aada8" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
После появления сообщения “Press any key within 30 seconds to boot from LiveCD…” не нажимайте никаких кнопок. В этом случае система загрузится с жесткого диска.
{% endhint %}

### **Запуск АТС MikoPBX**

1. На открытой вкладке Подключить скопируйте внешний адрес созданной виртуальной машины и введите его в строке браузера

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2F4Bzb7qLXJy3X9rDlzS4V%2FMikoPBXHyperVInstallation_ru_18.png?alt=media&amp;token=2cf5c719-0562-48ab-ab5e-645be352d35d" alt=""><figcaption></figcaption></figure>

2. Для входа используйте логин - admin и пароль - admin

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2FNkUmg8FeHaXI41do3smt%2FMikoPBXHyperVInstallation_19.png?alt=media&amp;token=7f937bb2-e485-4ece-8128-9a17eac170b6" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mikopbx.com/mikopbx/setup/hypervisor/hyper-v.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
