1
0
mirror of synced 2026-01-28 00:02:29 -05:00
Files
docs/translations/ru-RU/content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-hyper-v.md
2022-12-12 17:21:29 +00:00

6.0 KiB
Raw Blame History

title, intro, redirect_from, versions, type, topics, shortTitle, ms.openlocfilehash, ms.sourcegitcommit, ms.translationtype, ms.contentlocale, ms.lasthandoff, ms.locfileid
title intro redirect_from versions type topics shortTitle ms.openlocfilehash ms.sourcegitcommit ms.translationtype ms.contentlocale ms.lasthandoff ms.locfileid
Установка сервера GitHub Enterprise в Hyper-V Чтобы установить {% data variables.product.prodname_ghe_server %} на Hyper-V, необходимо выполнить развертывание на компьютере под управлением Windows Server (версии 2008-2019).
/enterprise/admin/guides/installation/installing-github-enterprise-on-hyper-v
/enterprise/admin/installation/installing-github-enterprise-server-on-hyper-v
/admin/installation/installing-github-enterprise-server-on-hyper-v
ghes
*
tutorial
Administrator
Enterprise
Infrastructure
Set up
Install on Hyper-V ac551529067caf689ce662dc90b8864fe41e0a6b 5f40f9341d MT ru-RU 10/04/2022 148009135

Предварительные требования

  • {% data reusables.enterprise_installation.software-license %}
  • Требуется Windows Server версии от 2008 до 2019 с поддержкой Hyper-V.
  • Большинство действий, необходимых для создания виртуальной машины, можно также выполнить с помощью диспетчера Hyper-V. Однако для начальной настройки рекомендуется использовать оболочку командной строки Windows PowerShell. Примеры использования PowerShell приведены ниже. Дополнительные сведения см. в руководстве Майкрософт Начало работы с Windows PowerShell.

Рекомендации по оборудованию

{% data reusables.enterprise_installation.hardware-considerations-all-platforms %}

Скачивание образа {% data variables.product.prodname_ghe_server %}

{% data reusables.enterprise_installation.download-license %} {% data reusables.enterprise_installation.download-appliance %} 4. В разделе "Локальный {% data variables.product.prodname_dotcom %}" в раскрывающемся меню "Выбор гипервизора" щелкните Hyper-V (VHD) . 5. Нажмите Скачать Hyper-V (VHD) .

Создание экземпляра {% data variables.product.prodname_ghe_server %}

{% data reusables.enterprise_installation.create-ghe-instance %}

  1. В PowerShell создайте новую виртуальную машину поколения 1, настройте размер на основе количества лицензий пользователя и подключите скачанный образ {% data variables.product.prodname_ghe_server %}. Дополнительные сведения см. в разделе New-VM документации Майкрософт.
PS C:\> New-VM -Generation 1 -Name VM_NAME -MemoryStartupBytes MEMORY_SIZE -BootDevice VHD -VHDPath PATH_TO_VHD  

{% data reusables.enterprise_installation.create-attached-storage-volume %} Замените PATH_TO_DATA_DISK на путь к расположению, в котором создается диск. Дополнительные сведения см. в разделе New-VHD документации Майкрософт.

PS C:\> New-VHD -Path PATH_TO_DATA_DISK -SizeBytes DISK_SIZE
  1. Подключите диск данных к вашему экземпляру. Дополнительные сведения см. в разделе Add-VMHardDiskDrive документации Майкрософт.
PS C:\> Add-VMHardDiskDrive -VMName VM_NAME -Path PATH_TO_DATA_DISK
  1. Запустите виртуальную машину. Дополнительные сведения см. в разделе Start-VM документации Майкрософт.
PS C:\> Start-VM -Name VM_NAME
  1. Получите IP-адрес вашей виртуальной машины. Дополнительные сведения см. в разделе Get-VMNetworkAdapter документации Майкрософт.
PS C:\> (Get-VMNetworkAdapter -VMName VM_NAME).IpAddresses
  1. Скопируйте IP-адрес виртуальной машины и вставьте его в веб-браузер.

Настройка экземпляра {% data variables.product.prodname_ghe_server %}

{% data reusables.enterprise_installation.copy-the-vm-public-dns-name %} {% data reusables.enterprise_installation.upload-a-license-file %} {% data reusables.enterprise_installation.save-settings-in-web-based-mgmt-console %} Дополнительные сведения см. в статье Настройка устройства {% data variables.product.prodname_ghe_server %}. {% data reusables.enterprise_installation.instance-will-restart-automatically %} {% data reusables.enterprise_installation.visit-your-instance %}

Дополнительные материалы