Using vagrant to create virtual development environment in Linux system

Source: Internet
Author: User

Vagrant Introduction

As programmers, you may need to develop multiple projects at the same time, use a variety of programming languages, need to use various operating systems, if you put a lot of things on the same computer, will certainly be confused by the various configuration environment. A better approach is that each project has a clean development environment, one of the main uses of virtual machines is that the virtual machine can be configured for each project a virtual machine, so that the development environment is independent of each other, clean. Now the project is unlikely to be completed by a single person, collaborative development needs to ensure that everyone's development environment is the same, in order to avoid each developer individual configuration parameters, install the software, we want the environment is only configured once, and then everyone can share, vagrant is to achieve such a function, Implement a cross-platform, unified deployment of your development environment.

Recently in a public course software Defined Networking, with Professor Nick Feamster of Princeton University in Coursera, the opportunity to learn to build a development environment using vagrant, the following is an introduction to the development steps:

1. Install Vagrant and VirtualBox: Select the appropriate operating system for software download according to the address given in the course, for Linux you can use the LSB_RELEASE-A command to view the operating system version and then download the appropriate Deb file.

Then use the dpkg-i xx.deb command to install the software.

2.Vagrantfile is the file that configures the virtual machine, in the public lesson, has already written this file, therefore runs directly with vagrant up, then uses the Vagrant SSH Remote link virtual machine to be able.

Other development environment configurations can be modified according to the Vagrantfile file provided in the Open class.

Using vagrant to create virtual development environment in Linux system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.