5丁目通信(仮称)

とある5丁目で活動する還暦を過ぎたWebプログラマーの覚え書きです。それとかかってくる迷惑電話や、家業のアパート経営について。

XAMPPの代わりにVagrantで開発環境の作成してみた話し

今までXAMPPでLAMPの開発環境を構築していますが、PHPのバージョンが本番と違うとか、プロジェクトごとにサーバーのバージョンが違うとか、微妙に大変です。そこでVagrantを試してみる。VirtualBoxの上にプロジェクトに合った仮想マシンを簡単に構築できます。実際に手を動かしてVagrantを動かしてみると、とても簡単であることがわかります。

実際にドットインストールの講座を見てみると、わかりやすいかもしれません。

Vagrant入門

ドットインストール

View this post on Google+

追記

今は、Dockerを使って開発環境を作っています。Dockerのほうは断然簡単です。

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny