virtual-machine

Sandbox Virtual Machine for an Application (concept)

雨燕双飞 提交于 2019-12-10 10:40:58
问题 I'd like to write a sandbox virtual machine for executing a compiled program. My goal is to isolate that program from the rest of operating system and control its execution so that it can't do anything harmful to a host computer. I assume that: executed program is compiled to Portable Executable format and it's in machine code, not in any kind of byte code or for CLR, executed program is not allowed to communicate with peripherals like printer, scanner, and doesn't use any GUI, executed

unable to run codeception in virtual machine -Mink could not be found and loaded

家住魔仙堡 提交于 2019-12-10 09:27:19
问题 I installed a vm ubuntu guest OS. My app is running from the browser in my host OS at the url http://abc.localhost:8888 I type php codecept.phar run in the guest OS terminal. I get the following error: [Codeception\Exception\Configuration] Mink could not be found and loaded My acceptance.yml says # Codeception Test Suite Configuration # suite for acceptance tests. # perform tests in browser using the Selenium-like tools. # powered by Mink (http://mink.behat.org). # (tip: that's what your

Access SQL Server on Azure VM via SQL Server Management Studio on my local Machine

旧时模样 提交于 2019-12-10 03:14:11
问题 I'm sure this is out there somewhere but I can't find it and my brain hurts. I have a VM on Azure. It has SQL Server running on it. I can access it locally on the VM no problem but I would like to manage it from my dev computer via SQL Server Management Studio. Is this possible and what creds would I use? the VM Login? Thanks, R 回答1: You need to complete all of the following to achieve what you want: Add a TCP endpoint for that VM on port 1433 - public & private (you can change the public

Virtual Box limit Bandwith on network [closed]

大憨熊 提交于 2019-12-10 02:09:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am using virtual machine VirtualBox Now, I need to limit bandwith. I have 2 Virtual Machines running. One is just for fun. One is for important database access. I need to tell the "fun machine" to just use bandwith on network with less priority if the "database machine" is not using maximum of the bandwith. I

Booting raw-disk windows 10 vm in virtualbox boots to grub shell

我是研究僧i 提交于 2019-12-09 12:36:10
问题 I have a dual-boot setup with Windows 10 and Kubuntu 18. Following instructions found from here and there I managed to get the Windows to run as guest in Kubuntu host as a VM using VirtualBox. sudo usermod -a -G disk $USER VBoxManage internalcommands createrawvmdk -filename "/path/to/vm/win10.vmdk" -rawdisk /dev/sda -partitions 1,3,4 -relative The first line is to avoid running VirtualBox as superuser. When I boot the VM, I briefly see an error message Boot Failed. EFI DVD/CDROM

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

耗尽温柔 提交于 2019-12-09 09:47:53
问题 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 able to stop it but at least it was running. Now, after I tried to run another image "furtuas/daisitory:image_available_first_ms", everything got worse. Two containers are running, I can't stop non of them. I tried to restart docker but the

Python multiprocessing process vs. standalone Python VM

自古美人都是妖i 提交于 2019-12-09 08:09:03
问题 Aside from the ease of use of the multiprocessing module when it comes to hooking up processes with communication resources, are there any other differences between spawning multiple processes using multiprocessing compared to using subprocess to launch separate Python VMs ? 回答1: On Posix platforms, multiprocessing primitives essentially wrap an os.fork() . What this means is that at point you spawn a process in multiprocessing, the code already imported/initialized remains so in the child

Gitlab with non-standard SSH port (on VM with Iptable forwarding)

你离开我真会死。 提交于 2019-12-09 04:08:30
问题 My gitlab is on a virtual machine on a host server. I reach the VM with a non-standard SSH port (i.e. 766 ) which an iptable rule then forward from host:766 to vm:22 . So when I create a new repo, the instruction to add a remote provide a mal-formed URL (as it doesn't use the 766 port. For instance, the web interface give me this: Malformed git remote add origin git@git.domain.com:group/project.git Instead of an URL containing :766/ before the group. Wellformed git remote add origin git@git

Multiple IP addresses on Google Cloud Compute

泄露秘密 提交于 2019-12-09 03:58:42
问题 I'm trying to setup my VM based on CentOS 7 with more than one internal IP address, but it doesn't seem to be as straightforward as Amazon AWS. 回答1: You can add internal IP for VM using routes. (https://cloud.google.com/compute/docs/reference/beta/routes) Here an example of setting another static internal IP to VM: https://cloud.google.com/compute/docs/networking#staticnetworkaddress 来源: https://stackoverflow.com/questions/37979603/multiple-ip-addresses-on-google-cloud-compute

creating symbolic link: Protocol error

随声附和 提交于 2019-12-08 22:53:04
问题 I have created linux (Centos) on my virtual box. When I ssh to it and I try to create symbolic link (on my shared folder with full access): ln -s path/folder/example myFolder I get error: ln: creating symbolic link `myFolder': Protocol error Is there any reason or solution to this? 回答1: It's a problem with the host filesystem. Check the permissions on the host folder are adequate and the the host filesystem supports symlinks. 回答2: Right click on your command prompt and "Run as Administrator"