webdmap virtual machine installation guide

7
Chetan Tiwari ([email protected]) December 23, 2013 WebDMAP Virtual Machine Installation Guide (http://www.webdmap.com) Page 1

Upload: others

Post on 15-Jul-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

WebDMAP Virtual Machine

Installation Guide (http://www.webdmap.com)

Page �1

Page 2: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

Creating a New VM in VirtualBox !

Step 1: Download VirtualBox from http://www.virtualbox.org

Step 2: Create a new virtual machine

Step 3: Select machine type

Page �2

Page 3: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

Step 4: Set memory - 4GB of RAM recommended.

Step 5: Use an existing virtual hard drive file.

Step 6: Select Settings.

Page �3

Page 4: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

Step 7: Select Network

Step 7a: Choose the setup shown below if you are using a DHCP server like your home router. You must remember to change the MAC address as shown in the image below.

Step 7b: If you are not using an existing DHCP server follow the steps a-e below:

a. Cancel the Network Settings page.

b. Open the Preferences Pane for VirtualBox

Page �4

Page 5: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

c. Switch to the Host-only Networks tab and then add a new Network. Click OK.

d. The host-only network that you added in c creates a local network with an IP address range of 192.168.56.101 - 192.168.56.254. Your virtual machine will remain disconnected from the Internet, however, you will be able to access WebDMAP using this local IP address range.

e. Return to the Network preferences box of the virtual machine (see 6 - 7a above). Change the settings as shown below. Click OK. We will use this setup for the rest of the guide. If you followed step 7a, simply use the appropriate IP address.

Page �5

Page 6: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

Step 8: Start the WebDMAP virtual machine and wait for the operating system to load. Note the IP address once the system has booted. You may minimize this window at this time.

Step 9: Access the system using a browser. The URL is the IP address noted above along with a trailing /webdmap. For example, we will use http://192.168.56.101/webdmap in this manual

Page �6

Page 7: WebDMAP Virtual Machine Installation Guide

Chetan Tiwari ([email protected]) December 23, 2013

WebDMAP Access and Configuration

WebDMAP AccessMain Interface: http://ipaddress/webdmapResults: http://ipaddress/webdmap/results/usernameUser Registration: http://ipaddress/webdmap/register/registration.php Note: to create a new account – first add a new user using the registration URL given above;

second, add the user to .htpasswd in /etc/apache using: htpasswd -m .htpasswd username WebDMAP User Accounts

WebDMAP VM Services and User Accounts

Other NotesThe Visualization module requires a Google API key. Set under /etc/webdmap/config.php. If you do not have a Google API key, use OpenStreetMap as the background layer.

Username Password

webdmap webdmap!

user1 user1!

user2 user2!

user3 user3!

Service URL Username Password

clearOS Web Interface https://ipaddress:81 root webdmap!

SSH ipaddress root webdmap!

PostgreSQL localhost postgres webdmap!

phpPgAdmin http://ipaddress/phpPgAdmin postgres webdmap!

Page �7