Questions tagged [virtual-machine]

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality. **Note**: For questions on the Java VM, use the specific tag [jvm], and for the Android virtual machine, use the tag [dalvik]. For other questions on implementation details of other kinds of VMs like interpreters, automata or Turing-machines, use the tag [vm-implementation]. ONLY QUESTIONS ABOUT PROGRAMMING ARE ON-TOPIC.

If you need non-programming help setting up a virtual machine, ask those questions on Server Fault or Super User.

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality.

The term virtual-machine can be used for a single file containing the software which emulates all the hardware. Virtual-machine software use various hardware and software tricks to speed up the running software.

Programs run on a real machine do not need to be changed to be run on a virtual machine. A program running on a virtual machine works exactly the same as if it were running on its own hardware.

Some virtual machine software include:

8242 questions
28
votes
5 answers

Running qemu remotely (via ssh)

I have a server that I am experimenting with, and sometimes I want to work from home so I installed the 'ssh daemon' (namely, 'sshd') and I can ssh to the server. This works fine. But when I try to run a virtual machine on the server with 'qemu', I…
Ramzi Khahil
  • 4,932
  • 4
  • 35
  • 69
27
votes
4 answers

Monitor free disk space on Azure VM

Is there some way how to monitor free disk space from the Azure Portal? I know that there are all kinds of diagnostics for I/O, memory, network, CPU, .NET, SQL, ASP.NET, IIS, etc. But is there some way to see how much free space there's on a disk…
Tom Pažourek
  • 9,582
  • 8
  • 66
  • 107
27
votes
4 answers

Shared drive between Azure Virtual Machines

I have just moved my web site to an Azure Virtual Machine and have been up and running since last weekend. So far I'm very happy with the results and looking forward to taking advantage of Azure further in due course. I do have what would seem to be…
Mark Williams
  • 459
  • 1
  • 4
  • 7
27
votes
3 answers

How do I run Ubuntu Server headless using Parallels Desktop?

Running VMs "headless" (without windows for each VM being visible on the host) is a great feature of VirtualBox. How do I do it using Parallels Desktop on Mac OS X?
Well Actually
  • 1,723
  • 1
  • 18
  • 28
27
votes
6 answers

How to determine root cause for Communication link failure TCP Provider: The specified network name is no longer available?

Here is my latest effort at revising this question. But this time, I am trying to follow the good counsel given by Oded in his article Getting good answers on StackOverflow. I need to find out how I can determine the root cause for the following…
26
votes
8 answers

the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8

How to solve this warning being prompted every time I execute Elixir code or enter iex? warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to…
Rustam Gasanov
  • 15,290
  • 8
  • 59
  • 72
26
votes
7 answers

Can't get Azure Virtual Machine to serve websites

I've just set up a windows azure VM and installed IIS on it. When I remote desktop onto the box I can see the default IIS website fine but I can't get this to serve on the web from the IP address of the box. I've opened up port 80 on windows…
Andy Roper
  • 403
  • 1
  • 5
  • 12
26
votes
4 answers

Simplest possible architecture that can be virtualized and run the Linux kernel

I've been inspired by Fabrice Bellard's implementation of an x86 virtual machine in Javascript, and I'd like to try writing the simplest possible virtual machine that is capable of running the Linux kernel. This is a purely educational endeavour,…
Richard Keller
  • 1,980
  • 2
  • 19
  • 32
26
votes
2 answers

Getting a LAMP stack running on a Vagrant VM (under Windows 7 host), full instructions?

I have a Vagrant VM standard issue lucid32.box running. What would the complete instructions be to set up LAMP on this? I have looked at knife (part of chef) and attempted: vagrant@lucid32:~$ knife cookbook site install apache2 but got WARNING: No…
therobyouknow
  • 6,604
  • 13
  • 56
  • 73
25
votes
3 answers

toArray with pre sized array

when using ar.toArray(new String[ar.size()]) Android studio 3.2.1 warns about pre-sized array and recommends empty array: There are two styles to convert a collection to an array: either using a pre-sized array (like c.toArray(new…
ygngy
  • 3,630
  • 2
  • 18
  • 29
25
votes
3 answers

virsh console hangs at the escape character "^]"

I am trying to kickstart a newly built VM. I am stuck with the following. Want to start with a console so that I can include username and other info for this VM: @vmhost02 ~]$ sudo virsh start --console testengine Domain testengine started …
iamauser
  • 11,119
  • 5
  • 34
  • 52
24
votes
4 answers

What is application state?

This is a very general question. I am a bit confused with the term state. I would like to know what do people mean by "state of an application"? Why do they call webserver as "stateless" and database as "stateful"? How is the state of an application…
sethu
  • 1,691
  • 4
  • 22
  • 34
24
votes
1 answer

What are the differences between a VM image and a Docker image?

Are there any differences in images of Docker and Virtual Machine? Except the image formats, I couldn't find any info on this anywhere. Please comment out on the things like image size, instance creation time, capture time, etc. Thanks!
devesh-ahuja
  • 963
  • 1
  • 8
  • 24
23
votes
9 answers

How to stop running Container, if error response from daemon is: Cannot Kill Container [...] permission denied?

Tough task: Everytime I try to stop or kill a running container, I get permission denied as an error response from Daemon. I just started learning how to use docker by using a Ubuntu18.04 VM. I was running a container for the first time. I was not…
icoe
  • 539
  • 1
  • 3
  • 9
23
votes
20 answers

Are you using virtual machine as your primary development environment?

Recently I have purchased a notebook that came with Windows Home Basic (that don't have with ASP.Net/IIS. I thought in upgrade the Windows version to one with ASP.Net/IIS, but I thought in another possibility: I have an Hard Disk Case with a 360Gb…
Click Ok
  • 8,700
  • 18
  • 70
  • 106