Installing and Configuring a VM for whatIf?
❌ CONTENT NOT MIGRATED (LEFT BEHIND) TO GURU
Setting up Networking on a new VM
Setup network on VM
Open vm software and open the vm file from “My Virtual Machines” and say “I copied it”
login as root (pword What1f?)
Open the Networking - click on the red hat/system settings/network
Probe the machine by:
Reset the host name
Under
DNS tab set Hostname: newName-ux (for example)
under File choose Save
Take note of the ip address (you'll need it for the next steps in host only mode)
Go to the devices tab, double click the eth0
Record the static ip address, probably something like: 192.168.80.200
Logout and reboot the machine
VM in NAT mode (only needed if want access to the normal network)
How to get it into nat mode:
Make the VMnet8 network connection configuration use DHCP to obtain addres
Set the Devices/Network Adaptor on the VM to NAT in the “Settings” of the outer shell of the VM Player
In the networking of the VM setup the IP address to come from DHCP
Uncheck the “Automatically obtain
DNS information from provider
Click OK and go to the
DNS tab and set:
hostname like: red-ux
Primary
DNS should be: 192.168.110.2 (verify it's the right first part of the domain for the network adapter VMnet8 on host side)
Remove the localdomain setting from the
DNS search path
Save the settings from the Devices tab
Shutdown and restart the VM server (I don't think the Reboot option is enough)
Setup network on host
Windows XP
Windows Vista & Windows 7
then choose “Network and Sharing Center” and look in the “View your active networks” section of the page
On either system continue with:
Choose VMNet1 for host only mode (VMnet8 for NAT mode) connection and look at the properties (right click properties)
Double click “Internet Protocol (TCP/IP)” (on Vista and windows 7 choose TCP/IPv4)
Make sure the first 3 parts of the ip address match that of your VM but not the last
If VM is in host only mode adjust the host side here (use this option by default)
Otherwise, if you want the VM in NAT mode change the VM's ip address inside the VM to match first 3 parts
Note: to check your ip address on the VM (if you wish): log in as root, open terminal window and do ifconfig
Click OK to save
Check Connectivity
Startup the VM you don't need to login
Use putty to connect to newName-ux and login as root
If you can't get that to work check the host name settings inside the VM networking
Add an entry for newName-ux and the corresponding ip address to the host machine's hosts file under (C:\Windows\System32\drivers\etc)
If you still can't get it to work you can use the ip address of the machine which we recorded at the beginning
Setting up Accounts on a new VM
Install Sever Code
Get the latest and greatest from the web for samm, whatif, and tool - stick them on the host for now
Get the install scripts too!
Use winscp to put them in the correct accounts on the machines (note password for tool,samm,whatif same as root by default)
Run csh install* for each in the appropriate accounts
Shrinking VM disks
If VMware Tools are installed on your virtual machine (they are on the official whatIf desktop edition), you can use the disk shrink feature to reduce the size of VM files on your host operating system.
Login to the VM's
GUI (KDE on Fedora) as
root
Open a terminal session
Run the command vmware-toolbox
. The VMware Tools Properties dialogue should open.
Select the Shrink tab. Select all the partitions you wish to shrink (multiple selections using ctrl-click. Click the Shrink button.