Vagrant-ubuntu-install: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Jan (Diskussion | Beiträge)
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=Debian Vorarbeiten=
*apt install software-properties-common
=install=
=install=
*apt-get install virtualbox virtualbox-dkms
*curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
*apt-get install vagrant
*sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
=add new box=
*sudo apt-get update && sudo apt-get install vagrant
*vagrant box add precise64 http://files.vagrantup.com/precise64.box
=new projekt=
*mkdir vagrant_project
*cd vagrant_project
*vagrant init
=edit the Vagrantfile in this directory and replace=
config.vm.box = "precise64"
 
=up=
*vagrant up
=ssh=
*vagrant ssh
 
 
 
=alternative=
==install the newest version==
*wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb -O vagrant.deb
*sudo dpkg -i vagrant.deb
 
=links=
*http://www.olindata.com/blog/2014/07/installing-vagrant-and-virtual-box-ubuntu-1404-lts
=images=
*https://atlas.hashicorp.com/boxes/search?utm_source=vagrantcloud.com&vagrantcloud=1

Aktuelle Version vom 11. April 2022, 08:40 Uhr

Debian Vorarbeiten

  • apt install software-properties-common

install