vagrant

Updating Vagrant and Gems Extentions Not Built In

ⅰ亾dé卋堺 提交于 2020-01-23 18:27:53
问题 Should I be concerned with the gems for running vagrant? ➜ ~ vagrant version Ignoring nokogiri-1.6.3.1 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.3.1 Ignoring unf_ext-0.0.7.1 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.1 Installed Version: 1.9.0 Latest Version: 1.8.7 You're running an up-to-date version of Vagrant! ➜ ~ gem pristine nokogiri --version 1.6.3.1 ERROR: While executing gem ... (Gem::Exception) Failed to find

Upgrade from Vagrant 1.3.5 to 1.4.3. Fails on `vagrant-berkshelf` plugin

坚强是说给别人听的谎言 提交于 2020-01-23 16:05:10
问题 Note - this question is also posted in https://groups.google.com/forum/#!topic/vagrant-up/aZOs1YXmvhI Setup C:\Users\Kevin>vagrant -v Vagrant 1.4.3 C:\Users\Kevin>VBoxManage -version # VirtualBox version 4.3.10r93012 C:\Users\Kevin>vagrant plugin list vagrant-berkshelf (2.0.0) vagrant-omnibus (1.3.1) vagrant-vbguest (0.10.0) C:\Users\Kevin>ruby -v ruby 1.9.3p484 (2013-11-22) [i386-mingw32] EDIT I just installed & updated my %PATH% to use ruby 2.0, but still having the same issue. On a Windows

Trouble setting up Vagrant

耗尽温柔 提交于 2020-01-23 03:15:47
问题 I've been trying to setup Vagrant to learn Django for a while now. I am following [http://gettingstartedwithdjango.com/en/lessons/introduction-and-launch/][1] tutorial. The first error is default: stdin is not a tty and the second is ==> default: ERROR: Error installing chef: ==> default: mixlib-shellout requires Ruby version >= 1.9.3. The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log

When “vagrant up” it says “It appears your machine doesn't support NFS” (Debian jessie)

余生颓废 提交于 2020-01-22 16:42:34
问题 Issue when vagrant up it says "It appears your machine doesn't support NFS" Setups Debian GNU/Linux 8 (jessie) Vagrant 1:2.0.0 Virtualbox 5.1.30 r118389 Detail After using apt-get to update and upgrade the system, I basically followed the instruction from the Mediawiki page, since I wanted to install Mathoid to render LaTeX equations locally for mediawiki page. However, when I vagrant up it echos the following: It appears your machine doesn't support NFS, or there is not an adapter to enable

When “vagrant up” it says “It appears your machine doesn't support NFS” (Debian jessie)

旧城冷巷雨未停 提交于 2020-01-22 16:40:26
问题 Issue when vagrant up it says "It appears your machine doesn't support NFS" Setups Debian GNU/Linux 8 (jessie) Vagrant 1:2.0.0 Virtualbox 5.1.30 r118389 Detail After using apt-get to update and upgrade the system, I basically followed the instruction from the Mediawiki page, since I wanted to install Mathoid to render LaTeX equations locally for mediawiki page. However, when I vagrant up it echos the following: It appears your machine doesn't support NFS, or there is not an adapter to enable

configure the php.ini on vagrant homestead

孤街醉人 提交于 2020-01-22 05:40:25
问题 I want to allow short_open_tags in php.ini I want to access to the php.ini on my vagrant box configured with homestead. I saw the php.ini file in /etc/php5/fpm/php.ini But ... permission denied Is somebody knows ? Thanks 回答1: Here is how you grant read/write access to php.ini, modify it, save changes & reload nginx: 1. Navigate to folder containing php.ini: $ cd /etc/php5/fpm 2. Grant read/write access: $ sudo chmod -R ugo+rw php.ini 3. Open php.ini: $ vim php.ini 4. Enter edit mode: $ i 5.

configure the php.ini on vagrant homestead

ぃ、小莉子 提交于 2020-01-22 05:40:11
问题 I want to allow short_open_tags in php.ini I want to access to the php.ini on my vagrant box configured with homestead. I saw the php.ini file in /etc/php5/fpm/php.ini But ... permission denied Is somebody knows ? Thanks 回答1: Here is how you grant read/write access to php.ini, modify it, save changes & reload nginx: 1. Navigate to folder containing php.ini: $ cd /etc/php5/fpm 2. Grant read/write access: $ sudo chmod -R ugo+rw php.ini 3. Open php.ini: $ vim php.ini 4. Enter edit mode: $ i 5.

Virtualbox not installing on High Sierra [closed]

血红的双手。 提交于 2020-01-22 04:30:06
问题 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 2 years ago . When installing Virtualbox via brew cask install virtualbox I get the following error: ==> Satisfying dependencies ==> Downloading http://download.virtualbox.org/virtualbox/5.1.28/VirtualBox-5.1.28-117968-OSX.dmg Already downloaded: /Users/romanderlemenko/Library/Caches/Homebrew/Cask/virtualbox--5.1.28-117968

【scrapy】【四】scrapy项目

依然范特西╮ 提交于 2020-01-19 12:07:39
scrapy shell是用来调试的,要写爬虫需要建一个项目 1、建立项目 先启动虚拟机:vagrant up 如果有启动不了的情况,直接打开virtualbox启动就行,然后回到windows的cmd下登录:vagrant ssh 或者直接在virtualbox里操作虚拟机【virtualbox里登录是需要密码的,俩都是vagrant】。 然后建立一个名字是projecties的项目,发现是python2.7的。 $ scrapy startproject projecties 显示结果: New Scrapy project 'properties', using template directory '/usr/local/lib/python2.7/dist-packages/scrapy/templates/project', created in: /home/vagrant/properties You can start your first spider with: cd properties scrapy genspider example example.com 然后我就在virtualbox里删掉了上面那个项目:rm -rf projecties 在conda里新建了一个python3的环境,激活环境后重新开始创建项目,结果如下

Vagrant 切换用户

泄露秘密 提交于 2020-01-18 08:18:44
在虚拟机 vagrantfile 的目录位置 打开控制台,输入 $ vagrant ssh - config Host k8s - m1 HostName 127.0 .0 .1 User vagrant Port 2222 UserKnownHostsFile / dev / null StrictHostKeyChecking no PasswordAuthentication no IdentityFile D : / vagrant - file / file1 / . vagrant / machines / k8s - m1 / virtualbox / private_key IdentitiesOnly yes LogLevel FATAL Host k8s - n2 HostName 127.0 .0 .1 User vagrant Port 2200 UserKnownHostsFile / dev / null StrictHostKeyChecking no PasswordAuthentication no IdentityFile D : / vagrant - file / file1 / . vagrant / machines / k8s - n2 / virtualbox / private_key IdentitiesOnly yes