浏览代码

0605: Get the Most Out of Windows Guest VMs in ProxMox VE

i12bretro 3 年之前
父节点
当前提交
b196c6d555
共有 1 个文件被更改,包括 116 次插入0 次删除
  1. 116 0
      0605.html

+ 116 - 0
0605.html

@@ -0,0 +1,116 @@
+    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Get the Most Out of Windows Guest VMs in ProxMox VE</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+								<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript">
+          $(function(){
+            $('textarea').each(function(i,e){
+              theTextarea = $(this);
+              theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
+            });
+
+            $('li').each(function(i,e){
+							if(!$(this).hasClass('noCheckbox')){
+								var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
+								$(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
+								$(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
+							}
+            });
+
+            $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
+              theElement = $(this);
+              var lines = theElement.html().split("\n");
+              theElement.empty();
+              for(l=0;l<lines.length;l++){
+                if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
+									                  theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '&quot;')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
+									                } else {
+                  theElement.append(lines[l]);
+                }
+              }
+            });
+
+            $(document).on('click','input.copy-text',function(){
+              theButton = $(this);
+														$('input.copy-text').attr('src','images/clipboard.png');
+							              $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
+              try {
+                if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
+								} else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
+									$('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
+                } else {
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                }
+                navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
+																theButton.attr('src','images/clipboard_active.png');
+								              } catch(err) {
+              }
+              return false;
+            });
+
+            $(document).on('click','input.completeBox',function(){
+              theBox = $(this);
+              $('#'+ theBox.attr('rel')).addClass('strikethrough');
+              theBox.prop('disabled',true);
+              theBox.parent('li').prevAll().each(function(i,e){
+                theLI = $(this);
+                if(theLI.find('input[type=checkbox]').not(':checked')){
+                  $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
+                  theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
+                }
+              });
+            });
+
+            if(window.self !== window.top){
+															window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
+							            }
+          });
+        </script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Get the Most Out of Windows Guest VMs in ProxMox VE</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <p><em>NOTE: This tutorial assumes the Windows VM has already been installed</em></p>
+
+<ol>
+	<li>Log into the ProxMox web UI</li>
+	<li>Select a storage from the left navigation pane to download the driver .iso to</li>
+	<li>Select ISO Images in the left sub-navigation pane</li>
+	<li>If running ProxMox 6, download the VirtIO driver iso <a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" target="_blank">Download</a> and upload it to the ProxMox ISO image library</li>
+	<li>If on ProxMox 7, click Download from URL and paste the download URL from above &gt; Click Query URL &gt; Click Download</li>
+	<li>Select the target Windows VM in the left navigation pane</li>
+	<li>Shutdown the VM is it is currently running</li>
+	<li>Select Hardware in the left sub-navigation menu</li>
+	<li>Double click Machine &gt; Set Machine to Q35 if it is not already &gt; Click OK</li>
+	<li>Double click the SCSI Controller &gt; Set  to VirtIO SCSI if it is not already &gt; Click OK</li>
+	<li>Double click the Hard Disk &gt; Set the Cache to Write back and check the Discard box &gt; Click OK</li>
+	<li>Double click the Network Device &gt; Set the Model to VirtIO (paravirtualized) &gt; Click OK</li>
+	<li>Double click the CD/DVD Drive</li>
+	<li>Select the Use CD/DVD disc image file (iso) option &gt; Select the storage where the VirtIO driver iso was downloaded &gt; Select the virtio .iso file &gt; Click OK</li>
+	<li>Select Options from the left navigation menu</li>
+	<li>Double click the QEMU Guest Agent option</li>
+	<li>Check the Use QEMU Guest Agent box &gt; Click OK</li>
+	<li>Click console in the left sub-navigation menu</li>
+	<li>Click Start at the top right of the window to power on the VM</li>
+	<li>Once Windows has loaded, login</li>
+	<li>Open File Explorer and browse to the CD/DVD drive</li>
+	<li>Run the QEMU guest utilities installer (virtio-win-guest-tools.exe)</li>
+	<li>Complete the installation using the default options</li>
+	<li>Once the installation completes, restart the VM</li>
+</ol>
+
+<p>Source: <a href="https://pve.proxmox.com/wiki/Windows_10_guest_best_practices" target="_blank">https://pve.proxmox.com/wiki/Windows_10_guest_best_practices</a></p>
+          </div>
+        </div>
+      </body>
+    </html>
+