jjzjj

vagrant-plugin

全部标签

windows - 无法在 Vagrant 安装的 Windows 2008 R2 Standard 中运行 PowerShell 脚本

我无法运行此PowerShell脚本#Execute.exefileGet-ChildItem"C:\vagrant"-Filter*.exe|WhereName-NotMatch'.*NoDB\.exe$'|%{New-Objectpsobject-Property@{No=[int]([regex]::Match($_.Name,'(?在WindowsWindows2008R2Standard因为**********************WindowsPowerShellTranscriptStartStarttime:20160719080730Username:VAGRANT

windows - 如何加快 vagrant 共享文件夹的速度

我已经在运行centosVM的Windows8上使用vagrant大约一个星期了。因为我发现在处理共享文件夹(/vagrant)中的文件时,在centos虚拟环境中运行的东西有很多问题,所以我设置了一个文件观察器,当我在windows中更改文件并写入时自动更新文件在/home/vagrant/下的某个地方。这样一来,我的项目完全在centos环境中,没有共享文件夹中发生的任何奇怪情况。但是,我注意到文件同步大约需要15秒。我们谈论的是大约150行或更少的文件——小文件。15秒是永恒。所以我的问题是:天哪,这是怎么回事?我怎样才能加快速度?不到一秒是最理想的。编辑/测试周期让我想起了在C

windows - Windows 8.1 更新后的 Vagrant 错误

最近将我的操作系统从Windows8更新到Windows8.1后,我的vagrant设置停止工作。我尝试在盒子上运行vagrantup,我得到以下信息:$vagrantupBringingmachine'default'upwith'virtualbox'provider...[default]BootingVM...[default]Waitingformachinetoboot.Thismaytakeafewminutes...TheguestmachineenteredaninvalidstatewhilewaitingforittobootValidstatesare'star

windows - 使用 Vagrant 和 Puphpet 配置 AWS EC2 实例

我在使用Windows7上的Puphpet、Vagrant启动和运行AWS机器时遇到问题。盒子已创建,我可以通过SSH连接到它(包括vagrantSSH),但是当Vagrant尝试时似乎出现了问题设置同步文件夹(我已尝试根据下面的配置禁用synced_folder,但无济于事-同样的错误)。Vagrant的输出:$vagrantupBringingmachine'default'upwith'aws'provider...==>default:PreparingSMBsharedfolders...default:Youwillbeaskedfortheusernameandpassw

windows - 如何使用 Vagrant 和 Hyper-V 获取共享文件夹?

之后:启用MicrosoftHyper-V,如此处所述:https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v暂时禁用我的防病毒软件(Avast)在管理员模式下启动我的命令行程序(例如“以管理员身份运行”),使用Hyper-V实例启动Vagrant(2.2.3):$Vagrant使用以下示例Vagrantfile:Vagrant.configure("2")do|config|config.vm.box="bento/ubuntu-16.04"confi

windows - vagrant-proxyconf "` 拆分': bad URI"error on installing plugin for Vagrant

请注意,我在Windows环境中运行它。我在公司代理后面工作,并试图获得vagrant-proxyconf插件工作,因此可以将Vagrant机器设置为通过代理工作。但是,在执行vagrantplugininstallvagrant-proxyconf时,出现以下错误:Bundler,theunderlyingsystemVagrantusestoinstallplugins,reportedanerror.Theerrorisshownbelow.Theseerrorsareusuallycausedbymisconfiguredplugininstallationsortransie

python - Vagrant w/windows 作为主机,由于 crlf,文件不在 vm 上运行

我正在尝试将vagrant设置为以windows作为主机,以ubuntu作为guest。我想将vagrant文件本身提交到repo,所以步骤是,在Windows中克隆repo,vagrantup并准备好并运行env。问题是,由于repo是在windows中克隆的,所以所有文件都有crlf。当这些从vagrantssh执行时,抛出错误repo如何在vagrant中与windows作为主机和linux作为访客共存,以便我使用windows的队友仍然可以安全地编辑文件并提交它们?提前致谢 最佳答案 我不会推荐core.autocrlf设置

linux - 如何在 Windows 主机上的 Vagrant 中以区分大小写的方式处理文件

在我的Windows8上,我安装了VirtualBox+Vagrant。我用了LaravelHomestead(withUbuntu)作为盒子。在此VM上运行站点或运行命令行时,我希望它在Linux而不是Windows上运行。但是我发现了一些奇怪的问题:首先是我的文件夹映射:folders:-map:D:\DaneAplikacji\easyphp\data\localweb\projects\testprovag\stronyto:/home/vagrant/codesites:-map:learn.appto:/home/vagrant/code/my-first-app/publ

windows - 使用 vagrant ssh 时如何粘贴到 SourceTree 终端窗口

在Sourcetree中,当您单击终端并在窗口中使用vagrantssh命令时,如何从剪贴板粘贴文本?这些不起作用:Ctrl+VCtrl+Shift+Ins在窗口中右击并选择粘贴。 最佳答案 要在使用Windows时粘贴到其中,您必须:右击顶部栏选择编辑选择粘贴 关于windows-使用vagrantssh时如何粘贴到SourceTree终端窗口,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/que

windows - Vagrant up 命令给出在 %PATH% 错误中找不到的可执行文件

我已经安装了vagrant并且成功添加了vagrantubuntubox。但是在从项目目录运行“vagrantup”命令时,我得到了这个错误:Theexecutable"powershell"vagrantistryingtorunwasnotfoundinthe%Path%variable.Thisisanerror.Pleaseverifythissoftwareisinstalledandonpath.我还安装了Putty客户端并进行了配置。注意:“vagrantinit”命令工作正常,它在目录中创建了一个vagrant文件。Vagrant版本:1.9.7VagrantFile包