Tuesday, April 6, 2021

Windows Server 2019 Standard / Data

  Installation:

Language to install: English

Time and Currency format: English (United States)

Keyboard or input method: US

Then click on next

Click Install Now

Select the operating system you want to install 

Windows Server 2019 Data Center (Desktop Experience)

Applicable notices and license terms

tick I accept yhr license terms then next

Which of installation fou you want

custom: Install windows only (advanced)

new ---size[30720]  apply ---ok

next

Installing Windows

. copying windows files (1.10%)

. getting files ready for installation (1......100%)

Restart

Customizing

username:Administrator

password:surkhet1@

Reenter password: surkhet1@


Server manager

change computer name

click on computer Name:

computer description:

apply ---ok---restart

Etherenet

unselect IPv6

IP address:10.0.0.11

subnet:255.0.0.0

default gateway:10.0.0.1

preferred DNS:10.0.0.1

ok

Remote Management Enable

Time Zone :


Active Directory Domain Services(ADDS)

DC: Domain Controller

ADC: Additional Domain Control

CDC: Child Domain Controller

GCDC: Grand Child domain controller

RODC: Read only Domain controller


These collection (DC, ADC, CDC, GCDC, RODC ) called forest and tree are DC, ADC, CDC, GCDC, RODC


Active Directory Domian Services

DC-----adarsh.com

Lab:

server manager

 Dashboard

1. confuigure this local server

2. add roles and features

Before you begin--->next

Install type...> Role based or feature base installation ----->next

server selection:next

server roles: tick Active Directory Domain services

click on add features......>nxt

Features (select group policy if not selected) otherwise select nothing....>ADDS--->next....>confirmation...Install

click on close

yellow warning sign on right side

click on promote this server to a domain controller

Deployment configuration

configure domain controller DC 

add a new forest

Root domain Name :adarsh.com--->next

password:Surkhet1!  

password: Surkhet1!

click next

DNS options...click next

Additional options

The NETBIOS Domain Name ......ADARSH  (Notice..it will automatically appear )

click next

Path

Database folder

Log file folder

sysvol folder then click next

Review option: click next

Prerequisites check..

Installation..click on install.restart will happen.

To check....

Server Manager...local server.....check domain......adarch.com[the domain u created]

 Creating users and groups and joining Domain 

1) user------powershell-----OU

2) group

3) User Signin (authentication)

4) Domian Join 


Dashboard ...on right side------tools-----tick Active Directory Users and Computers or  from command.....gpedit

Under  Active Directory Users and Computers [santoshsp.adarsh.com]

click adarsh.com.........click users

To create a new user

click create a new user in the current container

First name:viraj 

user logon name: viraj..click next

password:Surkhet1@

policies: tick user must change password at next logon   click next......click finised

or right click on user...new ...users.....

To check

switch user

other user.....username:viraj   password:Surkhet1@

the users password must be changed before signing it.

New password:Surkhet1!

the sign-in method you're trying to use isn't allowed for more information contract your network administrator.

 


How to install Docker and Run Docker Container

 Manage-->Add roles and features-->Next->next-->next-->Server Roles (next)--> Features

tick container----->tick restart--->Install

In powershell:

c:\> install -Module DockerMsftprovider -force

Do you want :y

c:\> install -package -Name docker -providername

y

Name:  Docker    Version: 19.03.5     Source:  DockerDefault   Summay:Container Docker EE for use

restart

To verify Docker sucessfully:

c:\> Get-WindowsFeaures -Name container

c:\> docker --version

Docker version 19.0.03.5 build 2000CS7608

c:\> docker info

c:\>docker versionc:\>get-service docker      to see status

status :Running

c:\>docker run microsoft/dotnet-samples:dotnetapp-nanoserver-1809

Output: Hello from .NET core