VirtualBox の変更点

  • 追加された行はこの色です。
  • 削除された行はこの色です。
  • VirtualBox へ行く。

#author("2020-01-26T15:16:49+09:00","default:k1rou","k1rou")
*VirtualBox [#cb10a0f1]
-仮想環境
-ハイパーバイザを利用してゲストOSを動かす。
-https://www.virtualbox.org/

**起動モード [#p9ff0fdc]
-通常起動
-ヘッドレス起動
-デタッチモード起動

**拡張パッケージ [#m194175c]
-Extension Pack
- Guest Additions

**Guest Additions をゲストOSにインストール [#qf799861]
-必要なライブラリをインストール
 yum install kernel-devel
 yum install gzip2
 yum install gcc
 shutdown -r now

-Guest Additionsをインストール
 mkdir /mnt/cdrom
 mount -r /dev/cdrom /mnt/cdrom
 cd /mnt/cdrom
 bash ./VBoxLinuxAdditions.run

**共有フォルダの設定 [#g377436a]
-ホストOS:Mac上のディレクトリ
 /Users/<user>/Documents/VirtualBox_commondir

-ホストOS:VirtualBoxの設定
 設定 >共有フォルダ
 上記、Mac上のディレクトリを指定
 自動マウント、永続化する →チェックON
 フォルダ名:VirtualBox_commondir

-ゲストOS
 mkdir /mnt/vb_commondir
 chmod 777 vb_commondir/
 mount -t vboxsf VirtualBox_commondir /mnt/vb_commondir

-起動時の自動マウント
 echo "mount -t vboxsf VirtualBox_commondir /mnt/vb_commondir" >>.bash_profile.temp

**ネットワークの設定 [#pdcd1220]
***割り当ての種類 [#q4dba059]
-未割り当て
-NAT
-NATネットワーク
-ブリッジアダプター
-内部ネットワーク
-ホストオンリーアダプター
-汎用ドライバー

**関連サイト [#p20807a0]
-覚えておきたい!VirtualBox の便利な機能5選~
https://blog.apar.jp/linux/7232/#toc4

-Windowsの仮想マシンイメージ~
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/#downloads

**関連用語 [#r90bf66d]
-[[Docker]]
-[[Oracle]]
-[[VMWare]]
-[[仮想化]]