BOXENやosxcなど最近はOS Xの環境構築を自動化するソフトも増えてきました。初期状態から走らせてみたいけどLinuxの様に簡単にはいかないよな……と思っていましたが、時代は進歩するもので結構簡単にOS XのVagrant Boxが作れるようになっていました。すべてはVagrantの作者Mitchell Hashimotoさんのおかげです。 必要な物 Mac Virtual Box Packer
最近話題の Vagrant さんは「Linux の環境を作ったり壊したりして開発とか試験が楽になるよ」と紹介されることが多いけど、Windows の環境だって作ったり壊したりしたい! いろいろ調べつつ環境を作ってみたので、その手順を共有しておく。 完成イメージはこんな感じ。コマンドプロンプトから vagrant up をしたら VirtualBox 上に Windows Server 2012 R2 の環境が準備されて、そこにリモート デスクトップで接続している。 いろいろいじったあとに vagrant destroy したら環境は消え去って、vagrant up したら、また、まっさらな状態から使える。 ちょっと注目してほしいのは、ゲスト OS の C:\vagrant にホスト側の Vagrantfile がマウントされているところ。このあたりの処理は Vagrant-Windows
仮想化の分野はどんどんと新しいものが出てくる。全部を実際に試すことは出来なくても、筋が良さそうなものについては、どういうものなのかある程度把握しておきたい。最近はちょっと忙しくてあまり情報収集ができてなかったので、追いつこうと思ってちょっと調べてみた。 ハイパーバイザ型仮想化とコンテナ型仮想化 仮想マシンの歴史をたどると、メインフレームの方では随分と昔から使われている技術である、と出てくる。一方で、x86の世界ではそれほど歴史は長くなく、1999年にリリースされたVMwareがおそらく実用的な初の仮想マシン技術だろう。 VMWareはハイパーバイザ型仮想化と呼ばれる技術で、上に乗るOS(ゲストと呼ばれる)に対して仮想的なハードウェアを提供する。ハイパーバイザ型も、どのレイヤで仮想的なハードウェアを提供するかで更に細分化されるらしいが、よく知らないので、ここではそこまでは踏み入らない。ハイパ
Mac OS X Mavericks で VirtualBox を使うと二度と終了できなくなる問題へのとりあえずの対処 2013年10月26日 14:01未分類 Max OS X を Mavericks にすると VirtualBox のバージョン4.3 以上にする必要がありますね。 それと関係あるのかどうかわかりませんけど、 VirtualBox を落とそうとしても起動中のアイコンが残って強制終了すら効かなくなり、 その影響で OS の終了も再起動もできない状態になる問題が確認されています。 virtualbox.org • View topic – Virtualbox let Mavericks can’t shutdown 電源ボタン長押しのブチ切り終了ならできるけど 何だか気持ち良くないので せめてもう少し穏やかな感じがする方法を。 ターミナルから shutdown ターミナルを
社内の勉強会でVM構築の方法を教わったので、実験的に試してみる。 そもそも初心者だから、VMとかよくわかんないからはじまる... VMとは ソフトウェアによって仮想的に構築されたコンピュータ。 仮想化技術におけるVMは、OSが動作する実際のコンピュータをソフトウェアによって仮想的に構築したもの。 1台のコンピュータを複数のVMに分割することで、複数の利用者が同時に利用したり、異なるOSを並列に実行させたりすることができる。 VMとは 【Virtual Machine】 〔仮想マシン〕 - 意味/解説/説明/定義 : IT用語辞典 ふんふん、物理的にMac一台しか使っていなくても、マシンの仮想化をすれば、 Centであったり、Ubuntuであったり、複数のOSを構築して開発ができるということ。 OSによっては開発物の挙動が違う場合もあるから、便利かもしれない。 使うもの 環境構築に使うソフト
先日 Vagrant を触ってみたら便利すぎて鼻血が出ました。しばらく見ないうちに色々進んでるもんですねえ、いやはや参っちゃいました。 Vagrant は仮想マシンの VirtualBox のフロントエンドに相当する、ruby で書かれたツールです。vagrant コマンドなどを使ってコマンドラインから簡単に新しい VM を作れる。 % gem install vagrant % vagrant box add centos http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.3-x86_64-v20130101.box % vagrant init centos % vagrant upこれだけで CentOS の Linux box をローカルマシン内に立ち上げることができる。*1 *2 なにこれすごい。 % vagra
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く