Differences between revisions 10 and 11
Revision 10 as of 2021-07-26 08:14:04
Size: 1348
Editor: hgiger
Comment:
Revision 11 as of 2021-07-26 08:20:28
Size: 1522
Editor: hgiger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 1. In '/scratch' create a directory <username>  1. In '/scratch' create a directory <username>. In addition create '/scratch/<username>/VM' to store the finally created vm
Line 23: Line 23:
 1. Finally store your new VM in '/scratch/<username>/VM' and start the installation process.

Creating your own virtual machine

There are situations where you want to have a system on which you can manage by yourself as 'root', e.g. to install and test software. In such cases a virtual machine is a good idea. To create your own virtual machine on an ISG-managed Linux client proceed as followed:

  1. In '/scratch' create a directory <username>. In addition create '/scratch/<username>/VM' to store the finally created vm

  2. Download a virtual machine image to '/scratch/<username>'

  3. Type following command on the console:
    •      $ vmplayer
  4. In the upcoming window klick "Create a New Virtual Machine" and use your downloaded virtual machine image.
  5. Make reasonable settings concerning RAM, CPU and Disk (dependend on your machine's hardware setup):
    •      RAM:  min. -> 1-2 GB  max. -> 50% of the RAM of your machine
           CPU:  min. -> 1-2     max. -> 50% of the CPUs of your machine
           Disk: reasonable percentage of your machine's disk (which is '/scratch' by the way)
  6. Finally store your new VM in '/scratch/<username>/VM' and start the installation process.

/!\ Note: 'Virtualization Technology' must be activated in the BIOS of your machine to create VMs in your environment. You can test that with following command:

  •      $ ls -l /dev/kvm

    If this file doesn't exist, 'Virtualization Technology' is deactivated. In this case write to: support@ee.ethz.ch to make the BIOS settings accordingly.

FAQ/VirtualMaschine (last edited 2023-10-16 13:56:26 by alders)