0% found this document useful (0 votes)
25 views

Lab4 - Installing Apache in Ubuntu Virtual Machine - Azure

Uploaded by

raj0000kaml
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)
25 views

Lab4 - Installing Apache in Ubuntu Virtual Machine - Azure

Uploaded by

raj0000kaml
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
You are on page 1/ 32

Cloud Computing - Azure

Lab4 – Installing Apache in Ubuntu Virtual Machine - Azure

Topology

Page 1 of 32
Cloud Computing - Azure

In Azure portal, click “Resource groups” in left side panel.

Page 2 of 32
Cloud Computing - Azure

In “Resource groups” click “Add”

Page 3 of 32
Cloud Computing - Azure

While creating “Resource group”, type Resource group name as “SansboundAzureClass”.

Click “Create” to create the Resource Group.

Page 4 of 32
Cloud Computing - Azure

Click “Refresh” to review the “Resource group” which you have created.

Page 5 of 32
Cloud Computing - Azure

Click “Virtual machines” in left side panel.

Page 6 of 32
Cloud Computing - Azure

Click “Add” to create new virtual machine.

Page 7 of 32
Cloud Computing - Azure

In “Subscription” select as “Free trial”.

In “Resource Group“ should be select as “SansboundAzureClass”.

In Virtual machine name, type the virtual machine name as “UbuntuVM-WebSvr”.

Select “Region” as “South India”.

Select “OS Image” as “Ubuntu Server 18.04”.

Page 8 of 32
Cloud Computing - Azure

In Virtual machine size by default “Standard D2sv3” has been selected. Click “Change size” to change
the VM Size as “Standard B1s” which is eligible for Free trial.

Page 9 of 32
Cloud Computing - Azure

Click on “B1s Standard” and click “Select” button.

Page 10 of 32
Cloud Computing - Azure

Ensure that “Standard B1s” has been selected.

In “Administrator Account”, set authentication type as “Password” by click the option.

Type the user name which you have required to access the Ubuntu server.

Type your own password to access the Ubuntu server.

Page 11 of 32
Cloud Computing - Azure

In “Inbound Port Rules”, set Public inbound ports as “Allowed selected ports”.

Page 12 of 32
Cloud Computing - Azure

In “Inbound Port Rules”

In “Select inbound ports”, click the drop down list and select “SSH (22)” to access the Ubuntu server
through SSH remotely.

Page 13 of 32
Cloud Computing - Azure

In “Select inbound Ports” you are able to see that “SSH” is selected.

Page 14 of 32
Cloud Computing - Azure

In “Select inbound ports”, click the drop down list and check “HTTP (80)” also. Because, we are going to
install “Apache” in Ubuntu server.

Page 15 of 32
Cloud Computing - Azure

Ensure that “HTTP (80) and SSH (22)” ports are allowed to connect from public network.

Page 16 of 32
Cloud Computing - Azure

Click “Review + Create”.

Page 17 of 32
Cloud Computing - Azure

Click “Create”.

Page 18 of 32
Cloud Computing - Azure

Your deployment has been successfully completed.

Click “Go to resource“.

Page 19 of 32
Cloud Computing - Azure

Kindly note the Public IP address which has required to access the Ubuntu server from public.

Page 20 of 32
Cloud Computing - Azure

Download the putty from https://www.putty.org/ and install it and launch the “putty.exe”.

In Putty, type the Public IP address of Ubuntu server and click “Open” to connect.

Page 21 of 32
Cloud Computing - Azure

Click “Yes”.

Page 22 of 32
Cloud Computing - Azure

Type Username as “sansbound” and press “Enter”.

Page 23 of 32
Cloud Computing - Azure

It will require password, type the password which you have specified while creating the Virtual machine
in Azure.

Page 24 of 32
Cloud Computing - Azure

Now I have required to login as root account.

Then type “sudo –i” and press “Enter”.

Page 25 of 32
Cloud Computing - Azure

Now you have successfully logged in as a root user.

Page 26 of 32
Cloud Computing - Azure

Type “apt-get –y update” and press “Enter”.

Page 27 of 32
Cloud Computing - Azure

Now packages has been updated from internet.

Page 28 of 32
Cloud Computing - Azure

Type “apt-get install apache2” and press “Enter”.

Page 29 of 32
Cloud Computing - Azure

Type “Y” and press “Enter” to install package.

Page 30 of 32
Cloud Computing - Azure

You have successfully installed the apache.

Page 31 of 32
Cloud Computing - Azure

Type the IP address of Ubuntu in browser at your local machine. You have successfully got the default
web server.

Page 32 of 32

You might also like