<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>devkuma – Hyper-V</title>
    <link>https://www.devkuma.com/jp/tags/hyper-v/</link>
    <image>
      <url>https://www.devkuma.com/jp/tags/hyper-v/logo/180x180.jpg</url>
      <title>Hyper-V</title>
      <link>https://www.devkuma.com/jp/tags/hyper-v/</link>
    </image>
    <description>Recent content in Hyper-V on devkuma</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>jp</language>
    <managingEditor>kc@example.com (kc kim)</managingEditor>
    <webMaster>kc@example.com (kc kim)</webMaster>
    <copyright>The devkuma</copyright>
    
	  <atom:link href="https://www.devkuma.com/jp/tags/hyper-v/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Windows Hyper-V</title>
      <link>https://www.devkuma.com/jp/docs/windows/hyper-v/</link>
      <pubDate>Sun, 07 Mar 2021 02:08:48 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/jp/docs/windows/hyper-v/</guid>
      <description>
        
        
        &lt;h2 id=&#34;仮想化とは&#34;&gt;仮想化とは？&lt;/h2&gt;
&lt;p&gt;通常、OSはメモリやハードディスクなどのハードウェア上で動作します。これらのハードウェアをソフトウェアとして動かすことで、OSの中に別のコンピューターを作り出せます。&lt;/p&gt;
&lt;h3 id=&#34;仮想化のメリット&#34;&gt;仮想化のメリット&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;物理サーバーの台数を減らすことで、スペース、エネルギー、コストを削減できます。&lt;/li&gt;
&lt;li&gt;異なるOS環境を構築できます。&lt;/li&gt;
&lt;li&gt;環境を準備するコストと時間を削減できます。&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;仮想化のデメリット&#34;&gt;仮想化のデメリット&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;オーバーヘッド（追加処理）があるため、ハードウェアに大きく依存するアプリケーションが正しく動作しない場合があります。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;hyper-vとは&#34;&gt;Hyper-Vとは？&lt;/h2&gt;
&lt;p&gt;Microsoftが提供する仮想化技術です。&lt;/p&gt;
&lt;h3 id=&#34;hyper-vの特徴&#34;&gt;Hyper-Vの特徴&lt;/h3&gt;
&lt;p&gt;Hyper-Vの特徴は大きく2つあります。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows Serverの機能です。
&lt;ul&gt;
&lt;li&gt;Windowsと同じくMicrosoftが提供しているため、Windows Serverに含まれており、追加費用がなく、利用も簡単です。&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;ハイパーバイザー型の仮想化技術です。
&lt;ul&gt;
&lt;li&gt;ホスト型仮想化技術（Virtual Server）とは異なり、管理OSと同様にハイパーバイザー上で動作するため、ホスト型より高速に動作します。&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;hyper-vを有効化する&#34;&gt;Hyper-Vを有効化する&lt;/h2&gt;
&lt;p&gt;Hyper-Vを使用するには、まずインストールと有効化が必要です。次のページを参考に有効化します。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://learn.microsoft.com/ko-kr/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Windows 10にHyper-Vをインストール | Microsoft公式サイト&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;hyper-vにcentosをインストールする&#34;&gt;Hyper-VにCentOSをインストールする&lt;/h2&gt;
&lt;h3 id=&#34;centosインストールファイルをダウンロードする&#34;&gt;CentOSインストールファイルをダウンロードする&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#34;https://www.centos.org/download/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CentOS Download&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;上記リンクからCentOS Stream 9 x86_64をダウンロードします。&lt;/p&gt;
&lt;h3 id=&#34;hyper-vにcentosをインストールする仮想マシンをすばやく作成する&#34;&gt;Hyper-VにCentOSをインストールする仮想マシンをすばやく作成する&lt;/h3&gt;
&lt;p&gt;ここでは、クイック作成を使って仮想マシンを作成します。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Hyper-Vを開き、「クイック作成&amp;hellip;」をクリックします。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-1.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;「仮想マシンの作成」ダイアログが表示されたら、「ローカルインストール元(_L)」を選択し、横の「インストールソースの変更」ボタンをクリックします。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-2.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;「インストールソースの変更」ボタンで表示されたファイル選択画面から、先ほどダウンロードしたCentOSの&lt;code&gt;.iso&lt;/code&gt;ファイルを選択します。Windowsをインストールするわけではないため、「この仮想マシンでWindowsを実行する」のチェックを外します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-3.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;「その他のオプション」ボタンを押すと、「名前」と「ネットワーク」の選択欄が表示されます。名前には任意の名前を入力し、「仮想マシンの作成」ボタンを押します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-4.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;仮想マシン作成画面に切り替わり、各種作成メッセージが表示されます。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-5.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;しばらく待つと、「仮想マシンが作成されました」というメッセージとともに完了します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-fast-make-virtual-computer-6.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;hyper-vにcentosをインストールする仮想マシンを新規作成する&#34;&gt;Hyper-VにCentOSをインストールする仮想マシンを新規作成する&lt;/h3&gt;
&lt;p&gt;ここでは、新規作成から仮想マシンを作成します。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Hyper-Vを開き、「新規&amp;hellip;」をクリックします。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-1.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;名前と場所の指定: 名前を指定し、インストール先を選択します。ここではDドライブを指定しています。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-2.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;世代の指定: 希望する世代を指定します。ここではデフォルトの第1世代のまま進めます。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-3.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;メモリの割り当て: デフォルトは1024 MBですが、ここでは4096 MBに変更しました。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-4.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ネットワークの構成: 使用する接続設定を選択します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-5.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;仮想ハードディスクの接続: ハードウェアを設定します。ここではサイズだけを80 GBに指定しました。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-6.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;インストールオプション: インストールするOSに合わせてオプションを選択します。ここでは上で用意したCentOSの&lt;code&gt;.iso&lt;/code&gt;ファイルを選択します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-7.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;概要: これまでに選択した項目が要約表示されます。最後に「完了」ボタンをクリックすると完了です。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-make-virtual-computer-8.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;hyper-vにcentosをインストールする-1&#34;&gt;Hyper-VにCentOSをインストールする&lt;/h3&gt;
&lt;p&gt;次に、Hyper-VにCentOSをインストールします。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;「クイック作成」で仮想マシンを作成した場合は、インストール画面に続いて「接続」ボタンをクリックします。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-1.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;br&gt;
または、追加された仮想マシン一覧から選択し、「接続」を押します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-1-1.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;次のように黒い画面が表示されたら、「開始」ボタンを押します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-2.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;「Install CentOS Stream 9」を選択します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-3.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;言語選択画面が表示されたら、「続行」を押します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-4.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ここから設定画面です。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;警告マークのある項目をすべて設定すると、「インストールの開始」ボタンが有効になります。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-1.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;li&gt;「インストール概要」画面で「インストール先」をクリックし、インストールするディスクを選択して「完了」ボタンを押します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-2.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;li&gt;「インストール概要」画面で「rootパスワード」をクリックし、rootアカウントのパスワードを設定して「完了」ボタンを押します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-3.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;li&gt;「インストール概要」画面で「ユーザーの作成」をクリックし、ユーザー情報を設定して「完了」ボタンを押します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-4.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;li&gt;「インストール概要」画面で「ソフトウェアの選択」をクリックし、基本環境を選択して「完了」ボタンを押します。ここではCLIを使用するため「Minimal Install」を選択しました。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-5.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;li&gt;すべての設定が終わったら、「インストールの開始」ボタンをクリックします。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-5-6.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;インストールが進行します。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-6.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;「完了しました！」というメッセージとともにインストールが完了したら、「システムの再起動」ボタンを押します。
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-7.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;再起動後、上で設定したアカウントでログインできることを確認できます。&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/hyper-v/hyper-v-install-centos-8.png&#34; alt=&#34;Hyper-V&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
      
      <category>Windows</category>
      
      <category>OS</category>
      
      <category>Hyper-V</category>
      
      <category>Virtualization</category>
      
    </item>
    
  </channel>
</rss>
