Vagrant

Vagrantでオレオレ証明書

Vagrant環境でSSLを使用して開発中のCakePHPのサイトに接続したい状況が発生したので以下の方法で対応しました。 CentOS 6.6 CakePHP 2.4.5 1. mod_sslのインストール $ yum install mod_ssl opensslがインストールされていない場合は、こちらも必要。 2. オ…

Vagrantでmountに失敗した時のメモ

Vagrantでmountに失敗した時のメモ。 エラー内容 Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can wor…

VagrantでRuby on Railsの環境構築

VagrantでRuby on Railsの作業環境を構築するためのメモ。 事前作業 rbenvのインストール Vagrantのインストール Bundleのインストール Boxを追加 $ mkdir sample && cd sample $ vagrant init phusion/ubuntu-14.04-amd64 $ vagrant up $ vagrant ssh Chef…

Vagrantの仮想マシンにphpMyAdminをインストール

Vagrantの仮想マシンにphpMyAdminをインストールした時のメモ。 手順 1. phpMyAdminのダウンロード phpMyAdminの公式サイトからダウンロード。 2. フォルダ名のリネーム フォルダ名を「phpMyAdmin-4.3.5-all-languages」から「phpmyadmin」にリネーム。 3. …