Sudo apt-get install vagrant Install Vagrant and VirtualBox on Windows Install Vagrant and VirtualBox on Ubuntu sudo apt-get install virtualbox Please follow the guide below to see how you can replace XAMPP and old bad habits. I have built a simple “ Hello Vagrant” project that can help you start working with vagrant in some minutes. I know it is not easy for getting a new stuff or concept. I will not bother you by more text of “why Vagrant” anymore, you can see more detail in from its author. Then, industry-standard provisioning tools such as shell scripts, Chef, Puppet or Ansible, can be used to automatically install and configure software on the machine. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. To achieve its magic, Vagrant stands on the shoulders of giants.Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team.You may never get this done by using XAMPP And Vagrant was born to make your life with VM extremely easy.Īccording to vagrant homepage, you will see these introductions One master database server and one slave database server.A load balancer runs on Varnish or Nginx.By creating multiple VMs, we can enable whole architecture of a complex system such as high performance WordPress or ecommerce site where we need.For PHP examples, you can try out all PHP versions by just putting them in different VM, that means you can setup a migration project from a legacy PHP code to the latest one easily.You may never get a virus by using a VM.Isolate development between projects by enable different VM for each of them.Update & test a new technology (such PHP7), by simply enabling a new VM.Practice Linux commands everyday and we are getting better and better.Have a very big resource of learning from LAMP community, most of questions and answers are for LAMP stack, it saves you ton of time.Setting up the same system as the production server, saving a lot of time for incompatible deployment issues.Clone hello vagrant project from githubīy enabling a Linux Virtual Machine (VM) for local development process, we gain a lot of benefits.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |