Ubuntu

Linuxのディストリビューションの1つ。
デスクトップ向けのUbuntu Desktopとサーバー向けのUbuntu Serverがある。
最新版はUbuntu 14.04 LTS(2014年4月17日現在)である。

インストール(VirtualBox)

UbuntuDownloadからISOイメージをダウンロードする。
「Choose your flavour」で64-bit(環境によっては32-bit)を選択し、Downlodをクリックする。
「Help shape the future of Ubuntu...」と表示されるが、ページ左下の「Not now, take me to the download」をクリックするとダウンロードが開始される。

ここではダウンロードしたISOファイルからVirtualBoxの仮想マシン(64bit)にUbuntu 14をインストールする。
VirtualBoxについてはこちらを参照し、事前にインストールしておく必要がある。

VirtualBoxを起動し、「新規」をクリックし仮想マシンを作成する。
仮想マシンの名前を入力し、タイプ「Linux」、バージョン「Ubuntu (64bit)」を選択すして「次へ」。

#ref(): File not found: "ub1.gif" at page "Ubuntu(VirtualBox)"


仮想マシンのメモリーサイズを入力して「次へ」。Ubuntu 14では512MB以上必要。

#ref(): File not found: "ub2.gif" at page "Ubuntu(VirtualBox)"


仮想ハードドライブを作成するを選択して「次へ」。

#ref(): File not found: "ub3.gif" at page "Ubuntu(VirtualBox)"


デフォルトのまま「次へ」。

#ref(): File not found: "ub4.gif" at page "Ubuntu(VirtualBox)"


デフォルトのまま「次へ」。

#ref(): File not found: "ub5.gif" at page "Ubuntu(VirtualBox)"


仮想ハードドライブの保存先を選択し、ディスクの最大サイズを入力して「作成」。Ubuntu 14では6.4GB以上必要。

#ref(): File not found: "ub6.gif" at page "Ubuntu(VirtualBox)"


VirtualBox マネージャーに作成した仮想マシンが表示される。「設定」をクリックする。

#ref(): File not found: "ub7.gif" at page "Ubuntu(VirtualBox)"


クリップボードの共有とドラッグ&ドロップを双方向にすると便利である。

#ref(): File not found: "ub8.gif" at page "Ubuntu(VirtualBox)"


ネットワークはNATがデフォルトで仮想のルーターを使用しているように動作するが、割り当てを「ブリッジアダプター」にするとLANに直接接続しているように動作する。

#ref(): File not found: "ub9.gif" at page "Ubuntu(VirtualBox)"


共有フォルダを作成しておくとファイルの受け渡しが便利である。右側の+のアイコンをクリック。

#ref(): File not found: "ub10.gif" at page "Ubuntu(VirtualBox)"


共有するフォルダを選択し「OK」。自動マウントにチェックを入れておくと自分でマウントする作業が不要となる。

#ref(): File not found: "ub11.gif" at page "Ubuntu(VirtualBox)"


共有フォルダが作成されたら「OK]で設定を保存。

#ref(): File not found: "ub12.gif" at page "Ubuntu(VirtualBox)"


VirtualBox マネージャーから起動をクリックし仮想マシンを起動する。
「起動ハードディスクを選択」の画面が出るので、 ダウンロードしたISOファイルを選択して「起動」。

#ref(): File not found: "ub13.gif" at page "Ubuntu(VirtualBox)"


しばらくするとWelcomeの画面が表示される。

#ref(): File not found: "ub14.gif" at page "Ubuntu(VirtualBox)"


左側の言語のリストから「日本語」を選択し、「Ubuntuをインストール」をクリック。

#ref(): File not found: "ub15.gif" at page "Ubuntu(VirtualBox)"


そのまま「続ける」をクリック。

#ref(): File not found: "ub16.gif" at page "Ubuntu(VirtualBox)"


「ディスクを削除してUbuntuをインストール」のままで「インストール」をクリック。

#ref(): File not found: "ub17.gif" at page "Ubuntu(VirtualBox)"


「Tokyo」のまま「続ける」をクリック。

#ref(): File not found: "ub18.gif" at page "Ubuntu(VirtualBox)"


「日本語」のまま「続ける」をクリック。

#ref(): File not found: "ub19.gif" at page "Ubuntu(VirtualBox)"


ユーザー名、コンピューター名、パスワード等を入力し「続ける」をクリック。

#ref(): File not found: "ub20.gif" at page "Ubuntu(VirtualBox)"


インストールが開始される。そのまましばらく待つ。

#ref(): File not found: "ub21.gif" at page "Ubuntu(VirtualBox)"


インストール完了のメッセージが表示されたら、「今すぐ再起動する」をクリックし再起動する。
(再起動中にフリーズした場合は「仮想マシン」>「リセット」からリセットする。)

#ref(): File not found: "ub22.gif" at page "Ubuntu(VirtualBox)"


再起動後パスワードを入力してログインする。

#ref(): File not found: "ub23.gif" at page "Ubuntu(VirtualBox)"


この時点では画面の解像度が低い状態になる。

#ref(): File not found: "ub24.gif" at page "Ubuntu(VirtualBox)"


「デバイス」>「Guest Additions のCDイメージを挿入...」を実行し環境を整える。
ショートカットキーのHostはデフォルトでは右側のCtrlである。

#ref(): File not found: "ub25.gif" at page "Ubuntu(VirtualBox)"


警告が表示されるが「実行する」をクリック。

#ref(): File not found: "ub26.gif" at page "Ubuntu(VirtualBox)"


パスワードを入力し、「認証する」をクリック。

#ref(): File not found: "ub27.gif" at page "Ubuntu(VirtualBox)"


「Press return to close this window...」が表示されるまで待ち、Enterキーで終了させる。手動で再起動を行う。

#ref(): File not found: "ub28.gif" at page "Ubuntu(VirtualBox)"


再起動後、解像度が変更されている。デスクトップ左側のアイコンからファイル(上から2つ目)を起動する。取り出しマークをクリックしCDを取り出す。

#ref(): File not found: "ub29.gif" at page "Ubuntu(VirtualBox)"

共有フォルダはコンピューターの/media/sf_共有フォルダ名にマウントされているが、デフォルトではアクセス権がないため、Ctrl+Alt+Tで端末を起動し下記を実行後再ログインするとアクセスできるようになる。

sudo gpasswd -a ユーザ名 vboxsf

実行時にパスワードが聞かれるのでパスワードを入力する。

日本語入力を行うときはWindows+Spaceで入力メソッドを切り替える。

コメント


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-09-24 (土) 16:39:03 (2771d)