2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac Vagrant の起動 接続 終了

Last updated at Posted at 2020-01-15

目的

  • Vagrantの基本をまとめる

起動

  • Macのterminalを用いて下記コマンドを実行する。

    $ vagrant up
    

接続

  • MacのterminalからVagrantを用いて仮想マシンに接続する。

  • 下記コマンドを実行して接続を行う。

    $ vagrant ssh
    

終了

  • $ vagrant ssh実行後、仮想マシンから出て、VirtualBoxを終了する。

  • 下記コマンドを実行して終了する。

    [vagrant@localhost]$ exit
    $ vagrant suspend
    
2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?