Vagrant+virtualbox Configuring the Linux environment

Source: Internet
Author: User
1. Download
Virtualbox-4.3.26-98988-win.exe and Vagrant_1.7.2.msi and mirrored Lucid64.box
The image is Ubuntu Lucid 64


2.virtualbox-4.3.26-98988-win.exe and Vagrant_1.7.2.msi Follow the steps to install


3. Enter vagrant on the command line to get help information installed successfully.


4. Add image to vagrant
Vagrant Box Add base at the far end of the box address or local box file name
Base is the name of the box, can be any string, base is the default name


5. Create a development directory
To execute vagrant init in this directory, if you add a box name that is not base, you need to add the name of the box
Vagrant Init "Ubuntubox"


6. Start the virtual machine
Vagrant up


7. Start SSH
Vagrant SSH


8. Connect a virtual machine with a terminal
The default connection information is
Host Address: 127.0.0.1
Port: 2222
User name: vagrant
Password: vagrant


Problems may occur:


1) Vagrant up fails to start
Open Intel Virtual Technology in the BIOS set to enable

2) If the theme has been modified by Windows, to restore the system theme

Related File Download:

Click to open link







Vagrant+virtualbox Configuring the Linux environment

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.