Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
5
Help us understand the problem. What is going on with this article?
@mickey390

Vagrant利用手順

More than 5 years have passed since last update.

インストール

  • Vagrant
  • Virtual Box

環境
osx 10.9

参考
http://easyramble.com/install-vagrant-virtualbox-on-mac.html

初期設定

boxの取得

$ vagrant box add <NAME> <URL>

初期化

$ mkdir box_name
$ cd box_name
$ vagrant init
$ vi Vagrantfile

下記の箇所を編集
config.vm.box = "centos64"

使い方

起動と接続

$ vagrant up
$ vagrant ssh

ファイルの転送

$ vagrant ssh-config > ssh.config
$ scp -F ssh.config test.txt vagrant@default:~/

停止

$ vagrant halt
5
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
5
Help us understand the problem. What is going on with this article?