Click here

Showing posts with label webserver inside VM. Show all posts
Showing posts with label webserver inside VM. Show all posts

Wednesday, July 27, 2016

Configure webserver in Virtual box

Guest OS: Ubuntu 15.04
Host OS:   Windows

1) Install apache in webserver
         sudo apt-get install apache2

2) Check the status of webserver
            sudo service apache2 status

3) Configure a static file of your own

       sudo vi /var/www/html/hello.txt

4) To access the webpage from host OS, you need to configure " Host-Only adapter" in adapter settings

settings->Network->adapter1

5) After adpater settings check for interface IP inside VM ( Mostly its in 192.168.*.* range). Also ping the IP from host OS to validate the IP connectivity.

6) Access the configured static webpage from host OS
  http://192.168.*.*/hello.txt

Omicron - people gathers in crowd

Amidst omicron thread, people are gathered in crowd at markets and public places to buy their daily needs. Because of full lockdown at Sunda...