Skip to content

Instantly share code, notes, and snippets.

@yandod
Last active December 21, 2015 15:19
Show Gist options
  • Save yandod/6326068 to your computer and use it in GitHub Desktop.
Save yandod/6326068 to your computer and use it in GitHub Desktop.
動作環境の準備

VirtualBox と Vagrant をインストールする。 USBメモリにそれぞれインストーラーがあります。(Windows & Mac)

  1. VirtualBoxをインストール
  2. Vagrantをインストール
  3. pricise64のイメージのダウンロード

ボックスイメージのダウンロード(600メガくらい)は重たいのでこれもUSBからコピーします。 boxes/prices64.box を任意の場所にコピーし

vagrant box add precise64 (コピーしたファイルまでのパス)

とするとネット経由のダウンロードではなくローカルからボックスを導入できます。

ソフトウェアのセットアップとボックスのダウンロードが終わっていればあとは下記のモジュールをcloneしてcdし、vagrant upで完了です。

https://github.com/yandod/php5-nginx-vagrant-sample.git

vagrant upが完了したら下記で動作確認。 http://127.0.0.1:8080/

スライドはこちら。 https://speakerdeck.com/yandod/modanphptiyutoriaru-llmaturiban

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment