FAQ Database Discussion Community
nginx,vagrant,salt-stack
I have a Vagrant boxset up to provision with salt. When I do a fresh vagrant up (after a vagrant destroy), nginx defaults to port 80 and the default welcome page, despite not being configured to. I can fix it by manually running sudo nginx -s reload inside the guest,...
vagrant,puppet,digital-ocean
I think I understand puppet and vagrant pretty well however I might have confused myself. So I created a Puppet setup using puphpet.com and I chose Digital Ocean as my deploy target, I then enter my API key and all is well. The final step they say is to run...
php,apache,vagrant,document-root,puphpet
I've set up a Virtual host using PuPHPet (Vagrant-Puppet-PHP) Apparently PuPHPet creates a default site for me with this configuration 10-default_vhost_80.conf <VirtualHost *:80> ServerName default ## Vhost docroot DocumentRoot "/var/www/html" ## Directories, there should at least be a declaration for /var/www/html <Directory "/var/www/html"> Options Indexes FollowSymlinks MultiViews AllowOverride All Require...
django,vagrant,wagtail
I was following the tutorial here and got to the point where I called djrun and found nothing happening on http://localhost:8000.
vagrant,vagrantfile
I'm problem with my Vagrant boxes. I had a number of boxes in operation, opened my Vagrantfile to add a new box config. Then when I ran vagrant up new_box, I was told that it could not boot and was subsequently placed in poweroff state. Now ALL my boxes are...
node.js,osx,jenkins,npm,vagrant
Before I start, I want to say that I already checked these answers: Jenkins build step fails on 'npm install <whatever>' Jenkin's build failing on npm install Now, I'm dealing with this issue for a while already and thus I tried a bunch of stuff. Firstly, I installed node +...
php,nginx,vagrant
I setup a nginx+mysql puphpet/vagrant image, with a virtual host "test.com". I mapped test.com to 192.168.56.101 on the host machine, and put an index.php file inside the test folder in /var/www/test. However, when I try opening the browser at the address test.com on the host machine I get no response....
bash,shell,vagrant,vagrantfile,phppgadmin
How would I get my Vagrant shell script to supply the password when creating a user while provisioning phpPgAdmin? ie. when I supply this command sudo htpasswd -c /etc/phppgadmin/.htpasswd vagrant it prompts for a password for the vagrant user so I can login to phpPgAdmin. How can I script this...
windows,html5,apache2,vagrant,atom-editor
I am using vagrant for development of a HTML5 app. I use Apache2 as web server. After I add some lines to my synced json file, my server serves unknown characteres at the end of the file instead of my changes. Any ideas why this strange behaviour happens?
shell,nginx,vagrant,passenger
This is my first post to SO so I hope I'm asking this correctly. I wrote a shell script to automate the installation of Passenger & Nginx (along with some other components) without any user input on a Vagrant VM running Ubuntu 14.04. It works fine using the following: echo...
vagrant,virtualbox
I have been trying to replace manual vitualbox setup with vagrant. I usually create a guest node with 2 network adapters a NAT for the guest(ubuntu) to use the host internet for all apt-get operations, and a hostonly for my host to connect to the guest. I has been working...
vagrant,meteor-up,vagrant-windows
I'm trying to mup deploy the todos example of Meteor to a Vagrant VM running Ubuntu 14.04 LTS x64. Meteor Up supports Windows (I'm on Windows 7): You can use install and use Meteor Up from Linux, Mac and Windows. This is my c:\code\todos\mup.json: { "servers": [ { "host": "127.0.0.1",...
vagrant,berkshelf,vagrant-plugin
I am using Windows with vagrant and chefdk installed. I can successfully vagrant up a VM without problem. So my next thing to do is to add provisioning feature to it. I downloaded some cookbooks and created a Berksfile to solve the dependencies, however when I run vagrant provision, it...
vagrant,jshint
Good day to all: I had these error while installing JShint and CSS Linter thru my Vagrant environment. I'm using Vagrant in Windows and Ubuntu is on my vagrant box. I already installed npm and nodejs, tried lot of updates way but no luck. Maybe others can shed a light....
drupal-7,vagrant,phpstorm,drush
I'm wondering if it's possible to use the command line tool in PHPstorm to run Drush on a Vagrant box? If so how do I go about this? Thanks, Neil....
vagrant,salt,vagrantfile,salt-stack,vagrant-plugin
I would like to use minion.d/*.conf to provision a vagrant machine. Here is my Vagrant configuration: Vagrant.configure("2") do |config| ## Choose your base box config.vm.box = "precise64" ## For masterless, mount your salt file root config.vm.synced_folder "salt/roots/", "/srv/salt/" ## Use all the defaults: config.vm.provision :salt do |salt| salt.minion_config = "salt/minion"...
vagrant,coreos,systemd,kubernetes,etcd
So I'm trying to setup a master Kubernetes node on coreos in vagrant. I'm using the example master cloud-config, found here https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/coreos/cloud-configs/master.yaml with the addition of this as the first units: - name: etcd.service command: start - name: fleet.service command: start - name: docker-tcp.socket command: start enable: true content: |...
php,netbeans,vagrant
I have a project cloned from github repository on my vagrant machine. How can I open it with netbeans on my host machine, and make changes so that it automatically deploys to vagrant? I have been thinking about SFTP, but I don't have vagrant password, user, or other things -...
heroku,vagrant,virtualbox,.netrc
I can't run Heroku from Virtualbox home shared folder and receive permission error every time: [email protected]:~/projects/mysite$ heroku login Permission bits for '/home/user/.netrc' should be 0600, but are 777. You should run chmod 0600 /home/user/.netrc so that your credentials are NOT accessible by others. I believe the problem is about the...
ubuntu,vagrant,virtual-machine,docker-swarm
I'm trying to create a swarm cluster of diffferent ubuntu VMs running in Vagrant. These have docker enabled via the vagrant file that boots them. Of the three VM's I started the swarm cluster on one machine in the following way docker pull swarm docker run --rm swarm create This...
amazon-web-services,vagrant,puppet,digital-ocean
I have done some googling however I couldn't quite find what I wanted. What I am trying to achieve is have a local, development staging and live all using vagrant and puppet/chef. Now I could be totally wrong and missing something but could I for example on my local development...
laravel,vagrant,virtual-machine,homestead
Up till now I've used a wamp server and thought I'd give Laravel Homestead a try as it's meant to be easier! I'm having problems getting the set up right and I'm confused about what I'm doing and where I should be doing them. I've got vagrant and virtual box...
windows,vagrant,virtualbox
Is there any difference between typing vagrant halt and right clicking on the box in Virtual Box and selecting close>power off Also on my Windows 7 machine running Vagrant on VirtualBox should I shut down Vagrant using vagrant halt before putting the machine to sleep or hibernating or does it...
python,vagrant,devstack,edx,paver
I installed OpenEdx with Vagrant, When I try to launch paver devstack studio or paver devstack lms with --fast or not, I got one error: IOError: [Errno 20] Not a directory: '/edx/app/edxapp/edx-platform/common/lib/xm odule/xmodule/js/common_static/js/vendor/draggabilly.pkgd.js' I try a lot of tricks I could see on StackOverflow, but nothing work. (I tried the...
git,shell,vagrant
I am using the VVV vagrant box (https://github.com/Varying-Vagrant-Vagrants/VVV) I am trying to build my own shell script that downloads a repository. I am doing this: echo "cloning staging server repo" git clone https://[email protected]/rep/therepo.git If I run this shell script on its own then the command prompt will ask me to...
vagrant,sudo
I am a new student about vagrant. I just found that I can change to root by "sudo su -" without entering a password when inside the box supervised by Vagrant. Curiously I checked the "/etc/sudoers" and found nothing about user vagrant. Can anyone kindly explain this?
git,vagrant,virtual-machine
I'm about to start a project with new coworkers and we're trying to find the best way to set up our work environnements. We're using Vagrant and Virtual Box to work on the same environnement and about git, we were wondering if it was best to install git inside the...
laravel,vagrant,homestead
I'm installing homestead for Laravel 5 (Windows) I've Already installed Vagrant and VirtualBox Following this tutorial: https://laracasts.com/lessons/say-hello-to-laravel-homestead-two When i run homestead up This is the error result: C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown> ): did not find expected key while parsing a block mapping at line 3 column 1 (P sych::SyntaxError) from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in...
vagrant,puppet,puppetlabs-mysql
I want to use vagrant, and I defined the following puppet file: http://pastebin.com/GfJK1ziS When vagrant tries to install the modules everything works as expected. But when it tries to configure mysql, it always get this error: Error: Validation of Mysql_grant[${username}@%/${db_name}.*] failed: name must match user and table parameters What can...
php,git,docker,vagrant
So I recently discovered docker and vagrant, and I'm starting a new Php project in which I want to use both: Vagrant in order to have a interchangeable environment that all the developers can use. Docker for production, but also inside the vagrant machine so the development environment resembles the...
vagrant,puphpet
I've created a Vagrant/puPHPet server which starts up fine and I can browse to the web server and access MySQL through Adminer -- for a few minutes. Then I get connection time-out errors and am forced to vagrant halt and vagrant up again. This server was working great until, for...
vagrant,yaml,homestead
I was editing my homestead.yaml file and I am certain the indentation is correct -- I however get this following error: Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: shell provisioner: * Shell provisioner...
docker,vagrant,virtualization
Can anybody explain to me the difference? Provisioner - is something doing provision - in docker installing, running, pulling containers. Provider - is something that runs the VM. I.e. VBox runs the ubuntu OS image. How can be Docker a provider? It runs directly some docker image? If I'm on...
vagrant,chef
I'm trying to setup a workflow to develop Chef cookbooks locally. We're currently using Chef Server with the provisioned nodes using chef-client. As part of the new workflow, we want to be able to start using Vagrant to test cookbooks locally to avoid incurring in the costs of testing on...
vagrant,vagrant-windows
Hope someone can help out here. I'm trying to version self hosted vagrant boxes, so doing this without using Vagrant Cloud. I've created the following meta data file: { "description": "How about this", "name": "Graphite", "versions": [ { "version": "1.8", "providers": [ { "name": "virtualbox", "url": "http://desktopenvironments/Graphite/Graphite_1.8.box" } ] }...
python,windows,ubuntu,vagrant,virtualbox
I'm a developer-hobbyist running Windows 8.1 on a Yoga 2 Pro. I mostly do Python/Django work but I think I'm gonna pick up Ruby soon. The thing is, Windows always seems to be the limiting factor for any project I want to pick up. Last time I tried to install...
osx,configuration,vagrant
I am configuring Vagrant environment on my machine and while firing the 'vagrant up' command, getting the following error: Unknown configuration section 'cache' I tried the steps mentioned at this link:https://github.com/fgrehm/vagrant-cachier/issues/20 but it didn't help. I am using a Mac with Mavericks and CentOS image virtual box. Vagrant version -...
logging,vagrant,puppet
I use Puppet as provisioner within Vagrant. I'd like to see only "warn" and higher log level output on puppet's console output. Is it possible to configure the default log level [1] for Puppet in Vagrant to "warn"? Does this affect the console output? [1] https://docs.puppetlabs.com/references/latest/configuration.html#loglevel...
networking,docker,vagrant
I have a lab environment I have setup using vagrant. It consists of 3 machines, two application servers with docker 1.4.1 installed and one database server with postgres 9.3 installed. All machines are running Centos 6.6. The environment is setup using a host-only private network. Here's the vagrant file Vagrant.configure('2')...
mongodb,vagrant,ansible
I'm installing mongo extension for PHP in my vagrant with this task --- - name: Intall MongoDb PHP extension sudo: yes command: "pecl install mongo" - name: Copy mongo extension INI to mods-available folder template: > src=mongodb_extension.ini.j2 dest={{ php_conf_dir }}/mongodb.ini owner=root group root mode=644 - name: Enabling mongo config in...
laravel,cygwin,install,vagrant
I am trying to setup Laravel homestead on a windows machine according to the documentation here: http://laravel.com/docs/5.0/homestead#installation-and-setup. However when I get to the 'Launch The Vagrant Box' step I get the following error when I try to 'vagrant up' from cmd: D:/Homestead/scripts/homestead.rb:4:in `configure': undefined method `[]' for false:FalseClass (NoMethodError) from...
php,css,caching,vagrant,laravel-5
Environment Information Framework: Laravel 5 Application Environment: Vagrant, Virtual Box OS: Mac OS X Yosemite Browser: Chrome What's Happening: CSS will not update after the initial page load. My vagrant environment uses a file share, and I have validated that the CSS changes are updating upon performing a save; but...
ssh,vagrant,homestead
I've got a question regarding Homestead/Vagrant is it possible to ssh into the Vagrant VM from another computer? Here's my scenario: Homestead running into a windows PC with IP 192.168.0.201 Another windows machine with ip 192.168.0.200 From the second windows machine which is my PC I want to ssh into...
php,apache,vagrant,puphpet
The title resumes it pretty well. Php is not being interpreted by apache with a virtual machine/vagrant generated by puphpet. It seems to be a problem connected to a refactoring of apache and it's pretty recent. In the puphpet blog, I found this: For Apache, I completely dropped support for...
ssh,vagrant,virtual-machine,scp,public-key
I got a problem with adding an ssh key to a Vagrant VM. Basically the setup that I have here works fine. The VMs are created, I can access them via vagrant ssh, the user "vagrant" exists and there's an ssh key for this user in the authorized_keys file. What...
keyboard,vagrant,vmware,keyboard-layout,packer
I went throught the packer / atlas tutorial and got everything working, that is, I managed to build a vmware box via packer build template.json. I am fine with having everything in English (e.g. menus, help files, ...) but I need to use a keyboard with a non-US layout (German)....
vagrant,chef,ansible
Our infrastructure is getting pretty complex with many moving pieces so I'm setting up Vagrant with Ansible to spin up development environments. My question is who (Vagrant or Ansible or another tool) should be responsible for starting various such as rails s (for starting rails server) nginx nodejs (for seperate...
debian,vagrant,xorg
trying to install a vagrant i figured out a problem. I tried to install a debian jessie os and followed procedure from several docs. I choosed not to install a desktop environment. During the process i had to install linux headers and then guest additions wich failed many times. googling...
ruby-on-rails,browser,vagrant,hosts,mongrel
in vagrant I am using: box 'prorail/centos-5.8-x86_64' in vagrant i am running rails 2.3 server like: [[email protected] myapp]$ script/server => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server in my hosts file i have added this line at...
ruby,csv,vagrant
I am using the following code in Ruby require 'csv' CSV.foreach('credentials/sns.csv', :headers => true, :col_sep => ',') do | row | SNS.create(:IAM => row['IAM User Name'], :KEY => row['Smtp Username'], :SECRET => row['Smtp Password']) end and would expect at this point in Vagrant I could use config.vm.provision :shell, :path =>...
vagrant,rpc,fedora,nfs,libvirt
I'm trying to run Vagrant using libvirt as my provider. Using rsync is unbearable since I'm working with a huge shared directory, but vagrant does succeed when the nfs setting is commented out and the standard rsync config is set. config.vm.synced_folder ".", "/vagrant", mount_options: ['dmode=777','fmode=777'] Vagrant hangs forever on this...
ruby,osx,vagrant,osx-yosemite
I have not used ruby, vagrant, or rvm since upgrading to Yosemite last fall. But I now need to use Vagrant for a project so I ran the latest package installer and tried to run it. I got an error from ruby. I wasn't sure if rvm or something else...
rabbitmq,vagrant,puppet,git-submodules
I am trying to install the RabbitMQ module on my virtual machine. I used : git submodule add https://github.com/puppetlabs/puppetlabs-rabbitmq.git and I installed every dependecy I could find the same way (which are, like listed in this answer : stdlib, epel, staging and erlang). I reduced my manifest to the bare...
osx,docker,vagrant,coreos
I have created a private docker registry which is fronted by NGINX. NGINX is where the ssl terminates. I am obfuscating my domain by using my-domain.com for the purpose of this question. I am using OSX 10.10.3 which has boot2docker installed. But it should be noted that the workflow of...
linux,vagrant,backup,virtual-machine,sync
I'm using Vagrant to deploy my VMs and my current setup looks like this: server1 = VM1, VM2, VM3 ( main production server ) server2 = VM1, VM2, VM3 ( backup server ) My questions is, can I somehow sync the VMs across the different physical servers in case one...
java,ssh,vagrant
I Installed vagrant on my machine with hashicorp-precise32 virtual machine. It installed java 1.6 whereas i want java 1.8. Do i have to install another virtual machine? How to get java 1.8?
amazon-ec2,vagrant,ansible,ansible-playbook
I've an EC2 instance create using Vagrant and provisioned with Ansible. I've this task that install 2 package using apt. --- - name: Install GIT & TIG action: apt pkg={{ item }} state=installed with_items: - git - tig I want now delete/remove tig from my instance. I've removed it from...
docker,vagrant,virtualbox
I have virtual box in my ubuntu 14.4 system and vagrant is installed in virtual box. But if i try to install docker into vagrant virtual machine and used below command in vagrant machine 'docker --version ' It shows docker version and options like -help -display - color but when...
linux,bash,shell,vagrant,zsh
I'm trying my hand a little virtualisation, so I've been using vagrant to provision a centos7 vm and now I am configuring it with applications. My vagrant config runs a bootstrap.sh file which is a bash script, in it I install zsh, then I want to configure it as per...
vagrant,puppet
I'm trying to provision debian box with vagrant using puppet. And I want to add postgresql repository to sources list using puppetlabs/apt module. However, whatever I try, I keep getting this error: ==> default: Syntax error at '{'; expected '}' at /etc/puppet/modules/apt/manifests/init.pp:18 on node packer-debian-7 This is what I have...
laravel,vagrant,virtualbox,homestead
Hello fellow programmers, So i am currently assigned to install and configure Laravel 5 with homestead and Vagrant currently i am having various issues.. for now i came across the following error in my gitbash. Before this error i had run the init.sh again because someone told me he fixed...
vagrant,puphpet
Is it possible with puphpet configs to have the code directory change according to the host OS? I get that this can be done with the actual vagrant file, but I can't see how to do it from the yaml. I've attempted to add a qualifying field to the yaml:...
ruby,vagrant,vagrantfile
i got a small problem with Vagrant. In the Vagrant file, we defined a list of several virtual boxes that basically use the same configuration and are set up by vagrant: boxes = [ { :name => "box1", :vmnumber => "1", :mem => "256", :cpu => "1" }, { :name...
mysql,vagrant
What is the fastest method to reload vagrant after changing a provisioning script ? I am actually copying the file "mysql.sql" to the guest machine, in "Vagrant": config.vm.provision "file", source: "mysql.sql", destination: "mysql.sql" and call it from "bootstrap.sh": mysql -h localhost -u root -proot < /home/vagrant/mysql.sql I used to use:...
php,ubuntu,laravel,vagrant,laravel-5
Trying to configure laravel 5.1. Cloned the laravel/homestead After cloning it to Home directory. Throwing error when tried to run the vagrant up command as below: [email protected]:~/laravel/homestead$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors...
vagrant,virtualbox
I'm setting the hostname in my VagrantFile like so: config.vm.hostname = "demo.puppet" However this ends up with a host name of just demo: [email protected]:~$ hostname demo It seems that Vagrant will truncate at the first ., is this expected behaviour as plenty of examples on the web seem to have...
mysql,docker,vagrant,puppet
I'm new with this technologies but I want to learn about automation and containers stuff. I read some documentation about this 3 products and I want to know if is possible to automate almost everything in a large environment using this products. Vagrant for deploy VMs (let's say 10 at...
php,symfony2,session,vagrant
I'm using vagrant virtual machine for local PHP development and I noticed that there are session write issues when using vagrant-winnfsd plugin. The plugin serves fine my needs, that's why I don't want to reconfigure vagrant, but rather solve the read/write problem. I don't know the origin of the problem,...
vagrant,puppet
I'm trying to bring up a Puppetlabs vagrant box and the password is not working. Tried 'vagrant' and 'puppet'. Anyone get these working?
vagrant,virtual-machine,virtualbox,vagrantfile
I currently have a Vagrant vm with a typical web setup (apache, php, etc). The actual web repo is checked out onto the my local machine, and accessed through synced folders and forwarded apache ports (like http://127.0.0.1:4567/web). The question is, how do I make this work for a team, as...
vagrant,chef,virtualbox
Apologies, but chef/vagrant etc... have so many tools built around them that sometimes it is difficult to figure which one is a good fit for the problem at hand. So before getting started with the actual work, I'd like to confirm which tool to look at. I am spinning up...
vagrant,virtualbox,virtual
VirtualBox won't boot the VM no matter what...I tryied with Vagrant and Docker. Vagrant gave me timed out messages and Docker gave me exit code (1). I read tons of suggestions related to this problem but still found no solution. Any suggestion is welcomed. VirtualBox version: 4.3.26 Vagrant version: 1.7.2...
nginx,vagrant,puphpet
Example from "config.yaml" file: locations: ... some_location_root: location: / try_files: - $uri - '@rwr' some_location_rewrite: location: '@rwr' rewrite: '^(.*) /index.php?_controller=$1 last' ... ...
vagrant,puphpet
Im trying to launch VM via vagrant with config made by puphpet.com Host machine: Windows 7 64 VirtualBox: 4.3.10 Vagrant: 1.7.2 The process freezes at stage: "Setting up VM name..." If i open system process list i dont see any VBoxHeadless process Here you can see "vagrant up --debug" log,...
python-3.x,vagrant
i have new Vagrantfile (generated with init command) with next first lines: # -*- mode: ruby -*- # vi: set ft=ruby : so, the question is in title, it is possible to write/rewrite vagrant default config file in python? and how it must be look?...
bash,ssh,vagrant
I have 2 vagrant machines in a folder, and I'm constantly having to ssh in both and run the same command. Basically I do: $ vagrant ssh machine1 [[email protected] ~]$ sudo rm -rf /tmp/cache/* [[email protected] ~]$ exit $ vagrant ssh machine2 [[email protected] ~]$ sudo rm -rf /tmp/cache/* [[email protected] ~]$ exit...
ruby-on-rails,vagrant,virtualbox,portforwarding,vagrantfile
Here's my Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "ubuntu-14.04-x64" # Sync'd folders config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder "~/work", "/home/vagrant/work", create: true config.vm.synced_folder "~/apt-archives", "/var/cache/apt/archives/", create: true # Ubuntu VM config.vm.define "ubuntu" do |ubuntu| ubuntu.vm.provision "shell", path: "provision.sh", privileged: false...
windows,vagrant,kubernetes
Are there any up-to-date guides, or VM images of some Linux VM + Kubernetes that I could run on Windows? Both VMWare, VirtualBox or Vagrant images would help. I'm trying to set up a development environment. (There is no production environment yet, but it will be most likely self-hosted.) I...
jenkins,vagrant,jenkins-plugins,vagrant-plugin
I am trying to Boot up Vagrant VM from Jenkins. I gave Vagrantfile path in 'Boot up Vagrant VM'. When the job runs, I get the following error: Failed to iterate on remote directory vagrant_projs [ vagrant ]: Executing command :[vagrant, up] in folder /Users/abc/Desktop/vagrant_projs [vagrant_projs] $ vagrant up [...
mysql,vagrant,puppet
I'm trying to install mysql server on a vagrant vm with puppet ,I've added this line on the Vagrant file config.vm.provision "puppet" in the same Vagrantfile folder I've created the manifests folder and inside it folder it's default.pp with this content class { '::mysql::server': root_password => 'root', remove_default_accounts => false,...
mysql,linux,ssh,vagrant,virtual-machine
I'm using Scotch Box, an awesome Vagrant LAMP stack. I was able to setup everything on my Macbook in < 5 minutes, but I'm having issues getting it working on my Windows machine. When I try to connect to the vagrant database using the HeidiSQL client, I receive the following...
google-chrome,iis,localhost,vagrant,hosts
For a while I have been running two different server environments on my Windows 7 OS. IIS runs on 127.0.0.1 and I have a Vagrant VM that uses 192.168.33.10. My hosts file looks something like: vagrantsite1.localhost 192.168.33.10 vagrantsite2.localhost 192.168.33.10 iissite1.localhost 127.0.0.1 iissite2.localhost 127.0.0.1 Up until a week or so back,...
laravel,nginx,vagrant,virtualbox,homestead
I merely followed the default Laravel Homestead setup here using VirtualBox. Working great. But I need an additional Nginx rewrite setting in my apps vhost file on the VM, something like; location / { if ($request_method !~ "(POST)"){ rewrite .... } try_files $uri $uri/ /index.php?$query_string; } I can add that...
node.js,shell,vagrant,vagrantfile
I'm using vagrant shell provisioning here. I've installed on my vm Node.js along with many other packages. I want to avoid running parts in my provisioning script when I don't need them. For example - I already successfully installed via my script Node.js & nginx, so when I want to...
ssh,vagrant
I remade my SSH key after switching to a new machine and just copied over my existing customized Vagrant box I packaged up. When I tried to ssh into the box, I got the REMOTE HOST IDENTIFICATION HAS CHANGED error. So I cleared the entry out of the known_hosts and...
docker,vagrant,boot2docker
I'm running Vagrant 1.7.2, building a Docker image via the docker provider. My Vagrantfile looks like this: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.provider "docker" do |d| d.build_dir = "." d.force_host_vm = true end end I was optimizing Docker using the guidelines put...
mysql,osx,docker,vagrant,coreos
I have a local development setup using the following: Mac Yosemite 10.10.3 Vagrant 1.7.3 CoreOS alpha version 681.0.0 2 Docker containers one for apache PHP and another for mysql both based on Ubuntu 12.10 Its set up to sync the local dev directory ~/Sites to the Vagrant box using NFS,...
php,bash,vagrant,composer-php
I am installing a composer project with: php composer.phar install Part way through it prompts for my GitHub username and password for access due to API hits. How can input my username and password when I run the command from a bash script? The bash script is a vagrant provisioner....
less,npm,vagrant,virtual-machine,ubuntu-server
I am having this error in installing less. I use this code npm install -g less but it's showing this kind of error: > [email protected]:/$ sudo npm install -g less > npm http GET http://registry.npmjs.org/less npm http 304 > http://registry.npmjs.org/less npm http GET > http://registry.npmjs.org/mime npm http GET > http://registry.npmjs.org/mkdirp...
automation,vagrant,hyper-v
I am getting my feet wet with Vagrant. I am trying to use it to auto deploy a number of Windows Server 2012 VMs automatically. I am running into some bugs in that Hyper-V does not seem to be a first class citizen in terms of attention and support from...
python,django,osx,notifications,vagrant
I can think of many ways to skin this cat, and Googling hasn't shown an elegant solution either. Does anyone have an easy / elegant way to forward the output from Django's runserver command in a terminal connected to a guest Vagrant VM to the host to display to Mac's...
vagrant,ansible,ansible-playbook,vagrantfile
Is there any way to retry playbooks playbooks from where they failed? I'm starting it with vagrant provision Thanks...
ruby-on-rails,ruby,ubuntu,vagrant,virtualbox
I am using: Windows 8 64-bit vagrant 1.7.2 Virtual Box 4.3.28 GitBash 1.9.4 for SSH connection Box Ubuntu 14:04:02 Trusty32 and Box Ubuntu 14:04:02 Trusty64 I am using everioment development ruby on rails on ubuntu/trusty32 and trusty/64 on vagrant to windows64. Everything is worked well, but i don`t can share...
git,ssh,vagrant,bitbucket,berkshelf
I'm pulling my hair out trying to get Berkshelf to download a company cookbook from our private BitBucket (git) repository. This is on a Windows 8.1 host. I found this question and have attempted what was described in the answer. I also played around with the instructions Atlassian advises about...
postgresql,docker,vagrant
I'm trying to simulate our production setup locally using Vagrant. In production, we use a docker container for our postgresql database, running on centos6.5/redhat (not by choice). So, locally, I've installed Vagrant, created a machine, got the postgresql docker container up and running on that machine, ensured it's running by...
vagrant,vagrantfile
I updated my Vagrantfile's confg.vm.box_url to a new URL (the box is hosted on a server who's IP changed) and no amount of vagrant reloading will make Vagrant see the new URL. When I run vagrant reload --debug, I see it attempt to fetch metadata from the old URL. The...
bash,shell,vagrant,karaf
if a certain command (in my case ./karaf) runs a sub-process in a shell, that accepts its own commands, is there someway to execute the subsequently listed commands in a script as commands to the subprocess? For example, sudo ./karaf opens a process in the shell that accepts its own...
ruby-on-rails,vagrant,virtual-machine
I've looked around at some other threads here on Stack Overflow and found some solutions, but nothing is working for me. I am running a Rails Server (using Puma) which defaults to using port 3000. Running rails s on vm => Booting Puma => Rails 4.2.1 application starting in development...
nginx,vagrant,laravel-5
when I tried to run that on Vagrant: serve damcapp /home/vagrant/Projects/dmca-app I got this error: dos2unix: converting file /vagrant/scripts/serve.sh to Unix format ... * Restarting nginx nginx [fail] php5-fpm stop/waiting php5-fpm start/running, process 3846 I've been read a lot about it and I checked that: sudo nginx -t and I...
css,symfony2,caching,vagrant,assetic
Today I started changing some CSS on a Symfony (2.6) project. I added some styling to my newly created css file and everything was working fine. My problem occured when I went to add another style and nothing happened. I checked the dev window and couldn't find my styles anywhere....