+84.903832668
admin@technet.vn

Single Blog Title

This is a single blog caption
16 Jun 2017

70-743 Lab: Module 1 – Installing and configuring Nano Server 2016

/
Posted By
/
Comments0
/

Note: for this Lab, you should have

01 – Client

02 – DC server 2016 including Windows Server 2016 installation disk

03 – 1 Nano server (which will be created later)

Scenario

You are responsible for implementing many of the new features in Windows Server 2016. To become familiar with the new operating system, you decide to install a new server running Windows Server 2016 and complete the post-installation configuration tasks.

Exercise 1: Installing Nano Server

u  Task 1: Copy the required Windows PowerShell scripts

1.      Switch to LON-DC1.

2.      Right-click Start, and then click Windows PowerShell (Admin).

3.      In the Windows PowerShell window, type cd\, and then press Enter.

4.      In the Windows PowerShell window, type md Nano, and then press Enter.

5.      In the Windows PowerShell window, type the following command, and then press Enter.

copy d:\NanoServer\NanoServerImageGenerator\*.ps* c:\nano

u  Task 2: Import Windows PowerShell modules

  • In the Windows PowerShell window, type the following command, and then press Enter.

Import-Module c:\nano\NanoServerImageGenerator.psm1

u  Task 3: Create a virtual hard disk

1.      In the Windows PowerShell window, type the following command, and then press Enter.

new-NanoServerImage -Edition Standard -mediapath D:\ -Basepath c:\nano -targetpath c:\nano\nano-svr1.vhdx -DeploymentType Guest -computername NANO-SVR1 -storage -packages Microsoft-NanoServer-IIS-Package

2.      At the AdministratorPassword prompt, type Pa$$w0rd, Pa55w.rd and then press Enter.

3.      When the process is completed, on the taskbar, click File Explorer, navigate to C:\Nano, and then examine the files listed. Verify that nano-svr1.vhdx exists.

Note: Normally, you would now create a virtual machine to use the nano-svr1.vhdx file. However, to expedite the process, you will start a virtual machine that has already been created.

u  Task 4: Sign in to the NANO-SVR1 virtual machine

1.      On NANO-SVR1, in the User name box, type Administrator, and then press the Tab key.

2.      In the Password box, type Pa$$w0rd, and then press Enter.

Exercise 2: Completing post-installation tasks on Nano Server

u  Task 1: Use the Nano Server Recovery Console to view basic settings

1.      On NANO-SVR1, in the Nano Server Recovery Console, observe that the computer name is Nano-Svr1 and that the computer is in a workgroup. Press the Tab key until Networking is selected, and then press Enter.

2.      Press Enter on the Ethernet adapter. In Network Adapter Settings, notice that DHCP is obtaining the IP configuration.

3.      Make a note of the IP address.

4.      Press Esc twice.

u  Task 2: Add Nano Server to the domain

1.      Switch to LON-DC1.

2.      Switch to the Administrator: Windows PowerShell window.

3.      At the command prompt, type the following cmdlet, and then press Enter.

djoin.exe /provision /domain adatum /machine nano-svr1 /savefile .\odjblob

Note: Replace the IP address 172.16.0.X in the following commands with the IP address that you recorded earlier from your Nano Server installation.

4.      At the command prompt, type the following cmdlet, and then press Enter. Your IP address might be different.

Set-Item WSMan:\localhost\Client\TrustedHosts “172.16.0.X”

5.      Type Y, and when prompted, press Enter.

6.      At the command prompt, type the following cmdlet, and then press Enter. Your IP address might be different.

$ip = “172.16.0.X”

7.      At the command prompt, type the following cmdlet, and then press Enter.

Enter-PSSession -ComputerName $ip -Credential $ip\Administrator

8.      In the Windows PowerShell credential request dialog box, in the Password box, type Pa$$w0rd, and then click OK.

9.      At the command prompt, type the following cmdlet, and then press Enter.

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=yes

10.   At the command prompt, type the following cmdlet, and then press Enter.

Exit-PSSession

11.   At the command prompt, type the following command, and then press Enter. Your IP address might be different.

net use z: \\172.16.0.X\c$

12.   At the command prompt, type Z:, and then press Enter.

13.   At the command prompt, type the following command, and then press Enter.

copy c:odjblob

14.   At the command prompt, type the following cmdlet, and then press Enter.

Enter-PSSession -ComputerName $ip -Credential $ip\Administrator

15.   In the Windows PowerShell credential request dialog box, in the Password box, type Pa$$w0rd, and then click OK.

16.   At the command prompt, type cd\, and then press Enter.

17.   At the command prompt, type the following cmdlet, and then press Enter.

djoin /requestodj /loadfile c:\odjblob /windowspath c:\windows /localos

18.   At the command prompt, type the following cmdlet, and then press Enter. Nano Server restarts.

shutdown /r /t 5

19.   Switch to NANO-SVR1.

20.   In the User name box, type Administrator, and then press the Tab key.

21.   In the Password box, type Pa$$w0rd and then press Tab.

22.   In the Domain box, type Adatum, and then press Enter.

23.   In the Nano Server Recovery Console, observe that the computer is in the adatum.com domain.

u  Task 3: Use Windows PowerShell to configure the Nano Server settings

1.      Switch to LON-DC1, and then close Windows PowerShell.

2.      Right-click Start, and then click Windows PowerShell (Admin).

3.      At the command prompt, type the following cmdlet, and then press Enter.

get-windowsfeature –comp Nano-svr1

4.      At the command prompt, type the following cmdlet, and then press Enter.

install-windowsfeature Fs-fileserver –comp Nano-svr1

Note: If you see error “Warning: Failed to start automatic updating for installed components. Error: 0x80040154” you can ignore this.

5.      At the command prompt, type the following cmdlet, and then press Enter.

get-windowsfeature –comp Nano-svr1

6.      At the command prompt, type the following cmdlet, and then press Enter. Substitute the X for the last octet of the IP address on the Nano server.

$ip = “172.16.0.X”

7.      At the command prompt, type the following cmdlet, and then press Enter.

Enter-PSSession -ComputerName $ip -Credential $ip\Administrator

8.      In the Windows PowerShell credential request dialog box, in the Password box, type Pa$$w0rd, and then click OK.

9.      At the command prompt, type the following cmdlet, and then press Enter.

get-netipaddress

10.   At the command prompt, type the following cmdlet, and then press Enter.

bcdedit /enum

11.   At the command prompt, type the following cmdlet, and then press Enter.

net share

12.   At the command prompt, type the following cmdlet, and then press Enter.

Exit-PSSession

u  Task 4: Enable remote management with Server Manager

1.      On LON-DC1, in Server Manager, in the navigation pane, right-click All Servers, and then click Add Servers.

2.      In the Add Servers dialog box, in the Name (CN): box, type Nano-SVR1, and then click Find Now.

3.      In the Name list, click Nano-svr1, and then to add the computer to the Computer list, click the right arrow key.

4.      Click OK.

5.      In Server Manager, expand File and Storage Services.

6.      Click Shares, and then in the TASKS list, click New Share.

7.      In the New Share Wizard, click SMB Share – Quick, and then click Next.

8.      On the Select the server and path for this share page, in the Server list, click nano-svr1, and then click Next.

9.      On the Specify share name page, in the Share name box, type Data, and then click Next.

10.   To complete this installation, click Next twice, and then click Create.

11.   Click Close.

u  Task 5: Test the file server and web server on Nano Server

1.      On LON-DC1, switch to the Administrator: Windows PowerShell window.

2.      At the command prompt, type the following command, and then press Enter.

net use z: /d

3.      At the command prompt, type the following command, and then press Enter.

net use z: \\Nano-svr1\c$

4.      Click Start, type Notepad, and then press Enter.

5.      In Notepad, type <H1> Nano Server Website </H1>.

6.      Click File and then click Save As.

7.      In the Save As dialog box, in the File name box, type z:\Inetpub\wwwroot, and then press Enter.

8.      In the Save as type list, click All Files.

9.      In the File name box, type Default.htm, and then click Save.

10.   Close Notepad.

11.   Click Start, click All apps, click Windows Accessories, and then click Internet Explorer.

12.   Navigate to http://nano-svr1. Does your webpage display?

13.   Close Windows Internet Explorer.

14.   On LON-DC1, at the command prompt, type the following command, and then press Enter.

net use y: \\nano-svr1\data

15.   Type cmd, and then press Enter.

16.   Type write, and then press Enter.

17.   In WordPad, type This is my document, click File, and then click Save.

18.   In the Save As dialog box, in the File name box, type Y: , and then press Enter.

19.   In the File name box, type My document, and then click Save.

20.   In File Explorer, navigate to data (\\nano-svr1) (Y:). Is your file listed?

Leave a Reply