vagrant

Vagrant - remote connection to mysql - outside vagrant ssh connection

纵然是瞬间 提交于 2019-12-24 00:59:22
问题 I have a problem with remote connection to mysql on vagrant. I am using MySQL with MariaDB. I have user root with permisssions and server '%' . In my.conf commented bind_address and removed skip_networking . Locally it's worked fine. I turned off firewal protection in my eset nod . When can I try connection: mysql -u root -h localhost -P 3306 shows: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 MySQL Workbench doesn't work too,

(vagrant & ssh) require password

拜拜、爱过 提交于 2019-12-23 21:27:59
问题 my Vagrantfile: Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty32" config.vm.box_check_update = false config.vm.network "forwarded_port", guest: 3000, host: 3000 config.vm.synced_folder "./synced/", "/home/vagrant/" config.ssh.private_key_path = "~/.ssh/id_rsa" config.ssh.forward_agent = true config.vm.provider "virtualbox" do |vb| vb.memory = "1024" vb.name = "test Ubuntu 14.04 box" end end When I try execute vagrant ssh ssh requires password. But Vagrant should use my local

vagrant up error not working

非 Y 不嫁゛ 提交于 2019-12-23 19:40:18
问题 I tried to install Laravel Homestead on my computer. I have followed to the documentation and I got it up working yesterday. However I left my laptop on sleep and I tried to run vagrant provision and I receive this weird error. Jafars-iMac:Homestead jafarsalami$ vagrant provision /opt/vagrant/embedded/lib/ruby/2.4.0/psych.rb:377:in `parse': (<unknown>): did not find expected '-' indicator while parsing a block collection at line 18 > column 5 (Psych::SyntaxError) from /opt/vagrant/embedded

Provisioning Ubuntu 16.04 Vagrant with Ansible fails on chown

牧云@^-^@ 提交于 2019-12-23 16:23:14
问题 I am trying to provision an Ubuntu Xenial Vagrant guest with Ansible. It worked correctly on Ubuntu 14.04, but fails on 16.04. The error that I get is chown failed: failed to look up user vagrant The task that I am running is the following: - name: Ensure /srv/web exists become: yes file: path: /srv/web state: directory mode: 0755 owner: "{{ remote_user }}" Searching hasn't found much help. Thanks! Edit: Further testing on a Digital Ocean 14.04 droplet also shows this issue. Edit 2: Full

Access to homestead host from genymotion

跟風遠走 提交于 2019-12-23 15:53:36
问题 How can i access homestead from genymotion emulator ? i add this line into emulator hosts file, but not work : 192.168.10.10 myapp.app 回答1: Here's how I did it on Windows 10: Check if homestead works My homestead is running on the ip 192.168.10.10 and has multiple sites. Each have been added to my Windows machine's hosts file to be available from specific domains. For example in my C:\Windows\System32\drivers\etc\hosts file i have added the following lines: 192.168.10.10 app1.dev 192.168.10

CouchDB IP Address and Port

浪子不回头ぞ 提交于 2019-12-23 13:05:17
问题 When I start couchDB I have it running on http://127.0.0.1:5984/ . I have another program I need to run on the same port, so I want to change the couchDB one to something else. Any ideas? 回答1: Specify the port in your local.ini config: [httpd] port = 5984 来源: https://stackoverflow.com/questions/21785027/couchdb-ip-address-and-port

Vagrant, VirtualBox - Adapter not Found?

时光总嘲笑我的痴心妄想 提交于 2019-12-23 12:13:16
问题 Getting the following log dump when typing in 'vagrant up'. Have tried both without any messing on VirtualBox, and also with manually adding a port forwarding rule (host IP 127.0.0.1, host port 2222, guest port 22). "Bringing machine 'polecat' up with 'virtualbox' provider... [polecat] Setting the name of the VM... [polecat] Clearing any previously set forwarded ports... [polecat] Creating shared folders metadata... [polecat] Clearing any previously set network interfaces... [polecat]

Vagrant with Librarian-Puppet Broken

二次信任 提交于 2019-12-23 10:45:29
问题 I'm having problems with provisioning new Vagrant instances. I've used the exact same configuration before without problems. I cannot figure out what's causing the problems when it used to work. Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com

Vagrant with Librarian-Puppet Broken

痴心易碎 提交于 2019-12-23 10:43:19
问题 I'm having problems with provisioning new Vagrant instances. I've used the exact same configuration before without problems. I cannot figure out what's causing the problems when it used to work. Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com

How to use Berkshelf to manage Organization repo?

坚强是说给别人听的谎言 提交于 2019-12-23 09:48:30
问题 I'm a huge fan of Berkshelf and I've released few community cookbooks using it and its awesome. Now, I'm starting a new chef project and I went ahead with Berkshelf for this too. But I'm finding some confusions/difficulties using it for the project. Following is in the Berksfile: site :opscode cookbook 'mediawiki', github: 'millisami/chef-mediawiki' cookbook 'sp-mediawiki', path: 'site-cookbooks/sp-mediawiki' I've generated my application cookbook inside the site-cookbooks folder. When I do