Difference between revisions of "HowTo Install Virtual Machines with VMware Player"
m (→How to install VMplayer: missing hyphen?) |
(→How to create a new virtual machine: All images are up...) |
||
Line 35: | Line 35: | ||
= How to create a new virtual machine = | = How to create a new virtual machine = | ||
TODO... 1st upload pictures, then write dialogue... | TODO... 1st upload pictures, then write dialogue... | ||
+ | |||
+ | Here it will be exemplified how to create and install a virtual machine with Xubuntu 12.04 x86_64 (64bit). This assumes you've already downloaded the desktop ISO of Xubuntu 12.04 x86_64, which we'll leave to the reader to figure out how and were to get it. | ||
+ | |||
+ | == Create a New Virtual Machine == | ||
+ | This section will take you step by step on how to create a new virtual machine, mainly oriented to test building OpenFOAM. | ||
+ | |||
+ | So, after you've managed to figure out how to run VMplayer, here are the steps to be taken: | ||
+ | |||
+ | [[File:VMplayer_tut_000.png|thumb|center|400px|0. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_001.png|thumb|center|400px|1. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_002.png|thumb|center|400px|2. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_003.png|thumb|center|400px|3. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_004.png|thumb|center|400px|4. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_005.png|thumb|center|400px|5. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_006.png|thumb|center|400px|6. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_007.png|thumb|center|400px|7. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_008.png|thumb|center|400px|8. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_009.png|thumb|center|400px|9. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_010.png|thumb|center|400px|10. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_011.png|thumb|center|400px|11. TODO...]] | ||
+ | |||
+ | == Installing Xubuntu 12.04 x86_64 == | ||
+ | |||
+ | Now onward to installing Xubuntu 12.04 inside the virtual machine: | ||
+ | [[File:VMplayer_tut_012.png|thumb|center|400px|0. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_013.png|thumb|center|400px|1. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_014.png|thumb|center|400px|2. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_015.png|thumb|center|400px|3. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_016.png|thumb|center|400px|4. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_017.png|thumb|center|400px|5. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_018.png|thumb|center|400px|6. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_019.png|thumb|center|400px|7. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_020.png|thumb|center|400px|8. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_021.png|thumb|center|400px|9. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_022.png|thumb|center|400px|10. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_023.png|thumb|center|400px|11. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_024.png|thumb|center|400px|12. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_025.png|thumb|center|400px|13. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_026.png|thumb|center|400px|14. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_027.png|thumb|center|400px|15. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_028.png|thumb|center|400px|16. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_029.png|thumb|center|400px|17. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_030.png|thumb|center|400px|18. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_031.png|thumb|center|400px|19. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_032.png|thumb|center|400px|20. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_033.png|thumb|center|400px|21. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_034.png|thumb|center|400px|22. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_035.png|thumb|center|400px|23. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_036.png|thumb|center|400px|24. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_037.png|thumb|center|400px|25. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_038.png|thumb|center|400px|26. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_039.png|thumb|center|400px|27. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_040.png|thumb|center|400px|28. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_041.png|thumb|center|400px|29. TODO...]] | ||
+ | |||
+ | [[File:VMplayer_tut_042.png|thumb|center|400px|30. TODO...]] | ||
= Troubleshooting = | = Troubleshooting = |
Revision as of 23:47, 6 July 2012
Contents
1 Introduction
Testing OpenFOAM installations on several different Operating Systems can take its toll. But at least with virtualization, one person can handle 3, 4 or even more virtual machines at the same time or in sequence, all with a single real machine.
For the readers that don't know what machine virtualization is, here are some pages on this subject at Wikipedia:
- Page about what a Virtual machine is.
- The global description of what Virtualization is.
- Extended descriptions of selected virtualization software.
From the last link there are 2 popular and free virtualization applications for the general public:
- VirtualBox - The preferred among the open-source community, given the code is open-source.
- VMware Player - The one described in this How To page and which will be referred to from here on as VMplayer.
The choice of using VMplayer is somewhat simple: it's free, very good (if not best) performance and easy to use. (and personal preference - Wyldckat 00:11, 7 July 2012 (CEST)) Nonetheless, VirtualBox is a very good competitor, specially for testing PXE boot images. (Wyldckat 00:11, 7 July 2012 (CEST))
This wiki page is divided into the following chapters:
- How to install VMplayer
- How to create a new virtual machine
- Troubleshooting - as in don't shoot your computer, shoot only the troubles themselves
Final introductory note: this tutorial would probably be more appreciated as a video tutorial, but that exercise is left to the readers that wish to contribute!
2 How to install VMplayer
First a few links for reference:
- The official page for VMware Player: www.vmware.com/vmplayer
- Official documentation: Getting Started with VMware Player
Go to the first link and take care of registering and downloading VMplayer for your desired Operating System (Windows, Linux or Mac OS X). (If you don't want to register... search on-line for other possible solutions, but be careful not to download damaged software.)
TODO:
- Describe existing installers and how to run them on each OS.
- Show pictures of the installation process, which should be nearly identical for all of them.
3 How to create a new virtual machine
TODO... 1st upload pictures, then write dialogue...
Here it will be exemplified how to create and install a virtual machine with Xubuntu 12.04 x86_64 (64bit). This assumes you've already downloaded the desktop ISO of Xubuntu 12.04 x86_64, which we'll leave to the reader to figure out how and were to get it.
3.1 Create a New Virtual Machine
This section will take you step by step on how to create a new virtual machine, mainly oriented to test building OpenFOAM.
So, after you've managed to figure out how to run VMplayer, here are the steps to be taken:
3.2 Installing Xubuntu 12.04 x86_64
Now onward to installing Xubuntu 12.04 inside the virtual machine:
4 Troubleshooting
On this chapter is shown various known issues and solutions. Other issues and solutions can be found in the official documentation (see chapter How to install VMplayer) and on-line.
4.1 The yield() function is not activated
Issue: A message dialogue box appears saying:
The yield() function is not activated
And doesn't allow running the machine.
Note: This is happens on Linux with kernel versions greater or equal to 2.6.31.
Solution: To fix this until next boot, run as root:
echo "1">/proc/sys/kernel/sched_compat_yield sysctl -w kernel.sched_compat_yield="1"
For a permanent solution, run as root as well:
echo -e "\n\n#This is needed for Virtual Machines to run at full power\!\nkernel.sched_compat_yield = 1" >> /etc/sysctl.conf
4.2 Unable to operate the VMplayer window
Issue: Error and warning windows sometimes pop to the wrong side of the window, namely to the back of the VMplayer window!
Note: This is more common on Linux.
Solution: The main window is sometimes still usable, in the sense that it can still be moved out of the way, to reveal the small error/warning dialogue in the back of the main window.
4.3 /dev/vmmon does not exist
Issue: A dialogue appears with the message:
/dev/vmmon does not exist
Note: This is more common on Linux.
Solution: run as root:
/etc/init.d/vmware stop /etc/init.d/vmware start
5 History
Readers are welcome to improve this document if they so see fit to do it. Links to video tutorials directly related to this tutorial are also welcome.
Below is a short edit history. For the complete history, see the History link at the top-right of the page.
- Wyldckat 00:30, 7 July 2012 (CEST) - Still editing the page...