vagrant,chef の設定。起動するまで。
treeコマンドが入ってなかったのでhomebrewからインストール
$ brew install tree
他にもchef,vagrant,knife-soloも。
$ gem install chef $ gem install vagrant $ gem install knife-solo
knife-soloの予備知識
knife-solo DESCRIPTION: knife-solo adds a handful of commands that aim to make working with chef-solo as powerful as chef-server. It currently adds 5 subcommands to knife: knife solo init is used to create a new directory structure (i.e. “kitchen”) that fits with Chef's standard structure and can be used to build and store recipes. knife solo prepare installs Chef on a given host. It's structured to auto-detect the target OS and change the installation process accordingly. knife solo cook uploads the current kitchen (Chef repo) to the target host and runs chef-solo on that host. knife solo bootstrap combines the two previous ones (prepare and cook). knife-solo also adds --solo command line option and +knife+ configuration parameter to knife bootstrap that can be used for triggering “knife solo bootstrap” instead of the normal template based chef-client bootstrap. knife solo clean removes the uploaded kitchen from the target host. Preliminary Windows support for “knife solo cook” is available (see below).
次に仮想環境を整えるためVirtualBoxをインストールする。が
このサイトのセキュリティ証明書は失効しています www.virtualbox.org にアクセスしようとしましたが、サーバーから提示された証明書は有効期限が切れています。この証明書の有効期限が切れた後に証明書がセキュリティ侵害を受けたのかどうかについて確認できる情報はありません。つまり Google Chrome では、悪意のあるユーザーでなく www.virtualbox.org と確かに通信していることを保証することはできません。お使いのパソコンの時刻は現在 2013年10月5日土曜日18:41:55 に設定されています。時刻が正しくない場合は、エラーを修正してからこのページを更新してください。 先に進まないでください。このサイトについて今回初めてこの警告メッセージが表示された場合は特に注意が必要です。 このまま続行 セキュリティで保護されたページに戻る ヘルプ情報
どうもできない。
政府機関の一部が昨日してないのが関係してる??