virtual-machine

How can I restore my vagrant VM ( all file have been deleted)?

和自甴很熟 提交于 2019-12-22 18:39:13
问题 I don't know why but after doing vagrant halt then up, all my file in the VM are lost. There is only an empty data file. And when I SSH into it , putty tell me that the key has changed. I have saved a package.box that maybe can help to restore my VM. I really don't know what to do. Thanks very much 回答1: In some occasions, vagrant seems to recreate a new VM while there is existing ones. If you need to re-associate an existing VM to your current vagrant project directory, you can run the

Authorization with Websphere MQ 6

坚强是说给别人听的谎言 提交于 2019-12-22 12:22:08
问题 I have the server side of IBM's WebSphere MQ version 6 on a virtual machine running Windows Server 2003, sitting on a Vista desktop. The desktop has the client installed. I've got a little test program (from their code samples) that puts a message on a queue and takes it off again. This program worked when run on the server directly with the server binding. However, I can't get it to work from the client side with the client binding. The error I get is CompCode 2, Reason 2035, which is an

Creating an Android virtual device with Genymotion - Android

独自空忆成欢 提交于 2019-12-22 12:21:07
问题 I gave up using Android Studio to start my custom .avd Android image via Android Virtual Device Manager (it was taking more than 30 min). Now I'm trying to import Bradley.avd (along with Bradley.ini ) in Genymotion . However, when I click Add+ I don't have a way to import my .avd . How can I import / use .avd into Genymotion ? I've added the two screen shots for clarification in what I'm trying to do. I also have Virtualbox installed. 回答1: You can't - Genemotion and "Android virtual device"

Does Google Cloud services support nested virtual machines?

£可爱£侵袭症+ 提交于 2019-12-22 10:37:07
问题 I'm trying to configure an application to run on Google Cloud. I was able to start a VM running Windows 2008 Server (64bit) and install VMWare Player inside it. Then I tried to install and boot a second VM within VMWare Player, and Windows crashed. So, my question is, does Google Cloud support "nesting" VMs in this fashion? In case it matters, the "inner" VM's operating system was Linux (also 64-bit). 回答1: You cannot run Virtual Machine inside the GCE VM, as Virtualization is not enabled in

Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running

牧云@^-^@ 提交于 2019-12-22 10:06:15
问题 I'm trying to execute an android program in eclipse kepler. However, every time I execute I get this message. I did what everyone said about this problem like: - Making sure there is a line on windows Host file that contain this line: 127.0.0.1 localhost - Going to Window -> Preferences -> Android -> DDMS and: 1. Setting local debugger port to 8601 2. Check the box Use ADBHOST and the value should be 127.0.0.1 However, none of these things fixed my problem. Note: I'm using windows 8.1. 回答1:

Where to install device drivers to make docker recognize the device?

被刻印的时光 ゝ 提交于 2019-12-22 05:41:29
问题 I have some binaries running on ubuntu that control various devices like onboard/usb wifi/bluetooth chips. Some chips will require additional drivers. My guess is that merely installing the drivers to the docker image is not enough, and the host OS must have the drivers. Is this correct? If yes, why does the docker image need any drivers at all if the host already does? How can docker image correctly delegates to host? Do these need to be hardcoded for each driver on each host OS? Also from

Apache Spark - Memory Exception Error -IntelliJ settings

最后都变了- 提交于 2019-12-22 05:13:22
问题 When I try and run a test that uses Apache Spark I encounter the following exception: Exception encountered when invoking run on a nested suite - System memory 259522560 must be at least 4.718592E8. Please use a larger heap size. java.lang.IllegalArgumentException: System memory 259522560 must be at least 4.718592E8. Please use a larger heap size. I can circumnavigate the error by changing the vm otions in config so that it has : -Xms128m -Xmx512m -XX:MaxPermSize=300m -ea as found in http:/

How to install R on Solaris on a VirtualBox virtual machine?

北战南征 提交于 2019-12-22 04:31:30
问题 This Q&A is a response to this comment. The answer to the question in the comment is not trivial, is too big for a comment, and not suitable as an answer to the question in that thread (answering my own question is officially encouraged). If you have a better answer please post it! The question is: How to install R on Solaris on a VirtualBox virtual machine? 回答1: Start by downloading and installing Oracle VM VirtualBox. Then download and unzip the Oracle Solaris 11.1 VirtualBox Template.

Vagrant SSH Tunnelling after using `vagrant ssh`

孤街醉人 提交于 2019-12-22 04:26:12
问题 My MySQL client (Sequel Pro) is set up to connect to Vagrant over SSH. I've setup the following in my ~/.ssh/config file: Host vagrant HostName 127.0.0.1 CheckHostIP no Port 2222 User vagrant IdentityFile ~/.vagrant.d/insecure_private_key Everything works fine if I haven't run vagrant ssh . But once I've logged into the Vagrant box with that command Sequel Pro can no longer connect via SSH - it just says "The SSH Tunnel has unexpectedly closed." So I have to run vagrant reload before I can

Vagrant Up failing because the name already exists

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 04:01:53
问题 I've recently started using Virtualbox, Vagrant and VVV for my local Wordpress development environment. It's very slick. One issue I've had is that after shutting things down with 'vagrant halt', the next time I start with 'vagrant up' I get this error: ==> default: Setting the name of the VM: vagrant-local The name of your virtual machine couldn't be set because VirtualBox is reporting another VM with that name already exists. Most of the time, this is because of an error with VirtualBox not