0% found this document useful (0 votes)
22 views5 pages

Vikash - Kumar - CSM Lab (Installing Webserver On VM)

The document describes steps to install a web server in a virtual machine: 1) Create an Ubuntu virtual machine in VirtualBox, allocate 1700 MB RAM and dynamically allocated storage. 2) In settings, increase the processor count to four and attach an ISO file for Linux installation. 3) Install the Apache2 web server using the command "sudo apt-get install apache2" and check its status with "systemctl status apache2". 4) Verify the Apache server is running successfully by accessing localhost port 80 in a web browser.

Uploaded by

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

Vikash - Kumar - CSM Lab (Installing Webserver On VM)

The document describes steps to install a web server in a virtual machine: 1) Create an Ubuntu virtual machine in VirtualBox, allocate 1700 MB RAM and dynamically allocated storage. 2) In settings, increase the processor count to four and attach an ISO file for Linux installation. 3) Install the Apache2 web server using the command "sudo apt-get install apache2" and check its status with "systemctl status apache2". 4) Verify the Apache server is running successfully by accessing localhost port 80 in a web browser.

Uploaded by

Vikash Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

University Of Petroleum and Energy Studies,

Dehradun

Cloud Security & Management


(Lab)

Submitted by:
Name- Vikash kumar

SAP: 500087705

Enrolment No. : R2142201906

batch: B4.CCVT

Submitted To: Amanjot Kaur ma’am


Experiment no:-2
1|Page
Installing web server in virtual machine

Step 1 creating a ubuntu virtual machine using VirtualBox. Enter the name of your VM.

Step 2now, we are going to allocate base memory(RAM) to our VM(here we are allocating
almost increased to 1700 MB of RAM) and click on next.

Step 3let, the hard disk option be remain same(create a virtual hard disk now),hard disk
file type be (VDI(VirtualBox disk image)) and also let storage be (dynamically allocated).

2|Page
Now, here we are going to allocate storage to our VM and locate the folder where we want
to keep our VM. Now, select on create.

Step 4after creation of our VM. Select on settings, go to system, select the processor and
increase the processors count from one to four.

3|Page
Step 5then select on storage, select on empty with a disc icon and again select on disk
with drop down and select the iso file which we downloaded(we can also locate the iso file
by clicking on choose a dick file, if your iso file is not shown here).

Step 6after attaching iso file and complete installation of linux.we are going to install
apache2 webserver on our Linux Virtal machine.
 Command:-sudo apt-get install apache2

4|Page
Step 7check status of apache2 server.
 Command—systemctl status apache2

Step 8now, we go to apache webserver default port number(80). As, we see our apache
server is running successfully.
 Localhost:80/

5|Page

You might also like