windows server 2016 core on hyper-v 2016 · install and configure windows server 2016 core on...

Post on 13-Sep-2018

251 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Install and Configure Windows Server 2016 Core on Hyper-V 2016

Step by Step (V1.1)

Ahmed Abdelwahed Microsoft Certified Trainer

Ahmed_abdulwahed@outlook.com

Windows Server 2016 Core on Hyper-V 2016

2 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Contents Lab Scenario .............................................................................................................................................................................. 3

Working with Hyper-V ............................................................................................................................................................... 4

add Hyper-V role through PowerShell .................................................................................................................................. 4

add Virtual Switch to Hyper-V ............................................................................................................................................... 4

Install Server Core 2016 on Hyper-V ......................................................................................................................................... 5

Manage server 2016 Core locally ............................................................................................................................................ 14

Windows Server 2016 Initial Configuration ........................................................................................................................ 14

add IIS Role .......................................................................................................................................................................... 15

Manage Server Core 2016 Remotely ...................................................................................................................................... 16

Using GUI ............................................................................................................................................................................. 16

Using PowerShell ................................................................................................................................................................. 17

Using Remote Desktop ........................................................................................................................................................ 17

Windows Server 2016 Core on Hyper-V 2016

3 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Lab Scenario This lab provides basic information about:

1- Install and configure Hyper-V 2016 Server role.

2- Install Windows Server 2016 Core on Hyper-V and configure it locally and remotely.

In this lab, we have Active Directory and DNS in Windows Server 2016 named ITPROLABS.XYZ, for

this lab we join another Windows Server 2016 machine named Hyper-V01 to our domain, this

server will play Hyper-V server Role which host Windows Server core 2016.

Domain: ITPROLABS.XYZ

DC IP: 192.168.153.10

DNS: 192.168.153.10

Hyper-V01: 192.168.153.50

For full Windows Server 2016 active directory lab check the following link:

https://gallery.technet.microsoft.com/Install-Windows-Server-f37e3c6d?redir=0

Windows Server 2016 Core on Hyper-V 2016

4 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Working with Hyper-V Login to server that will play Hyper-V role.

Server name: Hyper-V01

IP address: 192.168.153.50

Domain: ITProLab.xyz

add Hyper-V role through PowerShell Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart

add Virtual Switch to Hyper-V Add external virtual switch so we can connect VMs that hosted in Hyper-V with other VMs

Windows Server 2016 Core on Hyper-V 2016

5 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Install Server Core 2016 on Hyper-V from Hyper-V01 server manager access Hyper-V management console and follow the below figures to install

Server Core 2016 VM.

Windows Server 2016 Core on Hyper-V 2016

6 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Windows Server 2016 Core on Hyper-V 2016

7 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Browse and select Windows Server 2016 ISO image to use it as installation source

Windows Server 2016 Core on Hyper-V 2016

8 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Connect to Server Core VM and start installation process

Windows Server 2016 Core on Hyper-V 2016

9 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Windows Server 2016 Core on Hyper-V 2016

10 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Select Windows Server 2016 Standard Core

Windows Server 2016 Core on Hyper-V 2016

11 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Windows Server 2016 Core on Hyper-V 2016

12 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Windows Server 2016 Core on Hyper-V 2016

13 | P a g e

http://www.mycertprofile.com/Profile/3992184764

After installation is done, change local administrator password (we need it to access our server for first time)

Windows Server 2016 Core on Hyper-V 2016

14 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Manage server 2016 Core locally

Windows Server 2016 Initial Configuration Login to server core using local administrator account, then use Sconfig to change server Initial Configuration like Server

name and network configuration, so we can join our server to ITPROLABS.XYZ domain.

Server Name: WebServer

IP address: 192.168.153.52

SM:255.255.255.0

DNS: 192.168.153.10

DG: 192.168.153.2

Windows Server 2016 Core on Hyper-V 2016

15 | P a g e

http://www.mycertprofile.com/Profile/3992184764

add IIS Role Type 15 to exit sconfig to command line mode then type PowerShell to access PowerShell mode. Through

PowerShell use the following command to install IIS server role

Install-WindowsFeature -name Web-Server -IncludeManagementTools -verbose

After IIS installation is done, you can access WebServer through web as shown down

Windows Server 2016 Core on Hyper-V 2016

16 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Manage Server Core 2016 Remotely Also, we can manage server core remotely as explained down:

Using GUI By adding server core to another GUI server manager as shown down, we added here through another server

that already joined to our domain ITPROLABS.XYZ.

now server core is added to another GUI server manager, so we can add and remove roles and features remotely

or configure some management tasks as shown down.

Windows Server 2016 Core on Hyper-V 2016

17 | P a g e

http://www.mycertprofile.com/Profile/3992184764

Using PowerShell By selecting PowerShell from the following down list.

Using Remote Desktop Also, you can contact and manage server core remotely through remote desktop, first we need to enable remote

desktop through Sconfig console as shown down:

Windows Server 2016 Core on Hyper-V 2016

18 | P a g e

http://www.mycertprofile.com/Profile/3992184764

From any server or PC run mstsc then access WebServer

Windows Server 2016 Core on Hyper-V 2016

19 | P a g e

http://www.mycertprofile.com/Profile/3992184764

top related