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

Window Server 2016 Server Core

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Installing Server Core

When you install Windows Server 2016, go to the "Select The Operating System You Want To Install" page of the Windows Installation Wizard, and everything else is the same as the Desktop Experience installation.

Note: In Windows Server 2016, you cannot add or remove GUI elements after installing the operating system, and there is no minimum server interface option.

Run Server Advantages of using the Server Core option:

save hardware resources

Reduce hard disk space

Fewer updates

Reduce *** face

Configuring Server Core

Network configuring

Enter Powershell in CMD window to invoke Powershell session

View the interface index (ifIndex) by using the Get-NetAdapter command

Configure IP addresses using New-NetIPAddress:

InterfaceIndex: Identify the network adapter to configure for this computer, using the index number displayed by the Get-NetAdapter command

ipaddress: Specifies the IP address to assign to this network adapter

prefixlength: Specifies the subnet mask value for this network adapter. This number specifies the number of IP addresses in the network, for example, a prefixlength value of 24 indicates a subnet mask value of 255.255.255.0

defaultgateway: Specify this IP address as the local routing address for computers to access other networks

Configure DNS addresses using Set-DnsClientServerAddress

ServerAddress: Specifies the DNS Server address to assign to this network adapter. If there are two, use "," to separate them.

Add and Remote Computer for the domain

Use Add-Computer to rename the computer and join the domain

In the pop-up window, enter the user name and password with relevant permissions;

domainname: Specify the domain name you want to join the computer to

newname ( Options): Specify a new computer name

credential: Specifies the user account with permission to join the domain

After joining the domain, you can restart your computer using the shutdown command

shutdown /r

Use the Remote-Computer command to exit the domain:

In the pop-up window, enter the user name and password with relevant permissions, and then select OK;

In Do you wish to continue, type Y and enter;

Rename Computer

Use the HostName.exe command to view the computer name

Then rename the computer using the HostName.exe command and type Y in Do you want to proceed, then Enter;

Using remote PowerShell

In Windows Server 2016, the Windows Remote Management (WinRM) service is turned on by default, so you can create a remote Powershell session using the New-PsSession command.

Once you have created the session, you can connect using the Enter-PsSession command, specifying the session ID you just created

To end the remote session and return to the local Powershell, run the Exit-PsSession command or type exit. (This session is still valid, just re-establish it with the Enter-PsSession command.)

Terminate the session by running Disconnect-PsSession

Some general configurations, you can also use sconfig to open the Server Configuration window for configuration

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