Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vagrant Tutorials
Search
Masahiro Sakoda
May 22, 2014
Programming
1
74
Vagrant Tutorials
Tutorial for Vagrant beginner
Masahiro Sakoda
May 22, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
180
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
480
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
850
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
740
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
210
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
170
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
110
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.2k
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
340
ニーリーにおけるプロダクトエンジニア
nealle
0
140
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Thoughts on Productivity
jonyablonski
69
4.7k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Become a Pro
speakerdeck
PRO
28
5.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Building an army of robots
kneath
306
45k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
For a Future-Friendly Web
brad_frost
179
9.8k
Transcript
Vagrant Tutorials Masahiro Sakoda @masahiroSkd
Agenda • Target • What is Vagrant? • Prepare •
Install and Configure Vagrant • Control Virtual Machine • Other Tips
Target • Required Linux experience • Knowledge of SSH
What is Vagrant?
What is Vagrant? • VirtualBox frontend • Multiplatform • Mac
OS X • Windows • Linux • you can share development environment • integration with chef
Prepare for Installing Vagrant
Prepare for Installing Vagrant • Install VirtualBox • download installer
from https:// www.virtualbox.org/wiki/Downloads • Create Vagrant Directory
Installing Vagrant
Installing Vagrant • download installer from http:// www.vagrantup.com/downloads.html • install
with installer
Configure Box
Creating Box • Image file for Launching Virtual Machine •
Created from OS Image • Create box with following command
Initialize Box • Create Virtual Machine with follwing command
Control Virtual Machine
Launch Virtual Machine • To launch server, execute following command
Login via SSH • To login via SSH, execure like
this
Configure SSH Settings • To execute SSH with host or
alias, configure like this
Shutdown Virtual Machine • vagrant halt
Remove Box
List Box • vagrant box list
Check Vagrant Status • show already running or poweroff
Other Tips
Useful ways to use Vagrant • Just use oh-my-zsh plugin
for vagrant • and use chef to building server environment
@masahiroSkd Thank you for listening.