virtual-machine

Cannot connect to VM VirtualBox Linux Nginx server after restarting my computer

江枫思渺然 提交于 2020-01-25 07:53:48
问题 I recently setup an Ubuntu 12.04 LTS server running nginx, and I could connect to it via its IP address. However, after restarting my computer I can no longer connect to the server in any browser but I can connect via SSH through puTTy. No clue what's going on and ifconfig shows that the IP address has not changed and I changed no settings on the server. How can I fix this? This picture shows the chrome window response when I try to access the server, the ifconfig from the server (top right),

Is there a way I can have a VM gain access to my computer?

拜拜、爱过 提交于 2020-01-25 07:06:27
问题 I would like to have a VM to look at how applications appear and to develop OS-specific applications, however, I want to keep all my code on my Windows machine so if I decide to nuke a VM or anything like that, it's all still there. If it matters, I'm using VirtualBox. 回答1: This is usually handled with network shares. Share your code folder from your host machine and access it from the VMs. 回答2: Aside from network shares, another tool to use for this is a version-control system. 回答3: You

How do I setup 1 to 1 NAT in google cloud?

纵饮孤独 提交于 2020-01-24 22:10:14
问题 I am new to google cloud, I have been able to setup 1-to-many NAT but need to setup 1-to-1 NAT in google cloud? How do I do this!??! I cannot find the proper documentation, or figure out ... What steps do I need to do to assign an external ip, to an internal ip, and setup the internal ip.s etc. for a single vm. 回答1: Google Compute Engine does not provide a service that offers 1:1 NAT so you'd have to build this yourself. 来源: https://stackoverflow.com/questions/37645146/how-do-i-setup-1-to-1

how to get Oracle vm VirtualBox 6.0 and wsl working at the same time

不羁岁月 提交于 2020-01-22 16:37:35
问题 when i Turn on Windows Subsystem for Linux option in Windows features on or off VirtualBox out an error every time i run a vm Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED). Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} is there a way to fix the VirtualBox error without turn off wsl 回答1: I found it! After much research, and trial and error, here is what enabled me to run VMs

Virtualbox returning errorID=BLKCACHE_IOERR

。_饼干妹妹 提交于 2020-01-22 05:51:36
问题 I was using a guide in order to create a basic Jira plugin as sort of a experimental/hands-on way to get comfortable and familiar with the Jira SDK and with creating plugins regarding Listeners. I am running Ubuntu on a VM, and I followed all the steps included in the guide. My VM started to freeze, and I thought it was maybe Jira at first but now I know there is something wrong with the VM itself. I get this error: An error has occurred during virtual machine execution! The error details are

Oracle virtual box inaccessible

早过忘川 提交于 2020-01-20 12:58:13
问题 I am using Oracle Virtual Box version 4.2.16 r86992. Everything was fine until yesterday shutdown. Today, it shows inaccessible and throws this error: Runtime error opening C:\Users\xxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\vBoxxxxXubuntu_Beta.vbox for reading: -102 (File not found.). D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[725] (long __cdecl Machine::registeredInit(void)). It's good to restore this to working, It would save lot of time and restore configuration settings

Oracle virtual box inaccessible

拜拜、爱过 提交于 2020-01-20 12:55:05
问题 I am using Oracle Virtual Box version 4.2.16 r86992. Everything was fine until yesterday shutdown. Today, it shows inaccessible and throws this error: Runtime error opening C:\Users\xxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\vBoxxxxXubuntu_Beta.vbox for reading: -102 (File not found.). D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[725] (long __cdecl Machine::registeredInit(void)). It's good to restore this to working, It would save lot of time and restore configuration settings

Oracle virtual box inaccessible

早过忘川 提交于 2020-01-20 12:53:09
问题 I am using Oracle Virtual Box version 4.2.16 r86992. Everything was fine until yesterday shutdown. Today, it shows inaccessible and throws this error: Runtime error opening C:\Users\xxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\vBoxxxxXubuntu_Beta.vbox for reading: -102 (File not found.). D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[725] (long __cdecl Machine::registeredInit(void)). It's good to restore this to working, It would save lot of time and restore configuration settings

How to forward a port to vagrant guest if this port already listened by host machine

做~自己de王妃 提交于 2020-01-17 07:02:18
问题 For example I have an app which run vagrant machines dynamically and expect some info from them will be sent through http to specific host machine port. So, my app listening specified port (http server) and I can't forward that port: C:\node-vagrant-test-task>vagrant reload ==> default: Clearing any previously set forwarded ports... Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already listening on these ports. The

How can we specify the execution time for any virtual machine (vm) in cloudsim simulator

☆樱花仙子☆ 提交于 2020-01-16 16:35:15
问题 if we have 50 cloudlets/tasks and 1 virtual machine (vm) how can we make vm to run for specific time in order to apply RR method and cloudelts are run in time slice or quantum 回答1: In fact, CloudletSchedulers in CloudSim don't implement the concept of time slice/quantum. If you need to assess Cloudlets' preemption process, you can check CloudSim Plus, it's a full-featured, state-of-the-art, completely re-engineered and actively maintained CloudSim fork. It provides an implementation of the