0% found this document useful (0 votes)
5 views61 pages

Systems Programming Lab (1)

The document outlines a series of lab activities for system programming involving the installation of Windows Server 2016 and Windows 10 using Oracle Virtual Box. It provides step-by-step instructions for creating virtual machines, configuring network settings, and managing IP addresses, as well as performing tasks such as checking system performance and creating backups. Additionally, it includes troubleshooting tips for connectivity issues between the virtual machines.

Uploaded by

samisir146
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views61 pages

Systems Programming Lab (1)

The document outlines a series of lab activities for system programming involving the installation of Windows Server 2016 and Windows 10 using Oracle Virtual Box. It provides step-by-step instructions for creating virtual machines, configuring network settings, and managing IP addresses, as well as performing tasks such as checking system performance and creating backups. Additionally, it includes troubleshooting tips for connectivity issues between the virtual machines.

Uploaded by

samisir146
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

System Programing Lab

Requirements:

Oracle Virtual Box


Windows Server 2016/2022 iso image
Windows 10 iso image
Lab Activity1

Installation of Windows Server 2016 (DatacenterEdition)

• We will install Datacenter edition with Desktop/GUI support

Step 1: Click on Machine and Select New from the menu bar.

Step 2: Create a new Virtual Machine by giving a specific Name


“WS16DCDesktop”

and follow the given setting.


Step 3: Allocate the RAM size of 2GB for WS2016.
- Check your computer RAM size. To make the installation fast,
youcan allocate 30% - 35% RAM of your computer total RAM
size.
Note: If you allocate more than 50% of your computer total RAM to
theguest OS. Your system will crash or suspend.

Step 4: Create the virtual Hard Disk (HD) size of 32GB for WS2016. Select
2nd option.
- If you have existing hard disk, you can choose 3rd option.
- If you want to create HD later on, you can choose 1st option.
Step 5: There are three type of virtual Hard Disk we can choose. In our
installation we will choose 3rd VMDK option because the file can be
use/open/run in any type of Virtual Machine tool such as VMware,
Hyper-V and etc.
Step 6: Select “Dynamically allocated” option and click on Next

Step 7: Change the size to 32GB and click on “Create” button.

Virtual Machine has been successfully created and now we need to add
theISO/Image file to start the installation process. You can view it on
your Leftside.

Step 8: Right click on the machine and go to “Setting” and click on


“Storage” and then choose Windows Server 2016 image/ISO file (where
you have saved) location on your computer.
After selecting the ISO/Image file, it will appear as following:

Step 9: Go to Virtual Machine Setting, click on “Network” and choose


“Internal Network” and click OK. Now we are ready to start our
installationprocess.

Step 10: Select the WS2016 virtual machine and click on the Start
buttonfrom the top menu bar.
Now the installation process has started and Windows files are loading
andcopying.

Step 11: Select the language preference and click on “Next”.

Step 12: Click on the “Install now” button. Select the last option
“WS2016Datacenter Evaluation (Desktop)” and select Next.
Click on the Check Box to accept the license terms on the next screen
andClick
“Next”.
Step 13: Click on “Custom Install” to install a fresh copy. If you are
upgrading, click on “Upgrade” option.

Step 14: Select the Disk and click on the “Next”. The Installation process
has been started.
The installation process will take some time and your virtual machine will
restart few times. Wait till it loads the Windows Server logo and ask you
to add Administrator Password. Don’t press any button yet.

Add the following Password and click Finish.


Note: in the following password “0” is zero. Type carefully.
- User name: Administrator
- Password: Pa$$w0rd

You have successful installed the Windows Server 2016 and now
youabout to login.
Click on INPUT and Keyboard and then Insert Ctrl+Alt+Del and Enter your
Password (you have created just now) for login to the Windows Server.
Welcome to Windows Server 2016.
The following is Server Manager tool which allow you to edit and
manageyour tasks and services on the Windows Server 2016.

Close your machine and click on the “Power off the machine”.
Lab Activity 2: Installation of Windows 10 (Client)

Please download Window 10 Evaluation Copy from the given link:


https://www.microsoft.com/en-us/evalcenter/evaluate-
windows-10-enterprise
Create a New Virtual Machine, add the “W10” ISO file, change the
Network Card/Adapter setting to “Internal Network” and start the
Windows 10 setup.
o You can follow steps from the previous lab.

Once the Virtual Machine is ready click on the Start button


Windows 10
Installation Setup will Run.
Keep the default setting and Click on the Next button.
Click on the Install Now button.
SETUP will start.
Click on the Check Box “Accept the License Terms” and Next

button.

From this Windows, select 2nd Option “Custom Install


Windowsonly (Advanced)”
If you want to create more partitions, select New. If you want to
haveonly one partition Select the Drive and Click Next.

SETUP will start.


You Virtual Machine will restart few times until
installation arecompleted.

Choose the Region “Oman”


Choose the Keyboard “US” and Select YES

Select “I do not have internet”


Select “Continue with limited setup”

Select “Skip”
Create a Username with your Name “Srin”
· Password “Pa$$w0rd” reconfirm
Add 3 Security Questions, you can choose any and note down
theanswer for future record purpose.
Make all setting to “NO” and Click Accept

Select “NO”
Login to Windows 10 with your Username and Password.

You can verify Windows 10 information from the setting.


Self-Activity
Check the IP of Windows 10 and Change to following Address:
o IP Address: 192.168.10.5
o Subnet Mark: 255.255.255.0
o Default Gateway: 192.168.10.1
Lab Activity 3: Task Manager to check the Process, Memory.
Open the Client W10 and right click on the Menu bar. The Task bar option
appears:

After Clicking Task Manager, click on More Details:


The below picture appears
Select the Performance tab

Identify the Number of Processes and Threads from the above exhibit
Click on Memory Tab

Identify the Features in Memory


Click on disk

Identify the type and Capacity of the Disk.


Click on the DETAILS tab and identify the status like Running and Suspended

Ask the Student to identify the Status and PID of any exe file.
Lab 4: Configure IP address on Windows Server 2016and W10.
• Check the Network Card/Adapter setting on both machines, it should
be
“Internal Network”. Run both machines. Together now.
• Check your Host Machine RAM and allocate appropriate RAM to
bothvirtual machines as per given table.
Host Machine Allocate RAM Allocate RAM
RAM inGB (GB)to (GB) to
Windows Windows 10
Server
4 1 1
8 2.5 1.5
16 4 4

• Remove the ISO files from the Storage before running both virtual
machines.

Run both virtual


machines
together
Run & Login to Window Run & Login to W10
Server
Configure manually new IP address on the Window 10 virtual machine.
• Go to Network Setting and assign new IP Address as following
o IP address: 192.168.10.5 (Should be within same subnet
withWindows Server IP address subnet)
o Subnet mask: 255.255.255.0
o Default Gateway: 192.168.10.1 (Not necessary to add)
• DNS Address: 192.168.10.2 (This should be same IP address as
yourWindows Server IP Address)
• Click OK Close Close (all tabs). Wait for 1 mint,
virtualmachine will accept new IP Address.
• Now go to Command Prompt and test your new IP Address using
ipconfig
command
• We have got the new IP Address on Windows 10 VM.
• If you cannot get new IP Address, please Restart your machine
andcheck your network adapter setting.
• Test and verify both machines IP addresses, they should be
sameas shown in below picture and configured on the same
subnet.
Windows Server IP address Windows 10 IP address

• Now check the connectivity between “W10” and “Windows


Server2016”
virtual machines by typing “ping” command on both machines.
• PING should be
successful.
• On W10 cmd type ping 192.168.10.2 (our server IP address). This
is to test communication from W10 to Server.

• We can see from the above picture that Ping results are successful,
thismean W10 virtual machine can communicate with Windows
Server.

• Now repeat the same process on Windows Sever. Ping from


Windows Server to W10 virtual machine (IP Address) to check the
connectivity between “Windows Server 2016” & “W10”.

• PING is unsuccessful from Windows Server to W10 virtual


machine. This mean Windows Server virtual machine cannot
communicate withWindows
10. This could be due to firewall blocking or wrong network adapter
setting on both machines. Please check the firewall and network
adapter setting on both machines again.
To disable Firewall
• Now check the Firewall on both machines.
• On Windows Server 2016 Control Panel System
and Security\Windows Firewall

• Click on left side Turn Windows Firewall on or off


• Click on Domain Networks and Select Turn off Windows Firewall
on Domain Networks
• Close the tab now and refresh the machine.

• Now switch to Windows 10 Control Panel System


and Security\Windows Firewall and repeat same
process
• Select Turn Off Windows Firewall under Private Network Setting

and Public Network Setting click OK

• Close the tab now and refresh the machine.


• Now Ping again from Windows Server to W10 virtual machine (IP
Address) to check the connectivity between “Windows Server
2016”& “W10”.
• PING is successful from Windows Server to W10 virtual
machine. So both machines are on same network.
Lab Activity 5: Creating Hard disk and taking Backup

Note: You will need an extra hard disk for this lab in the virtual machine. To
add a new hard disk in the virtual machine, follow the Steps:

Step 1: Power off your virtual machine by right click on the machine andclick on
Close Power off

Step 2: Right click on the Virtual Machine Settings

Step 2: Select “Controller: SATA” and right click on the Add Hard Disk
Step 3: Select “Create new disk” or “Choose existing disk” (If you already have
disk).

Step 4: Choose the following setting and allocate “2GB” or more as per your
requirement.

Step 5: Click on Create now.

Step 6: You can see in the following picture that disk have been added/created.
Now we need to initialize and format it first before using it.Click OK and run the
virtual machine.
Step 7: Login to the Server. Press Windows icon and type Computer
Management
or open Server Manager Dashboard and click on Tools Computer
Management.

Step 8: Select Disk Management

Step 9: You will see the following message. You can select MBR or GPT as
per your preference. Select GPT and click OK. We are choosing GPT asit be
better in term of usability.
Step 10: You can see in the following picture the Disk 1 has been added/created
and initialized. Now, we need to format it and assign other parameters before
using it.
Step 11: Select the Disk 1 and right on it. Select New Simple Volume

Step 12: Click Next


Step 13: Allocated the formatting size as shown in the picture and click
Next.

Step 14: Assign the letter and click Next (you can choose any letter).

Step 15: Select the following Setting shown the in picture.


Step 16: Click Finish. You can reconfirm/read the information you haveselected
before clicking on the Finish button.

You can see that Disk 1 is active now. We can change the Disk Name by right
click on the Disk 1 Properties Give new name and Apply OK.
• Go to This PC setting and check/verify that Disk has been added or not.

Now to take Back up:

Select ADD roles features

Click on Add roles and features


Press NEXT
After this, PRESS NEXT
Press NEXT and select Windows Server Update Services
Select Windows Server Backup. It WILL NOT SHOW INSTALLED for you. Tick it and proceed with NEXT
Press Install and after Installation go to Tools as shown:
Select the Backup Schedule
Select the Modify Back up and pressing Back up Schedule
Press Next
Add items, and select Recycle Bin of C’Drive. Don’t select any other files of the Server
Select any other durations
Press Next
Pr

Press Finish to complete the Backup.

You might also like