Nano server windows что это такое

Краткое руководство по серверу Nano Server Nano Server Quick Start

Область применения. Windows Server 2016 Applies To: Windows Server 2016

Начиная с Windows Server версии 1709, сервер Nano Server будет доступен только в качестве базового образа ОС контейнера. Starting in Windows Server, version 1709, Nano Server will be available only as a container base OS image. Его описание см. в статье об изменениях сервера Nano Server. Check out Changes to Nano Server to learn what this means.

Следуйте указаниям в этом разделе, чтобы быстро приступить к работе с базовым развертыванием Nano Server, используя DHCP для получения IP-адреса. Follow the steps in this section to get started quickly with a basic deployment of Nano Server using DHCP to obtain an IP address. Виртуальный жесткий диск Nano Server можно запустить в виртуальной машине или загрузить на физическом компьютере, при этом шаги могут немного отличаться. You can run a Nano Server VHD either in a virtual machine or boot to it on a physical computer; the steps are slightly different.

Ознакомившись с базовыми функциями с помощью приведенных здесь инструкций, вы можете обратиться к статье Развертывание сервера Nano Server за подробными сведениями о создании пользовательских образов, различных способах управления пакетами, операциях домена и многом другом. Once you’ve tried out the basics with these quick-start steps, you can find details of creating your own custom images, package management by several methods, domain operations, and much more in Deploy Nano Server.

Nano Server на виртуальной машине Nano Server in a virtual machine

Выполните приведенные ниже действия для создания виртуального жесткого диска Nano Server, который будет выполняться на виртуальной машине. Follow these steps to create a Nano Server VHD that will run in a virtual machine.

Быстрое развертывание сервера Nano Server на виртуальной машине To quickly deploy Nano Server in a virtual machine

Скопируйте папку NanoServerImageGenerator из папки \NanoServer ISO-образа Windows Server 2016 в папку на жестком диске. Copy NanoServerImageGenerator folder from the \NanoServer folder in the Windows Server 2016 ISO to a folder on your hard drive.

Запустите Windows PowerShell с правами администратора, перейдите в папку, куда скопировали NanoServerImageGenerator, а затем импортируйте модуль с помощью команды Import-Module .\NanoServerImageGenerator -Verbose Start Windows PowerShell as an administrator, change directory to the folder where you have placed the NanoServerImageGenerator folder and then import the module with Import-Module .\NanoServerImageGenerator -Verbose

Может потребоваться настроить политику выполнения Windows PowerShell. You might have to adjust the Windows PowerShell execution policy. Set-ExecutionPolicy RemoteSigned должен подойти. Set-ExecutionPolicy RemoteSigned should work well.

Создайте виртуальный жесткий диск для выпуска Standard, который задает имя компьютера и включает гостевые драйверы Hyper-V, выполнив указанную ниже команду, при этом вам будет предложено ввести пароль администратора для нового виртуального жесткого диска: Create a VHD for the Standard edition that sets a computer name and includes the Hyper-V guest drivers by running the following command which will prompt you for an administrator password for the new VHD:

New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath

-BasePath .\Base -TargetPath .\NanoServerVM\NanoServerVM.vhd -ComputerName , где: New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath

-BasePath .\Base -TargetPath .\NanoServerVM\NanoServerVM.vhd -ComputerName where

Читайте также:  Samsung ml 3050 драйвер windows 10

указывает путь к корню содержимого ISO-образа Windows Server 2016. -MediaPath

specifies a path to the root of the contents of the Windows Server 2016 ISO. Например, если вы скопировали содержимое ISO в d:\TP5ISO, следует использовать этот путь. For example if you have copied the contents of the ISO to d:\TP5ISO you would use that path.

-BasePath (необязательно) задает папку, которая создается для копирования пакетов WIM-файла Nano Server. -BasePath (optional) specifies a folder that will be created to copy the Nano Server WIM and packages to.

-TargetPath указывает путь, включая имя файла и расширение, для создания итогового VHD или VHDX. -TargetPath specifies a path, including the filename and extension, where the resulting VHD or VHDX will be created.

Computer_name указывает имя компьютера, которое будет иметь создаваемая вами виртуальная машина Nano Server. Computer_name specifies the computer name that the Nano Server virtual machine you are creating will have.

Пример: New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath f:\ -BasePath .\Base -TargetPath .\Nano1\Nano.vhd -ComputerName Nano1 Example: New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath f:\ -BasePath .\Base -TargetPath .\Nano1\Nano.vhd -ComputerName Nano1

Этот пример создает виртуальный жесткий диск из ISO-образа, подключенного как f:\. This example creates a VHD from an ISO mounted as f:\. При создании виртуального жесткого диска он будет использовать папку с именем Base в том же каталоге, где был запущен New-NanoServerImage. Виртуальный жесткий диск (с именем Nano.vhd) помещается в папку Nano1 внутри папки, из которой выполняется команда. When creating the VHD it will use a folder called Base in the same directory where you ran New-NanoServerImage; it will place the VHD (called Nano.vhd) in a folder called Nano1 in the folder from where the command is run. Имя компьютера будет иметь значение Nano1. The computer name will be Nano1. Полученный виртуальный жесткий диск будет содержать выпуск Standard системы Windows Server 2016 и подойдет для развертывания виртуальных машин Hyper-V. The resulting VHD will contain the Standard edition of Windows Server 2016 and will be suitable for Hyper-V virtual machine deployment. Если требуется виртуальная машина поколения 1, создайте образ VHD, указав расширение .vhd в параметре -TargetPath. If you want a Generation 1 virtual machine, create a VHD image by specifying a .vhd extension for -TargetPath. Для виртуальной машины поколения 2 создайте образ VHDX, указав расширение .vhdx в параметре -TargetPath. For a Generation 2 virtual machine, create a VHDX image by specifying a .vhdx extension for -TargetPath. Можно также напрямую создать WIM-файл, указав расширение .wim в параметре -TargetPath. You can also directly generate a WIM file by specifying a .wim extension for -TargetPath.

New-NanoServerImage поддерживается в Windows 8.1, Windows 10, Windows Server 2012 R2 и Windows Server 2016. New-NanoServerImage is supported on Windows 8.1, Windows 10, Windows Server 2012 R2, and Windows Server 2016.

В диспетчере Hyper-V создайте новую виртуальную машину и используйте VHD, созданный на шаге 3. In Hyper-V Manager, create a new virtual machine and use the VHD created in Step 3.

Загрузите виртуальную машину и подключитесь к ней в диспетчере Hyper-V. Boot the virtual machine and in Hyper-V Manager connect to the virtual machine.

Войдите в агент восстановления (см. раздел «Агент восстановления Nano Server» этого руководства) с помощью имени администратора и пароля, указанных при выполнении скрипта на шаге 3. Log on to the Recovery Console (see the Nano Server Recovery Console section in this guide), using the administrator and password you supplied while running the script in Step 3.

Читайте также:  Установщик для windows 10 usb

Агент восстановления поддерживает только базовые функции клавиатуры. The Recovery Console only supports basic keyboard functions. Индикаторы клавиатуры, добавочные панели на 10 клавиш и переключение раскладки клавиатуры (например, клавиши CAPS LOCK и NUM LOCK) не поддерживается. Keyboard lights, 10-key sections, and keyboard layout switching such as caps lock and number lock are not supported.

Получите IP-адрес виртуальной машины Nano Server и используйте удаленное взаимодействие Windows PowerShell или другое средство удаленного управления, чтобы подключиться к виртуальной машине и управлять ею удаленно. Obtain the IP address of the Nano Server virtual machine and use Windows PowerShell remoting or other remote management tool to connect to and remotely manage the virtual machine.

Nano Server на физическом компьютере Nano Server on a physical computer

Можно также создать виртуальный жесткий диск, который будет запускать Nano Server на физическом компьютере, используя предварительно установленные драйверы устройств. You can also create a VHD that will run Nano Server on a physical computer, using the pre-installed device drivers. Если для загрузки или подключения к сети оборудованию требуется драйвер, который еще не предоставлен, выполните действия, описанные в разделе «Добавление дополнительных драйверов» этого руководства. If your hardware requires a driver that is not already provided in order to boot or connect to a network, follow the steps in the Adding Additional Drivers section of this guide.

Быстрое развертывание Nano Server на физическом компьютере To quickly deploy Nano Server on a physical computer

Скопируйте папку NanoServerImageGenerator из папки \NanoServer ISO-образа Windows Server 2016 в папку на жестком диске. Copy NanoServerImageGenerator folder from the \NanoServer folder in the Windows Server 2016 ISO to a folder on your hard drive.

Запустите Windows PowerShell с правами администратора, перейдите в папку, куда скопировали NanoServerImageGenerator, а затем импортируйте модуль с помощью команды Import-Module .\NanoServerImageGenerator -Verbose Start Windows PowerShell as an administrator, change directory to the folder where you have placed the NanoServerImageGenerator folder and then import the module with Import-Module .\NanoServerImageGenerator -Verbose

Может потребоваться настроить политику выполнения Windows PowerShell. You might have to adjust the Windows PowerShell execution policy. Set-ExecutionPolicy RemoteSigned должен подойти. Set-ExecutionPolicy RemoteSigned should work well.

Создайте виртуальный жесткий диск, который задает имя компьютера и включает драйверы OEM и Hyper-V, выполнив указанную ниже команду, при этом вам будет предложено ввести пароль администратора для нового виртуального жесткого диска: Create a VHD that sets a computer name and includes the OEM drivers and Hyper-V by running the following command which will prompt you for an administrator password for the new VHD:

New-NanoServerImage -Edition Standard -DeploymentType Host -MediaPath

-BasePath .\Base -TargetPath .\NanoServerPhysical\NanoServer.vhd -ComputerName -OEMDrivers -Compute -Clustering , где: New-NanoServerImage -Edition Standard -DeploymentType Host -MediaPath

-BasePath .\Base -TargetPath .\NanoServerPhysical\NanoServer.vhd -ComputerName -OEMDrivers -Compute -Clustering where

указывает путь к корню содержимого ISO-образа Windows Server 2016. -MediaPath

specifies a path to the root of the contents of the Windows Server 2016 ISO. Например, если вы скопировали содержимое ISO в d:\TP5ISO, следует использовать этот путь. For example if you have copied the contents of the ISO to d:\TP5ISO you would use that path.

-BasePath задает папку, которая создается для копирования пакетов WIM-файла Nano Server. BasePath specifies a folder that will be created to copy the Nano Server WIM and packages to. (Этот параметр необязателен.) (This parameter is optional.)

TargetPath указывает путь, включая имя файла и расширение, для создания итогового VHD или VHDX. TargetPath specifies a path, including the filename and extension, where the resulting VHD or VHDX will be created.

Читайте также:  Архитектура операционной памяти linux

Computer_name — это имя компьютера для создаваемого Nano Server. Computer_name is the computer name for the Nano Server you are creating.

Пример: New-NanoServerImage -Edition Standard -DeploymentType Host -MediaPath F:\ -BasePath .\Base -TargetPath .\Nano1\NanoServer.vhd -ComputerName Nano-srv1 -OEMDrivers -Compute -Clustering Example: New-NanoServerImage -Edition Standard -DeploymentType Host -MediaPath F:\ -BasePath .\Base -TargetPath .\Nano1\NanoServer.vhd -ComputerName Nano-srv1 -OEMDrivers -Compute -Clustering

Этот пример создает виртуальный жесткий диск из ISO-образа, подключенного как F:\. This example creates a VHD from an ISO mounted as F:\. При создании виртуального жесткого диска он будет использовать папку с именем Base в том же каталоге, где был запущен New-NanoServerImage. Виртуальный жесткий диск помещается в папку Nano1 внутри папки, из которой выполняется команда. When creating the VHD it will use a folder called Base in the same directory where you ran New-NanoServerImage; it will place the VHD in a folder called Nano1 in the folder from where the command is run. Имя компьютера будет иметь значение Nano-srv1, для него будут установлены драйверы OEM к наиболее распространенному оборудованию, а также включена роль Hyper-V и функция кластеризации. The computer name will be Nano-srv1 and will have OEM drivers installed for most common hardware and has the Hyper-V role and clustering feature enabled. Для Nano Server используется выпуск Standard. The Standard Nano edition is used.

Войдите в качестве администратора на физический сервер, где вы хотите запустить виртуальный жесткий диск Nano Server. Log in as an administrator on the physical server where you want to run the Nano Server VHD.

Скопируйте виртуальный жесткий диск, созданный этим сценарием, на физический компьютер и настройте загрузку с этого нового виртуального жесткого диска. Copy the VHD that this script creates to the physical computer and configure it to boot from this new VHD. Для этого выполните следующие действия: To do that, follow these steps:

Подключите созданный виртуальный жесткий диск. Mount the generated VHD. В этом примере он подключен как D:\. In this example, it’s mounted under D:\.

Выполните команду bcdboot d:\windows. Run bcdboot d:\windows.

Отключите виртуальный жесткий диск. Unmount the VHD.

Загрузите физический компьютер с виртуального жесткого диска Nano Server. Boot the physical computer into the Nano Server VHD.

Войдите в агент восстановления (см. раздел «Агент восстановления Nano Server» этого руководства) с помощью имени администратора и пароля, указанных при выполнении скрипта на шаге 3. Log on to the Recovery Console (see the Nano Server Recovery Console section in this guide), using the administrator and password you supplied while running the script in Step 3.

Агент восстановления поддерживает только базовые функции клавиатуры. The Recovery Console only supports basic keyboard functions. Индикаторы клавиатуры, добавочные панели на 10 клавиш и переключение раскладки клавиатуры (например, клавиши CAPS LOCK и NUM LOCK) не поддерживается. Keyboard lights, 10-key sections, and keyboard layout switching such as caps lock and number lock are not supported.

Получите IP-адрес компьютера Nano Server и используйте удаленное взаимодействие Windows PowerShell или другое средство удаленного управления, чтобы подключиться к виртуальной машине и управлять ею удаленно. Obtain the IP address of the Nano Server computer and use Windows PowerShell remoting or other remote management tool to connect to and remotely manage the virtual machine.

Оцените статью