Follow the public number get the first time in the serialization of the full set of learning tutorials of PassJava project.
Windows startup configuration: Intel Virtualization Technology -> Enabled
VirtualBox: virtual machine management software
https://www.virtualbox.org/wiki/Downloads
Vagrant: Create and manage virtual machines
Vagrant software: https://www.vagrantup.com/downloads.html
Vagrant official mirror: https://app.vagrantup.com/boxes/search
Enter vagrant from the command line
vagrant
# ubuntu 18.04 LTS:
vagrant box add https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/bionic/current/bionic-server-cloudimg-amd64-vagrant.box --name ubuntu18
# ubunt 16.04 LTS:
vagrant box add https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/xenial/current/xenial-server-cloudimg-amd64-vagrant.box --name ubuntu16
# ubuntu14:
vagrant box add https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box --name ubuntu14
Install ubuntu 18
vagrant box add https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/bionic/current/bionic-server-cloudimg-amd64-vagrant.box --name ubuntu18
vagrant init
config.vm.box ="base"change into
config.vm.box ="ubuntu18"
vagrant up
vagrant ssh
Recommended Posts