virtualization

Virtual parallel port emulator

我们两清 提交于 2019-12-05 02:26:07
In my computer networks course we are supposed to learn parallel port programming by using the native registers (like using outportb like commands). I don't have a parallel port (because I live in 2011) but want to practice the programs (I installed the old turboc 3 IDE using dosbox). Is there a program which emulates parallel ports like this program emulates serial ports? Since the environment is fake anyway, i.e. you don't have an actual port to play with, you could just as well emulate the port functionality in your program. Here's how to do it in Windows using Structured Exception Handling

Looking for documentation on the “right” way to install apps on Windows 7

二次信任 提交于 2019-12-05 02:13:29
I'm working with some legacy applications (10-15 years old), and am trying to find guidance on the "right" way to install and run them (and any user application) on Windows 7 without requiring full Admin privileges. In other words, where executable/read-only should files go, where user-data/read-write should files go, where registry entries should go, to avoid issues with the UAC and Windows 7 file/registry virtualization during both installation and at run-time. I seem to remember, years ago, a Microsoft white paper on this subject, but am unable to find any relevent information now. I have

VMWare guest web-server not reachable from host

点点圈 提交于 2019-12-05 00:51:32
问题 Software: VMWare Fusion 2.05 on Mac OS X 10.5.8 (also applies to VMWare Workstation 6.5.2 on Vista, used for verification of the issue) Guest: Ubuntu Server 9.04 (also applies to Ubuntu Desktop 9.04, used for verficiation of the issue) VMWare Networking: bridged Router: Apple TimeCapsule, latest firmware Issue: After successfully installing Django 1.1 on the guest, and starting Django's built-in webserver (listening on 127.0.0.1:8000), I verified via wget 127.0.0.1:8000 (and also via Firefox

The right way to move a data-only docker container from one machine to another

房东的猫 提交于 2019-12-05 00:47:20
问题 I have a database docker container that is writing its data to another data-only container. The data-only container has a volume where it stores the data of the database. Is there a "docker" way of migrating this data-only container from one machine to another? I read about docker save and docker load but these commands save and load images, not containers. I want to be able to package the docker container along with its volumes and move it to another machine. 回答1: Checkout the flocker

Simulating windows laptop in virtual machine?

↘锁芯ラ 提交于 2019-12-04 23:11:49
问题 I wonder if there is a way to simulate laptop in a virtual machine. Specifically, I would like to simulate the lid closing behavior. I checked virtual box and it doesn't seem to have this kind of feature. Thanks! 回答1: You will have to write an application to do that. The message you are interested in broadcasting is WM_POWERBROADCAST. Take a look here if you also need to catch it. 来源: https://stackoverflow.com/questions/4486560/simulating-windows-laptop-in-virtual-machine

What are the typical uses cases for LXC versus VM?

故事扮演 提交于 2019-12-04 20:22:02
问题 I am trying to make up my mind on when an LXC container can be a better choice than using a full VM. Do you have any precise uses cases in mind that can bring some arguments in one way or another? Are LXC more "PaaS" oriented, to run applications without hardware control? Do we always need to use VM on an "IaaS" perspective where we want infrastructure control? Regards, 回答1: I don't think IaaS needs VMs. With LXC you can define # of cpushare and Memory user limit. The thing is VMs are pretty

Xen bare metal hypervisor

折月煮酒 提交于 2019-12-04 19:42:21
I first thought that Xen was a host hypervisor. But i later found that it was a bare metal hypervisor. How does Xen qualify as a Bare metal hypervisor ? Because Xen can be booted to directly from BIOS, without any other operating system in between Xen and the hardware. VMware ESXi is similar (differentiating itself from VMware workstation which requires a host OS). Xen's dom0 privleged guest can be installed on the system before Xen is enabled, thus confusing matters about whether it is a bare metal install or not, but it is technically a true bare metal install that starts the dom0 guest.

docker attach vs lxc-attach

做~自己de王妃 提交于 2019-12-04 19:21:18
问题 UPDATE: Docker 0.9.0 use libcontainer now, diverting from LXC see: Attaching process to Docker libcontainer container I'm running an istance of elasticsearch: docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch Checking the process it show like the following: $ docker ps --no-trunc CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 49fdccefe4c8c72750d8155bbddad3acd8f573bf13926dcaab53c38672a62f22 dockerfile/elasticsearch:latest /usr/share/elasticsearch/bin/elasticsearch java

Windows: Is it *possible* to create a (virtual) video card driver?

﹥>﹥吖頭↗ 提交于 2019-12-04 15:59:06
问题 i want to create a virtual monitor. The way this would work is that the virtual monitor would appear in a window on my desktop. As far as Windows knows it is just another monitor. It occurs to me that it would, as a practical matter, have to be done as video card driver (i.e. rather than the video going out a wire to an LCD panel, it would go into another window on the desktop). Does what i'm describing sound, technically, possible ? (from a DDK point of view) Note: i can't use a virtual pc,

Using Data Virtualization, the problem of binding a property in ViewModel with SelectedItem of ItemsControl in View

拥有回忆 提交于 2019-12-04 14:14:42
问题 About Data Virtualizatoin in WPF, the WPF: Data Virtualization is a good article. With using this, Data Virtualization was executed as good in my code but there is the one problem, which is that I cannot bind a property in ViewModel with SelectedItem of ItemsControl in View. If one item of data satisfies some condition while data loads, the one item will be set as a property in ViewModel and then it will be bound with SelectedItem of ItemsControl in View, but will not. My code about this is