Lab4 - Installing Apache in Ubuntu Virtual Machine - Azure
Lab4 - Installing Apache in Ubuntu Virtual Machine - Azure
Topology
Page 1 of 32
Cloud Computing - Azure
Page 2 of 32
Cloud Computing - Azure
Page 3 of 32
Cloud Computing - Azure
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
Page 6 of 32
Cloud Computing - Azure
Page 7 of 32
Cloud Computing - Azure
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
Page 10 of 32
Cloud Computing - Azure
Type the user name which you have required 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 “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
Page 17 of 32
Cloud Computing - Azure
Click “Create”.
Page 18 of 32
Cloud Computing - Azure
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
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
Page 25 of 32
Cloud Computing - Azure
Page 26 of 32
Cloud Computing - Azure
Page 27 of 32
Cloud Computing - Azure
Page 28 of 32
Cloud Computing - Azure
Page 29 of 32
Cloud Computing - Azure
Page 30 of 32
Cloud Computing - Azure
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