Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install and configure Nano Server

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

In Windows Server 2016, Microsoft released a new installation option-Nano Server. It has no local user interface, no 32-bit application support library, only the most basic configuration control. There is no support for remote desktops; in order to manage the system, you need to use a remote PowerShell connection.

Advantages:

A minimal footprint

Start fast, only a few seconds

Significantly faster than Windows Server or Server Core

Fewer updates

Smaller noodles

Reduced shutdown time

Fewer open ports

Management tools:

Powershell

MMC

Server Manager

System Center

Install Nano Server

Put the Windows Server 2016 system disk in the CD drive, or use the virtual CD drive to load the system ISO image, in the D:\ NanoServer\ NanoServerImageGenerator directory, where D is the letter of your CD drive or virtual CD drive. Copy 3 Powershell script files to the C:\ Nano directory. (note: this directory needs to be created by yourself to store Nano Server VHD files. )

Run Powershell as an administrator and enter "Import-module C:\ Nano\ NanoServerImageGenerator.psm1". (the C:\ Nano directory here is the directory where you just copied the files, and NanoServerImageGenerator.psm1 is one of the three files you just copied. )

If there is a "disable scripting on this system" error, use "Set-ExecutionPolicy" to select the appropriate Powershell scripting policy.

Run "New-NanoServerImage-Edition Datacenter-MediaPath D:\-BasePath c:\ nano-TargetPath c:\ nano\ NanoSvr.vhd-MaxSize 20GB-DeploymentType Guest"

The version of Edition:Nano Server, Standard edition or Datacenter edition

MediaPath: specifies the root path of the Windows Server 2016 installation disk or installation image

BasePath: specify a local path to store the files generated during the creation of Nano Server, such as Packagers,Nano Server.wim, etc.

The full path and file name of the TargetPath:Nano Serve disk, the file extension VHD is used for the first generation virtual machines, and VHDX is used for the second generation virtual machines.

MaxSize: maximum capacity of virtual disk

DeploymentType: specifies whether the image file should be used for hyper-v virtual machines (Guest) or physical servers (hosts).

Note: in the process of creating the quota, you will be asked to enter "AdministratorPassword". This is the administrator password of your Nano Server, and the user name is "Administrator".

You can add some other parameters to customize your Nano Server, such as:

ComputerName: the computer name assigned to this Nano Server

InterfaceNameOrIndex: the name or index number of the network adapter

The address of Ipv4Address:IPv4

Ipv4SubnetMask: subnet mask of IPv4

Default gateway for Ipv4Gateway:IPv4

DNS of Ipv4Dns:IPv4

Create a virtual machine, select "use existing virtual hard disk" on the connect virtual hard disk page, and select the virtual disk of the previously created Nano Server through "browse".

Open the virtual machine and log in to the system with your Administrator account and password. At this time, Nano Server does not join the domain, so you do not need to enter the following Domain. Enter the user's life password and press enter to enter the system.

Configure Nano Server

After entering the system, we can make some simple configurations to the system, such as

Networking: configuring the network

Inbound Firewall Rules and Outbound Firewall Rules: inbound and outbound rules for firewalls

Up/Dn: move the cursor up and down

ESC: return to the previous page, where (home page) is logged out

F5: refresh

Ctrl + F6: restart

Ctrl + F12: shutdown

Enter: select OK

Select Networking to configure the network and select the network card

Here is some information about the network card, such as MAC,IP, etc. You can configure IPv6 through F11 configuration IPv4,F12

The default is the IP address obtained through DHCP. If you want to change it to manual, select F4.

At this point, the status of DHCP becomes Disable. Enter IP, subnet and default gateway below, and save it through Enter.

Confirm to save? Continue Enter

Continue through Enter or ESC and return to the network adapter settings page

Select a firewall rule

Select the firewall rule you want to modify

Modify the state of Enable through F4, Yes/No

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report