0296.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Try Out ProxMox Virtual Environment in VirtualBox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  7. <script type="text/javascript">
  8. $(function(){
  9. $('textarea').each(function(i,e){
  10. theTextarea = $(this);
  11. theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
  12. });
  13. $('li').each(function(i,e){
  14. var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
  15. $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
  16. $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
  17. });
  18. $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
  19. theElement = $(this);
  20. var lines = theElement.html().split("\n");
  21. theElement.empty();
  22. for(l=0;l<lines.length;l++){
  23. if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
  24. theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ lines[l].replace(/"/g, '&quot;') +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
  25. } else {
  26. theElement.append(lines[l]);
  27. }
  28. }
  29. });
  30. $(document).on('click','input.copy-text',function(){
  31. theButton = $(this);
  32. $('input.copy-text').attr('src','images/clipboard.png');
  33. $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
  34. try {
  35. if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
  36. $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
  37. } else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
  38. $('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
  39. } else {
  40. $('#'+ theButton.attr('rel')).addClass('copy-animation');
  41. }
  42. navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
  43. theButton.attr('src','images/clipboard_active.png');
  44. } catch(err) {
  45. }
  46. return false;
  47. });
  48. $(document).on('click','input.completeBox',function(){
  49. theBox = $(this);
  50. $('#'+ theBox.attr('rel')).addClass('strikethrough');
  51. theBox.prop('disabled',true);
  52. theBox.parent('li').prevAll().each(function(i,e){
  53. theLI = $(this);
  54. if(theLI.find('input[type=checkbox]').not(':checked')){
  55. $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
  56. theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
  57. }
  58. });
  59. });
  60. if(window.self !== window.top){
  61. window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
  62. }
  63. });
  64. </script>
  65. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  66. </head>
  67. <body>
  68. <div id="gridContainer">
  69. <div class="topMargin"></div>
  70. <div id="listName" class="topMargin">
  71. <h1>Try Out ProxMox Virtual Environment in VirtualBox</h1>
  72. </div>
  73. <div></div>
  74. <div id="content">
  75. <p>NOTE: This is a helpful exercise to get familiar with the ProxMox VE user interface and terminology&nbsp;but is not recommended for production use.&nbsp;</p>
  76. <ol>
  77. <li>Download the Proxmox VE .iso file <a href="https://www.proxmox.com/en/downloads" target="_blank">Download</a></li>
  78. <li>Launch Virtualbox</li>
  79. <li>Create a New VM by selecting Machine &gt; New
  80. <p>Name: ProxMox VE<br />
  81. Machine Folder: C:\VMs<br />
  82. Type: Linux<br />
  83. Version: Debian (64-bit)<br />
  84. Memory Size: 8192 MB<br />
  85. Hard disk: Create a virtual hard disk now</p>
  86. </li>
  87. <li>Click Create</li>
  88. <li>On the Create Virtual Hard Disk dialog
  89. <p>Name the virtual disk image ProxMox VE.vdi<br />
  90. File size: 16 GB<br />
  91. Hard disk file type: VDI<br />
  92. Storage on physical hard disk: Dynamically Allocated</p>
  93. </li>
  94. <li>Click Create</li>
  95. <li>Select the VM and Click Settings</li>
  96. <li>Select System &gt; Processor</li>
  97. <li>Give the VM at least 2 processors</li>
  98. <li>Check the Enable Nested VT-x/AMD-V</li>
  99. <li>Select Display</li>
  100. <li>Slide the Video Memory to 128 MB</li>
  101. <li>Select Network</li>
  102. <li>Set the attached to dropdown to Bridged Adapter</li>
  103. <li>Select Storage</li>
  104. <li>Click on the CD-ROM drive</li>
  105. <li>Select the disc dropdown to the right &gt; Choose a virtual optical disc file...</li>
  106. <li>Browse to and select the downloaded ProxMox VE&nbsp;.iso file</li>
  107. <li>Click OK</li>
  108. <li>Select the hard disk dropdown to the right</li>
  109. <li>Click the Create button at the top</li>
  110. <li>Change the size to 500 GB &gt; Click Create</li>
  111. <li>Click OK to accept the settings</li>
  112. <li>Make sure the ProxMox VE&nbsp;VM is selected and click Start &gt; Normal</li>
  113. <li>Select Install Proxmox VE and press Enter</li>
  114. <li>Click the I agree button to accept the EULA</li>
  115. <li>Select the appropriate Target Harddisk from the dropdown &gt; Click Next</li>
  116. <li>Set the Country, Time zone and Keyboard Layout &gt; Click Next</li>
  117. <li>Enter a password and confirm, Enter an email address &gt; Click Next</li>
  118. <li>Give the Proxmox device a hostname, confirm the network settings &gt; Click Next</li>
  119. <li>Click the Install button</li>
  120. <li>Wait for Proxmox to be installed and configured</li>
  121. <li>After the installation succeeds, take note of the IP address and port</li>
  122. <li>Select Devices &gt;&nbsp;Optical Drives &gt; Remove disk from virtual drive&nbsp;</li>
  123. <li>Click the Reboot button</li>
  124. <li>After the VM reboots, open a web browser on the host machine and navigate to&nbsp;https://DNSorIP:8006</li>
  125. <li>Login with the username root and the password set during the installation</li>
  126. <li>Welcome to ProxMox VE inside VirtualBox</li>
  127. </ol>
  128. <h2>Setting Up Additional VM Storage</h2>
  129. <ol>
  130. <li>Click the Shell button in the ProxMox VE web interface</li>
  131. <li>Enter the following commands to initialize the new disk
  132. <div class="codeBlock"># locate the device name&nbsp;for the new hard disk<br />
  133. fdisk -l<br />
  134. # sdb is the 500 GB .vdi created earlier, replace sdb if your hard disk has a different identifier<br />
  135. cfdisk /dev/sdb</div>
  136. </li>
  137. <li>Arrow over to New &gt; Press Enter</li>
  138. <li>Press Enter to accept the default partition size</li>
  139. <li>Press Enter to select Primary</li>
  140. <li>Arrow over to Write &gt; Press Enter</li>
  141. <li>Type yes &gt; Press Enter</li>
  142. <li>Arrow over to Quit &gt; Press Enter</li>
  143. <li>Back in the ProxMox web interface, select the Data Center &gt; Storage</li>
  144. <li>Click Add &gt; LVM</li>
  145. <li>Give the new storage a unique name, select pve for the storage group &gt; Click Add</li>
  146. <li>The additional storage should now be showing on the far left of the UI and be available for use for new VMs<br />
  147. &nbsp;</li>
  148. </ol>
  149. </div>
  150. </div>
  151. </body>
  152. </html>