Install and run vagrant

Install Vagrant

debian/ubuntu installation :

dpkg -i vagrant_*_x86_64.deb

Centos/redhat/fedora installation :

rpm -i vagrant_*_x86_64.rpm

Running up CENTOS 7
Listing box vagrant

vagrant box list
bento/centos-7.2 (virtualbox, 2.3.1)

Generate vagrant config file :

vagrant init bento/centos-7.2

this command will download

Install vagrant plugin host and ruby highline(for hide password text)

vagrant plugin install vagrant-hostmanager
vagrant plugin install highline

To running

vagrant up

modify user password ssh vagrant, edit line in file Vagrantfile :

config.ssh.username = “root”
config.ssh.password = “vagrant”

next step, reload config :

vagrant provision ad7454e

to get id ad7454e vm :

vagrant global-status

Visit Us On TwitterVisit Us On GooglePlusVisit Us On Linkedin

Hi, guest!