Vagrant init says "already exists" and I don't know how to start it.

Asked 2 years ago, Updated 2 years ago, 56 views

This is my first programming on my own, so this is a very basic question, but I appreciate your cooperation.
In order to program Python on MacOSX Yosemite, I was building and preparing a local development environment, but it turned out to be as follows, so maybe it's an error or something, it doesn't work.
(while running Vagrant on Terminal) I looked it up online, but I didn't know what to do.
I would appreciate it if you could give me a detailed instruction that even beginners can understand.
supplement:Vagrant version 1.8.1

$cd
$ mkdir MyVagrant
mkdir:MyVagrant:File exists
$ cd MyVagrant
$ mkdir mycentos
mkdir:mycentos:File exists
$ cd mycentos
$ vagrant init bento/centos-6.7
`Vagrantfile `already exists in this directory. Remove it before
running `vagrant init`.
$ vi Vagrantfile

When I press Enter here, long and unintelligible characters appear.

vagrant

2022-09-29 20:26

1 Answers

To run (start) Vagrant, use the command vagrant up.

For error statements, the execution of vagrant init creates a file called Vagrantfile, but the fact that the Vagrantfile has already been created means that the vagrant init is already running.

The last vi Vagrantfile executed launches the text editor vi to view the contents of the Vagrantfile.


2022-09-29 20:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.