環境:Windows 8.1(64bit)
基本的にはVCCWのサイトのGetting Startedの手順でいけるハズ。
- Install Virtual Box.
既にインストール済みだったがバージョンが古かったので5.0.8にアップデート
- Install Vagrant.
https://www.vagrantup.com/ からWindows版をダウンロードしてインストール C:>vagrant -v Vagrant 1.7.4
- Install the vagrant-hostsupdater plugin. (Optional)
コマンドプロンプトからvagrant plugin install vagrant-hostsupdater
を実行
C:\>vagrant plugin install vagrant-hostsupdater
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
Installed the plugin 'vagrant-hostsupdater (1.0.1)'!
※インストールしたけどWindowsの場合は不要で、hostsファイルに192.168.33.10 vccw.devを追記する必要がある
- Download vagrant box
コマンドプロンプトからvagrant box add miya0001/vccw
を実行
※なぜかダウンロードが遅く、1時間ぐらいかかった
- Please download .zip or .tar.gz.
Zipファイルをダウンロードして、任意のフォルダに解凍する
(ダウンロードする場合は公式サイトから最新版を!)
- Change into a new directory.
C:\>cd vccw-2.17.0
- Start a Vagrant environment.
- Visit WordPress on the Vagrant in your browser
http://vccw.dev/ または http://192.168.33.10/ にアクセスする。
WordPressのログイン画面は、http://192.168.33.10/wp-login.php から。
Username、Password共にadminで。
4のダウンロードに失敗すると、リトライしてもHTTP server doesn't seem to support byte ranges. Cannot resume.
エラーが発生してダウンロードに失敗する。その場合は、C:\Users\USER_NAME.vagrant.d\tmpにある一時ファイルを削除してリトライすればOK!