racl101 + vagrant   52

A simple guide to provisioning Vagrant boxes with Ansible - RHD Blog
Really good tutorial explaining how to provision Vagrant machines with Ansible.

The one of the trickiest parts of this set up is specifying your hosts in the Ansible playbook. Just remember, unless you specify the name of your Vagrant machine in your Vagrant file it will be given the name: 'default'.

So in your ansible Playbook, the hosts value must be 'default'. But if you name your Vagrant machine anything else, e.g. 'ubuntu-lamp-server-1' then you must use that same value for the Ansible hosts option.
blog  tutorial  guide  reference  howto  example  provision  vagrant  machine  ansible  toread  tolearn  totry  tounderstand. 
november 2018 by racl101
vagrant destroy - Command-Line Interface - Vagrant by HashiCorp
Remember, the procedure for deleting a vagrant box is to destroy the instance of a vagrant box that you provision (which is usually referred to as a running machine or environment) with: vagrant destroy [name|id of environment] and then, if you wish, removing the vagrant box from which you provisioned the instance altogether with: vagrant box remove.
vagrant  commandline  cli  destroy  instance  environment  documentation  guide  reference  box 
february 2018 by racl101
PHP 5.6 error on vagrant provision · Issue #625 · laravel/homestead
vagrant destroy && rm -rf .vagrant && vagrant up

This is actually a missing step from Laravel's Homestead, updating vagrant box documentation. Know that it will delete all your databases so back them up.
github  forum  laravel  homestead  issue  php-fpm  service  provision  vagrant  box  destroy  howto  troubleshoot  guide  reference 
february 2018 by racl101
SSL in Laravel Homestead 2.0 | Laravel-Tricks.com
Even though versions of Homestead in 2017 already install self signed certificates, this particular example might be interesting to learn from about how to run additional commands in a Homestead Vagrant box.
laraveltricks  example  ssl  self  signed  certificate  homestead2.0  homestead  vagrant  box  howto  guide  reference  tolearn  tounderstand  totry 
december 2017 by racl101
Vagrant box laravel/homestead | Atlas by HashiCorp
This is the place to come if you are looking for older versions of Laravel Homestead virtual box. In my Macbook Pro (for the longest time I've had version 0.2.7 to run PHP 5.6 on Ubuntu 14.04, which, as of February 5, 2017 is still very useful.) Version 0.4.4 and on appears to use PHP 7 on Ubuntu 14.04. And version 1.0.1 appears to use PHP 7 on Ubuntu 16.04.
LAravel  homestead  virtualbox  virtual  Boxes  machine  virtualmachine  repository  downloads  Vagrant  hashicorp 
february 2017 by racl101
vagrant box - Command-Line Interface - Vagrant by HashiCorp
--box-version is of interest if you want to have multiple versions of Laravel Homestead virtual box.
LAravel  virtual  Box  Add  Guide  Vagrant  virtualmachine  machine  homestead  virtualbox  Documentation  Tutorial  ReferencE  --box-version 
february 2017 by racl101
Boxes - Getting Started - Vagrant by HashiCorp
Of interest for the purposes of having multiple versions of Laravel Homestead are: config.vm.box and config.vm.box_version .
LAravel  config.vm.box_version  Box  Settings  virtual  Guide  Vagrant  configuration  virtualmachine  machine  config.vm.box  homestead  virtualbox  Documentation  Tutorial  ReferencE 
february 2017 by racl101
How to setup Laravel with PHPUnit on Vagrant in PhpStorm [Tutorial Part 3] | pascallandau.com
This is a GREAT tutorial demonstrating how to properly set up all these together: PHPStorm, Homestead Vagrant Machine, Laravel, PHPUnit (and by extension xdebug)
example  xdebug  phpunit  Howto  phpstorm  Guide  PHP  Tolearn  totry  Toread  Vagrantbox  tounderstand  Blog  Reference  homestead  Vagrant  Tutorial 
january 2017 by racl101
How to Install Xdebug with PHPStorm and Vagrant
Good Windows-centric tutorial to show how to connect vagrant power xdebug to PHPStorm
xdebug  integrate  virtualmachine  ReferencE  Windows  Vagrant  Blog  connect  Tutorial  phpstorm  example  PHP  editor  Howto  Microsoft  Guide  virtualbox  sitepoint 
january 2017 by racl101
Removing list of vms in vagrant cache - Stack Overflow
Had to do this when an environment pointing to a path that no longer existed preveted the environment from being removed with $ vagrant destroy <env-id> command.
Vagrant  Howto  List  example  Prune  troubleshoot  clear  environment  Stackoverflow 
august 2016 by racl101
Delete Vagrant box
Shows how to delete specific box version of laravel homestead vagrant box.
Laracasts  Howto  example  Remove  Vagrantbox  homestead  LAravel  forum  Vagrant  Box  Guide  ReferencE 
august 2016 by racl101
Laravel.io - The Laravel Community Portal
Shows how to add new websites, domains and databases to an existing Homestead VM without destroying it (and thereby not wiping out the databases.)
Database  Howto  Add  Laravel  provision  Reload  new  example  homestead  Guide  explanation  Site  forum  ReferencE  vagrant  domain 
september 2015 by racl101
Quick Tip: ImpressPages4 on Homestead
Explains location of the config file for a website running on nginx and how to do the equivalent of mod_rewrite on Nginx.
config  modrewrite  Server  Nginx  prettylinks  homestead  Guide  sitepoint  vagrant  ReferencE  Blog  Tutorial 
september 2015 by racl101
Nginx « WordPress Codex
"WordPress includes checks for Apache mod_rewrite before enabling permalinks. For older versions of WordPress, this check would fail on nginx, which can leave 'index.php' in the permalink structure. This was fixed in WordPress 3.7, which now detects nginx servers and enables "pretty" permalinks automatically." - This says that for WordPress 4 and up Nginx servers can be detected and enable pretty permalinks automatically, which it explains why it just seems to work on a Vagrant Homestead installation (the very same Homestead) instead by following instructions on the Laravel website.
vagrant  homestead  WordPress  Laravel  codex  mod_rewrite  permalinks  Nginx 
september 2015 by racl101

related tags

--box-version  Add  advanced  ansible  atlassian  blog  box  Boxes  caveats  certificate  change  check  clear  cli  codex  commandline  commands  compile  conditionally  config  config.vm.box  config.vm.box_version  configuration  configure  confluence  connect  connection  create  current  database  debugging  default  define  destroy  development  different  directory  documentation  domain  download  downloads  editor  environment  error  example  explanation  fix  Forcibly  forum  forwarding  from  gettingstarted  github  guide  hashicorp  history  homestead  homestead2.0  hostname  howto  ini  install  instance  integrate  issue  jenkins  kill  lamp  laracasts  laravel  Laravel5  Laravel5.1  Laravel5.2  Laravel5.3  laraveltricks  linux  List  local  Location  machine  machines  macosx  manual  manually  medium  memory  Microsoft  modrewrite  module  mod_rewrite  multiple  mysql  name  new  Nginx  old  options  outside  particular  password  permalinks  php  php-fpm  php.ini  php5-fpm  php7  php7.2  phpstorm  phpunit  pip  playbook  port  postgres  prettylinks  project  provision  provisioner  provisioning  Prune  python  python2.7  python3  question  reference  Reload  Remote  Remove  repository  running  scotch  script  scripts  self  Selfsigned  Server  service  settings  setup  Shell  shutdown  signed  Site  sitepoint  snapshot  Software  source  ssh  ssl  Stack  stackoverflow  start  Tear  teardown  tolearn  toread  totry  tounderstand  tounderstand.  troubleshoot  tutorial  update  upgrade  usage  user  vagrant  Vagrantbox  vagrantfile  vault  version  virtual  virtualbox  virtualmachine  vm  Wiki  Windows  Windows10  WordPress  xdebug 

Copy this bookmark:



description:


tags: