Created
May 2, 2013 09:19
-
-
Save Freeaqingme/5501135 to your computer and use it in GitHub Desktop.
Centos, or Ubuntu?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dolf@dolf-ThinkPad-T530{~/Projects/Centos}:vagrant box add CentOS6.2 http://packages.vstone.eu/vagrant-boxes/centos/6.2/centos-6.2-64bit-puppet-vbox.4.1.18.box | |
[vagrant] Downloading with Vagrant::Downloaders::HTTP... | |
[vagrant] Downloading box: http://packages.vstone.eu/vagrant-boxes/centos/6.2/centos-6.2-64bit-puppet-vbox.4.1.18.box | |
[vagrant] Extracting box... | |
[vagrant] Verifying box... | |
[vagrant] Cleaning up downloaded box... | |
dolf@dolf-ThinkPad-T530{~/Projects/Centos}:vagrant init | |
A `Vagrantfile` has been placed in this directory. You are now | |
ready to `vagrant up` your first virtual environment! Please read | |
the comments in the Vagrantfile as well as documentation on | |
`vagrantup.com` for more information on using Vagrant. | |
dolf@dolf-ThinkPad-T530{~/Projects/Centos}:vagrant up | |
[default] Importing base box 'base'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.2.0 | |
VirtualBox Version: 4.2.12 | |
[default] Matching MAC address for NAT networking... | |
[default] Clearing any previously set forwarded ports... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Booting VM... | |
[default] Waiting for VM to boot. This can take a few minutes. | |
[default] VM booted and ready for use! | |
[default] Mounting shared folders... | |
[default] -- v-root: /vagrant | |
dolf@dolf-ThinkPad-T530{~/Projects/Centos}:vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
Welcome to your Vagrant-built virtual machine. | |
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2 | |
vagrant@precise64:~$ ls | |
postinstall.sh | |
vagrant@precise64:~$ yum install rpm-build | |
The program 'yum' is currently not installed. You can install it by typing: | |
sudo apt-get install yum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment