![]() A final option is to change to a directory with a Get an ID of a target machine from `vagrant global-status` to run Run `vagrant init` to create a new Vagrant environment. In this case since we do not have any machines initialized yet, vagrant status gives the below output.Ī Vagrant environment or target machine is required to run thisĬommand. vagrant status command displays the currently initialized vagrant environments. Now we are ready to initialize the new Vagrant environment by creating a vagrant file. Smallhadroncollider/centos-6.4-lamp (virtualbox, 1.1) Currently we have only one box installed. This will display all the vagrant boxes that are installed on our system. Verify that the vagrant box is successfully added using the following command. => box: Successfully added box 'smallhadroncollider/centos-6.4-lamp' (v1.1) for 'virtualbox'! ![]() => box: Adding box 'smallhadroncollider/centos-6.4-lamp' (v1.1) for provider: virtualbox ![]() => box: Loading metadata for box 'smallhadroncollider/centos-6.4-lamp' # vagrant box add smallhadroncollider/centos-6.4-lamp This catalog has LAMP stack already configured on it. In this example, I am using one of the predefined catalogs available on HashiCorp’s Atlas box catalog. The next step is to run “vagrant box add” command. Verify that the vagrant package is installed successfully. Since we are installing this on CentOS, we have downloaded the rpm file and using rpm command to install the vagrant. Install the downloaded file on your system using your systems appropriate package installer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |