virtual-machine

Persuading git to handle symlinks correctly on vboxsf filesystem

可紊 提交于 2019-12-14 03:26:12
问题 When I git clone a repository with symlinks on a vboxsf filesystem the symlinks all work fine, but git always say that the file has been updated, even if the change is added to the repo. When I use it on the ext4 filesystem on root, everything works fine. I am using a Vagrant VM on Windows. The vboxsf filesystem is the type used for a directory shared with the Windows host. It is capable of supporting symlinks (despite the underlying filesystem being on Windows). $ git --version git version 1

VirtualBox Keystroke gets random changes

喜你入骨 提交于 2019-12-14 02:44:00
问题 I have a school project about it security. My job is it to customize a hardware mouse with a usb hub and a teensy to program it. The code on the teensy gets executed when it gets dark (light dependent resistor). The code takes some files on the win7 vm and upload them to an Apache2 server hosted on a kali vm (via cmd commands in win7 vm). Everything works fine in vmware, but I have to use virtualbox for my project. My problem is now that in virtualbox the cmd commands randomly changes with

Unknown Exception with Code: 13

怎甘沉沦 提交于 2019-12-13 09:08:58
问题 I have created a new project, then went to VM Instances. It says "enabling compute engine". After some time, it throws the following error: Unknown Exception with Code: 13. Why am I receiving this error? Do I have to set up permissions or anything else? 回答1: In some cases that error occurs because your project doesn't have a billing account assigned. You can check if this is your problem in the left menu Billing -> Manage Billing Accounts from drop down box. 来源: https://stackoverflow.com

Deallocate a Ubuntu VM from itself

元气小坏坏 提交于 2019-12-13 08:39:06
问题 I am using a Ubuntu 16.04 VM in Azure to run some GPU computation. Typically, I run my experiments at night and I would like to deallocate the VM when the computation is over (to save some money). Is there any command that I can run from the VM I want to deallocate to actually deallocate it? Shall I just use the Azure CLI? Thanks in advance. 回答1: Yes, it is possible. When your script works successful, you could judge the return value. Then, execute Azure CLI to deallocate your VM. ##your

Checking if Virtual Machine is restarting using logic apps

不羁岁月 提交于 2019-12-13 08:38:19
问题 I am trying to use resource event occurs from a Microsoft tutorial. I know how to detect if a subscription is deleted or created. I cant find a way to detect if a virtual machine i am using restarts 回答1: We have a document that explains the different kinds of reboots. In that doc you will find a link to the Activity Logs which you can use to find when a VM reboots among other actions https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/understand-vm-reboot https://docs

Connecting to MySQL outside of Vagrant box

ε祈祈猫儿з 提交于 2019-12-13 07:58:14
问题 I tried to sudo netstat -natp | grep mysql to see what port mysql was listening on and I see that it is actually listening on what is below. I also did an ifconfig to see what ip I was on within the vagrant box. I am trying to find out this info so that I can connect to a mysql database through a vagrant virtual machine, but use that information in an .env inside of a laravel application that is outside of the box. Can anyone help? tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST 回答1: In /etc/my.cnf, make

Re-enable Remote Desktop Windows Firewall Rule on Windows Azure

时光怂恿深爱的人放手 提交于 2019-12-13 05:15:38
问题 I have disabled the remote desktop firewall rule in a Windows Azure virtual machine.As you would expect, I can no longer remote desktop in to the server. Does anyone know if it is possible to re-enable the Remote Desktop Windows firewall rule? What I have tried As a long shot, I have downloaded the Windows Azure CLI but can't see anything in there that would do it but have not found anything. I have also tried to execute the following command against the MSSQL server: EXEC xp_cmdshell 'netsh

Need a machine to run selenium Grid test cases

£可爱£侵袭症+ 提交于 2019-12-13 04:36:17
问题 I would like to check my selenium grid test cases on a server(any machine other than localhost).I need chrome , firefox and IE browsers in the server. Is there any way to do this ? I checked few sites like koding.com , but it is only offering me unix interface,I need full windows/Ubuntu interface. Please let me know if there is any other method to execute my test cases ? 回答1: VirtualBox is good and works well for grid tests, I expect it to be a fairly common solution. Same IP is not a problem

Time Synchronization Ubuntu Server Under Parallels

雨燕双飞 提交于 2019-12-13 03:50:49
问题 I've installed Ubuntu Server (8.04) into Parallels and found that the system time/clock ran fast to the extent that it would gain hours over time. 回答1: What about using an NTP service to keep it sync'd? 回答2: You could just want to install ntpd, it works well enough on real servers, should also do the trick on virtual ones. Another possibility is to check if Parallels has a configuration option like "Sync guest clock to host clock". 来源: https://stackoverflow.com/questions/88289/time

Azure VM stats - Network In/Out - what are the measurements?

人走茶凉 提交于 2019-12-13 03:45:15
问题 I feel perturbed, but I don't understand the measurement Azure uses for Network In/Out and a few other things. On Azure portal -> my VM -> Metrics -> [Host] Network In/Out, it says that it is measured in bytes, but then it also draws graph over time. If it were plain, bytes, it should be cumulative and therefore grow indefinitely, but it isn't, therefore I am inclined to believe it is measured per second or something like that. But Azure docs claim that it is bytes and not bytes per second