LoginSignup
1
2

More than 5 years have passed since last update.

Vagant初体験

Posted at

今まで使ったことなかったんすけど、@masuidriveさんのReact + (Javascript || CoffeeScript) + Bower スタータキット @masuidriveを試したくて。

Vagant公式

Vagrant?

簡単な設定で好きな構成の仮想マシンを構築する設定作業を自動化することができる!
VirtualBox, VMwareを使いまーす

導入

ダウンロード

ここからダウンロード

VirtualBox

ダウンロード

Boxファイル

OSイメージ?つくりたい環境をここから頂いてきました

用意できたらvagrantコマンドをトントンする

$ vagrant box add centos56 http://www.lyricalsoftware.com/downloads/centos65.box
$ vagrant init centos56
$ vagrant up && vagrant ssh

これで起動するはずー。

基本操作

  • VM 起動
$ vagrant up
  • SSH 接続
$ vagrant ssh
  • ステータス確認
$ vagrant status
  • 一時停止
$ vagrant suspend
  • リロード
$ vagrant reload
  • VM 停止
$ vagrant halt
  • VM 削除
$ vagrant destroy
1
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
1
2