2
2

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 5 years have passed since last update.

VagrantでCentOS立ち上げ コマンド 自分用メモ

Posted at

※初期設定方法は省略。ここでも見て。
今日からすぐできる!VagrantとVirtualBoxを使ってローカル開発環境を構築する方法【初心者向け】

終了および開始用コマンド

##仮想マシン立ち上げ
terminal上から、CentOSを設定した、Vagrantのフォルダに移動して
vagrant up

仮想マシンの状態確認

vagrant status

再起動

vagrant reload

## ログイン(SSH接続)
vagrant ssh

サーバー実行

sudo service httpd status

ログアウト

exit

CentOSの停止

vagrant suspend

あとは普通にterminalを終了させればいい。

2
2
0

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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?