SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


linux:kvm_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:kvm_install [2021/02/24 13:51] – [Step 4: 仮想マシンの作成] kimilinux:kvm_install [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 1: 行 1:
 ====== KVMのインストール ====== ====== KVMのインストール ======
-以下の記事を参考にubuntuサーバにKVMをセットアップする。 +
-  * https://www.tecmint.com/install-kvm-on-ubuntu/ +
-  * https://www.linuxtechi.com/install-kvm-on-ubuntu-20-04-lts-server/+
 ===== Step 1: 仮想化機能の有無の確認 ===== ===== Step 1: 仮想化機能の有無の確認 =====
  
行 190: 行 188:
 Feb 24 04:06:09 sstw systemd-networkd[8895]: br0: Gained carrier Feb 24 04:06:09 sstw systemd-networkd[8895]: br0: Gained carrier
 Feb 24 04:06:10 sstw systemd-networkd[8895]: br0: Gained IPv6LL Feb 24 04:06:10 sstw systemd-networkd[8895]: br0: Gained IPv6LL
- 
- 
-</code> 
-===== Step 4: 仮想マシンの作成 ===== 
- 
-<code sh> 
-$ qemu-img create -f qcow2 ssp0.qcow2 80G 
-Formatting 'ssp0.qcow2', fmt=qcow2 size=85899345920 cluster_size=65536 lazy_refcounts=off refcount_bits=16 
-$ 
-</code> 
-<code sh> 
-osinfo-query' not found, but can be installed with: 
- 
-sudo apt install libosinfo-bin 
- 
-kimi@sstw:~$ sudo apt install libosinfo-bin 
- 
-</code> 
-<code sh> 
-$ virt-install -n ssp0 -r 8192 --disk=ssp0.qcow2,bus=virtio --graphics vnc,password=vnc,listen=0.0.0.0,keymap=ja --noautoconsole -v --boot hd --cdrom ubuntu-20.04.2-live-server-amd64.iso  
- 
-Starting install... 
-Domain installation still in progress. You can reconnect to  
-the console to complete the installation process. 
-$ 
-</code> 
-  
-  - Finderから「サーバへ接続」 
-  - vnc:/ / <サーバのIPアドレス>/  
-<code sh> 
-$ virsh list 
- Id   Name   State 
----------------------- 
-    ssp0   running 
- 
-$ virsh net-list 
- Name      State    Autostart   Persistent 
--------------------------------------------- 
- default   active   yes         yes 
- 
  
  
 </code> </code>
  
linux/kvm_install.1614142300.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki