You are on page 1of 11

SIR PADAMPAT SINGHANIA UNIVERSITY

(CT-3003)
Server Administration Lab file
M.INDRASENA REDDY
19CS002210
CSE (CTIS)

s.no Experiments
1 Installation of virtual box
2 Installation of window server 2016
3 Configuring of windows server 2016
4 Configuring networking and network services
5 Windows scripting and command line in WS 2016
6 Creating user and group account
7 Active directory, Domain services, Domain control
EXPERIMENT -1
AIM : Installation of virtual box
Steps:-
1. Download the latest version of VirtualBox from the Virtual Box
website, according to the version of your operating system
Windows, Mac or Linux.
2. Click on the downloaded file and open it
3. Click on next button for continuing to install
4. Custom setup appear click on next button
5. Again custom set up box appear check the required box and click
on next
6. Click on yes button for continuing installation
7. Click on install button as it is ready to install (custom
installations)
8. Now click on finish button (to exist custom setup wizard)
9. After completion of installation process the virtual box window
get opened.

Installation of virtual box on your physical machine is done.


EXPERIMENT - 2
AIM: Installation of Windows Server 2016 and configuring post
installation
Steps:-
1. Download the windows server 2016 ISO file from internet which is a
Microsoft product
2. Click on the downloaded file
3. Windows setup page appears as we continue with English language click
on next button
4. Now click on install now button to start the installation process.
5. Select the appropriate version of the windows server that meets your
organization’s needs then click Next. Make sure that you’ve chosen an
appropriate edition of Windows server. We select last option i.e. desktop
experience
6. Put a check mark in the box next to the I accept license terms and click on
the Next button.
7. Select the Custom: Install Windows only (advanced) option for clean
installation
8. Select the hard drive that you want to install the windows server on, then
click on the New button to do the partitions.
9. After clicking on the New button, some options appear. Specify the amount
of the drive based on MB and click on the Apply button. A warning
appears which wants you to give the permission to system to create a drive
for system files. Click on ok button, and click on next button
10. After clicking Next the System starts coping all the files from the external
drive to internal hard drive. It will take some time.
11.When the system copied all the files and restarted, finalize your task by
entering the required details. Type password twice in the boxes and click on
the Finish button
12. Press Ctrl+Alt+Del buttons to jump start the screen to a login page and
inside the box below the administrator user name, enter the password and
press Enter button from the keyboard to sign in the Windows
13. after logging in we are ready to perform task
Installation of window server 2016 is done

EXPERIMENT - 3
Aim: Configuring of windows server 2016
1. Start virtual box and we can find windows server 2016 is
off state
2. To configure it click on setting in general tab we can find
Basic, advanced, description, and Disc encryption, in
advanced option we can find shared clipboard and drag
and drop which were in disabled state we can enable it to
bidirectional.
3. In System tab we find motherboard, processor,
acceleration button here we can change base memory for
better performance minimum 4gb memory required
i.e.4096 mb, in processor we can increase/decrease
number of processors max 4cpu can be allotted and min
1cpu.
4. In Network tab we find adapter (1,2,3,4,) in adapter 1 we
can change attached to by default it is NAT for accessing
we change to Bridge adapter and click on ok button
5. Shared folder tab, here we ca add path for folders to be
shared with virtual os and host system
6. For managing server and configuring it click on start
7. We use server manager application, enter user name and
password and log in.
8. Server manager starts automatically to stop it
Managed aap →properties→ do not start automatically
9. change host name and system information like time zone
,romote operations, properties etc. this can be done via
system info
EXPERIMENT - 4
AIM: Configuring networking and configure network services for
windows server 2016
1. open virtual machine
2. click on settings and check whether adapter configured or not if not
change it to bridge adapter
3. click on start (window server 2016) and check for internet status
whether running or not.
4. Setting via GUI, we will take private IP address,
5. Right click on the network icon on task bar and select open network
and sharing setting.
6. Select change adapter setting
7. Right click the adapter you are about to change the IP settings and
then click on properties.
8. Click internet version 4(TCP/IPv4) click on properties button
9. Here enable use the following Ip address and enter the static IP
address for the server, subnet mask default gateway and DNS
10. 192.168.0.100 is preconfigured IP address, so no internet is
required to access it. It can either be the assigned IP for device on
the network
CONFIGURING NETWORK USIG POWERSHELL

1. First, we need to identify the Interface Index number for the


network adapter we want and then based on that, we will proceed
to set it up. By typing the Get-Net IP Configuration cmdlet you
can see the current IP settings of all the network adapters of the
machine. Note the Interface Index. Alternatively, type the Get-Net
Adapter cmdlet to see the available network adapters. Note the
number again in if Index
2. To set the IP address, the Subnet (Prefix Length) and the Default
Gateway, type the following command by changing the addresses
according to your own network. New-Net IP Address -Interface
Index 2 -IP Address 192.168.2.100 -Prefix Length 24 -Default
Gateway 192.168.2.1
3. To set up DNS servers, use the following Set-Dns Client Server
Address command. Set-Dns Client Server Address -Inter face
Index 2 -Server Addresses 192.168.2.10, 192.168.2.11
4. You can use the Get- cmdlet again to confirm that it has declared
the correct settings
C. Configure network settings using the S Config tool

Configure network settings using the SConfig tool

1. For a more interactive process, you can use the S Config tool
through PowerShell. Type S Config and press Enter.
2. To change the network settings, type the number 8 that
corresponds to Network Settings. Type the index number of the
adapter you want to set up.
3. Then use Options 1 and 2 to set the IP address, Subnet Mask,
Default Gateway, and the adapter’s DNS servers.

Configure network settings using the Command Prompt

1. we will use the netsh command.


2. First, run the following command to note the name of the
adapter you are going to set up. In our case is Ethernet0. netsh
interface ipv4 show config
3. First, run the following command to note the name of the
adapter you are going to set up. In our case is Ethernet0. netsh
interface ipv4 show config To change your IP address, Subnet
Mask and Default Gateway, type the following command by
changing the addresses according to your own settings netsh
interface ipv4 set address name = "INTERFACE NAME" static
IP_ADDRESS SUBNET_MASK GATEWAY
4. For example, it will be something like this. netsh interface ipv4
set address name = "Ethernet0" static 192.168.2.100
255.255.255.0 192.168.2.1
5. Next, to configure the Primary DNS Server, use the following
command. netsh interface ipv4 set dns name = "INTERFACE
NAME" static DNS_SERVER
6. For example, it will be something like this. netsh interface ipv4
set dns name = "Ethernet0" static 192.168.2.10
7. To configure the Secondary DNS Server, use the following
command. netsh interface ipv4 set dns name = "INTERFACE
NAME" static DNS_SERVER index = 2
8. Similarly to the previous example. netsh interface ipv4 set dns
name = "Ethernet0" static 192.168.2.11 index = 2 Finally, you
can use the first command again to confirm that your settings
are correct
EXPERIMENT - 5

AIM: Windows scripting and command line in windows server 2016


1. Start virtual machine, and start server.
2. Open commakinmand prompt
3. “Exit” command which make exist from command prompt.
4. “dir” command lists the directories of current folder.
5. “clac” – to open calculator.
6. “taskmgr”- to open task manager.
7. “notepad”- to open note pad.
8. Echo “ramakrishna” – to display my name.
9. Mspaint- to open paint

Making bash file

1. open note pad and write all require command and save this file
with the extension of .bat
EXPERIMENT - 6

Aim : creating user and group account.


Steps:-
1. open virtual box. And start the server
2. click on start button and select server manager
3. on right corner we find tool tab click on it and select computer
management here we can open new user and group account.
4. (2nd method): right click on start button and select computer
management.
5. In computer management we find local user and groups
6. Click on it we find user and group folders.
7. When we open user folder pre 3 users were created
[administrator, default account, guest]
8. Similarly in groups folder we have some pre created accounts
(23)
9. To create new user select user folder and right click on it and
select “new user” a new window pop up to fill details of new
user like user name , full name , description etc.and click on
close button
Creating new group
1. Right click on group fo;der a new window pop up enter the
required data like grp name , description, and grpmembers.and
click on close hence new group created.
EXPERIMENT - 7
Aim: Active directory installation, Domain services, and Domain
control
Steps:-
1. Press the Start Menu button and click on the Server Manager icon
which is the management tool in Windows Server 2016.
2. Active Directory Domain Services is a Windows Server role.
Click on Add Roles and features option to install the role.
3. In the Before you begin you have nothing to do. Click
on Next button. In the Select Installation Type page, Select
the Role-based or Feature-based Installation option.
Click Next on button.
4. Select a server from the server pool option selected. Specify the
server that you want to install the role on, from the Server Pool.
Click on Next button
5. Select the Active Directory Domain Services role. A new
windows opens and ask you to install management tools.
Installing AD DS role, you just install the core services. Click
on Add Features button to install management tools. then click
on Next button.
6. In the Feature page, you got nothing to do. Just click
on Next button. In the Active Directory Domain Services page
you can read some information about AD DS. Click
on Next button to move in the next page.
7. confirm the selection by clicking on the install button. After the
installation of the role, the server needs to be rebooted. You can
restart it manually or let the system decide by putting the mark
on Restart the destination server automatically if required option.
Click on Install button to start the installation.
8. Complete cmdlet: Install-Windows Feature AD-Domain-
Services

9. After typing the cmdlet press the Enter button.

You might also like