vagrant

Vagrant Homestead slow

末鹿安然 提交于 2020-01-13 19:30:29
问题 I have a vagrant server based off Laravel Homestead for testing my Laravel sites locally for the most part it runs great. However, recently, I have been having problems where it will just halt for anything from a few minutes (typical) to hours (rare). This happens every 15 minutes or so. To the point where if I'm typing in the ssh connection it will just stop. Then when I check back a few minutes later, what I had been typing is now there. This isn't just SSH and pages stop loading, and

Installing composer using vagrant, hhvm, and Ubuntu 14.04

喜欢而已 提交于 2020-01-13 10:39:07
问题 At the end of my vagrant provisioning script I attempt to install composer using the following : sudo curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer However when this is executed I get the following errors : SlowTimer [5612ms] at curl: https://getcomposer.org/composer.phar Download failed: Failed to open https://getcomposer.org/composer.phar (Resolving timed out after 5613 milliseconds) The download failed repeatedly, aborting. If I have php

grunt karma testing on vagrant when host changes sources grunt/karma doesn't detect it

谁说胖子不能爱 提交于 2020-01-13 10:15:29
问题 This took me ages to find out but can't seem to find a solution for this one. Using vagrant I run a Fedora 20 guest that runs grunt/karma. The sources I edit on my host but when I save grunt isn't detecting the change so no tests are being done. Figured it was a configuration problem so tried many combinations of things here without success. Finally I opened a second ssh to the guest vagrang ssh and changed the file in the other ssh terminal echo " " >> app/js/app.js and see that now grunt

grunt karma testing on vagrant when host changes sources grunt/karma doesn't detect it

怎甘沉沦 提交于 2020-01-13 10:14:52
问题 This took me ages to find out but can't seem to find a solution for this one. Using vagrant I run a Fedora 20 guest that runs grunt/karma. The sources I edit on my host but when I save grunt isn't detecting the change so no tests are being done. Figured it was a configuration problem so tried many combinations of things here without success. Finally I opened a second ssh to the guest vagrang ssh and changed the file in the other ssh terminal echo " " >> app/js/app.js and see that now grunt

Is it possible to have Vagrant box running on USB?

拥有回忆 提交于 2020-01-13 04:56:08
问题 I want to creatre portable dev environment inside a Vagrant box. But faced a problem with ssh key access rights. On some target machines I haven't got enough rights to change them. Is it possible to configure Vagrant to have access maybe only with password to make box fully rights-independent? 回答1: You can have vagrant box running from USB (I do that a lot and its nice to take hard drive with you and go on another computer and everything is running the same) If you run VMWare provider, this

Java not found by Elasticsearch on Centos 6.6, all path variables are set and working

两盒软妹~` 提交于 2020-01-13 03:52:05
问题 I recently spun up a vagrant server and wanted to get Elasticsearch going on it. So, I installed Oracle Java and ES on a "chef/Centos-6.6" vagrant cloud VM. I set my Java path using a shell script in "etc/profile.d". Here is my provisioning script: #!/usr/bin/env bash yum -y update wget -O /opt/jdk-7u67-linux-x64.tar.gz --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub

ProxySQL Tutorial : setup in a MySQL replication topology

╄→гoц情女王★ 提交于 2020-01-13 02:03:42
ProxySQL Tutorial : setup in a MySQL replication topology 时间 2015-09-15 05:23:20 ORACLE数据库技术文刊 原文 http://feed.askmaclean.com/archives/proxysql-tutorial-setup-in-a-mysql-replication-topology.html 主题 ProxySQL With the imminent release of ProxySQL as stable version, and its presentation at PerconaLive Amsterdam , I decide to write few blog posts to describe how to install, configure and use it without digging too much through documentation. Moreover, practical examples are often easier to understand. This tutorial is a long one, although none of the topics are discussed in details to avoid making

Project layout with vagrant, docker and git

喜欢而已 提交于 2020-01-12 03:36:07
问题 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 production one as closely as possible. The first approach is to have all the definition files together with the source code in the same repository with this layout: /docker /machine1-web_server

Installing Node, NPM (and then Grunt and Bower globally) in Vagrant

吃可爱长大的小学妹 提交于 2020-01-11 19:42:49
问题 I've been following this gist for installing a bunch of core dependencies for PHP development, but one that I do need and have not been able to get working as of yet is to install Node, NPM (and then Grunt and Bower globally) in Vagrant. I've seen answers like this one but it doesn't ever appear to complete the install (ie. I can't then install bower and grunt). There is a nodejs package through apt-get that does appear to install Node (and I can install NPM from there), but the version

Cannot reach Jekyll server on Vagrant from outside

☆樱花仙子☆ 提交于 2020-01-11 17:40:31
问题 I've built a Vagrant VM with hashicorp/precise32 box and installed Jekyll on it. I've set port 4000 forwarding on Vagrantfile: config.vm.network :forwarded_port, host: 4000, guest: 4000 When I try jekyll server it seems everything works fine, but I cannot reach the server from outside. Configuration file: /vagrant/test-site/_config.yml Source: /vagrant/test-site Destination: /vagrant/test-site/_site Generating... done. Auto-regeneration: enabled for '/vagrant/test-site' Configuration file: