In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Deploy Nano Server in a virtual machine
Unpack the downloaded Windows Server 2016 installation ISO, and you can see that there is a NanoServer directory that contains the files needed to customize the Nano image.
There are two subdirectories and a WIM file in this directory, do not change the name at will, including the Nanoserver root directory, because the names of these directories are defined in the script that makes the image, and if you change the directory name or file name without modifying the script, the final generation of the image will fail.
Open the NanoServerImageGenerator directory, and here you can see the script used to generate the image. Open Powershell and navigate to this directory.
Import a module using the Import-Module command
Use New-NanoServerImage to generate the VHD file needed for NanoServer, and add-verbose to see the process of generating the image
-mediapath: specify the upper path of the nanoserver
-basepath: specify the directory as the temporary VHD generation path
-deploymentType: guest virtual machine
Notice the generation process, which shows that the VHD is generated in the temporary directory, the VHD is loaded to disk E, and the command to create a boot entry is included in the star of disk E. in short, the VHD is a bootable virtual disk file.
In addition, you can also see that after the boot is done, DIMS is used for customization of this VHD, including domain configuration, driver loading, optional function loading, and some data import, which can be controlled through the unattend.xml file, this step and the regular version of windows server should be the same, we will look at this customization in the future.
When you are finished, the VHD file is actually a system disk, and you can create a virtual machine to mount the VHD file.
Start the virtual machine and enter the NanoServer in seconds.
After entering the system, you can see the most basic information and do a network initialization. Later, we will slowly discuss how to manage NanoServer.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.