LoginSignup
10
10

More than 5 years have passed since last update.

VCCWでWordpressの環境を構築する

Posted at

VirtualBox,Vagrantを使ってWordPressの環境を構築していきます。

1.VirtualBoxのインストール

Virtualboxからインストールする。

2.Vagrantのインストール

Vagrantからインストールできます。

3.VCCWのインストール

gitを使う場合

$ git https://github.com/vccw-team/vccw.gitでインストールできます。

Zipでインストールする場合

VCCW.zipからダウンロードして展開します

4.環境の立ち上げ

$ cd vccw-2.0.0 
$ vagrant up

すると仮想環境が立ち上がります。

5.立ち上がった環境にブラウザでアクセスしてみる

デフォルトの状態で起動すれば、http://wordpress.local/でアクセスできます。
うまくいけばWelcome to the Vagrantと表示されてれいるはずです。

6.仮想環境を終了させる

$ vagrant haltで仮想環境が終了します。不安な人はVirtualBoxで確認するといいかも。

最後に

WordPressをすごく簡単にインストールすることができました。
Vagrantfileを書き変えればホストなども変えることができるらしいです。
Vagrantを使えばローカルを汚さずに環境構築することができて、
気に入らなくなったら$ vagrant destroyで消せるので便利ですね。

10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10