#author("2022-05-24T11:02:53+09:00","default:honma","honma")
* VirtualBoxのネットワーク設定 [#q400e17f]

VirtualBoxのセットアップ時は、デフォルトでホストOSからのアクセスができない。~
ネットワーク設定でアダプタを追加し、割り当てを''「ホストオンリーアダプター」''にする。

Debian等の最小インストールの場合、追加したアダプタは設定が空なので下記の設定を行う。

 $ sudo nano /etc/network/interfaces
 
 # The primary network interface
 allow-hotplug enp0s3
 iface enp0s3 inet dhcp
 
 allow-hotplug enp0s8
 iface enp0s8 inet dhcp

これで、再起動すればホストからSSHでアクセスできる。

~
#htmlinsert(amazon_pc.html);


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS