0627.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Let's Install Proxmox v7 on Armbian</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Proxmox VE,Armbian,Single Board Computer,Debian,Hypervisor,Amlogic,AARCH64,ARM 64,SBC,Proxmox,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Let's Install Proxmox v7 on Armbian">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript">
  13. $(function(){
  14. $('textarea').each(function(i,e){
  15. theTextarea = $(this);
  16. theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
  17. });
  18. $('li').each(function(i,e){
  19. if(!$(this).hasClass('noCheckbox')){
  20. var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
  21. $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
  22. $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
  23. }
  24. });
  25. $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
  26. theElement = $(this);
  27. var lines = theElement.html().split("\n");
  28. theElement.empty();
  29. for(l=0;l<lines.length;l++){
  30. if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
  31. 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>');
  32. } else {
  33. theElement.append(lines[l]);
  34. }
  35. }
  36. });
  37. $(document).on('click','input.copy-text',function(){
  38. theButton = $(this);
  39. $('input.copy-text').attr('src','images/clipboard.png');
  40. $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
  41. try {
  42. if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
  43. $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
  44. } else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
  45. $('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
  46. } else {
  47. $('#'+ theButton.attr('rel')).addClass('copy-animation');
  48. }
  49. navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
  50. theButton.attr('src','images/clipboard_active.png');
  51. } catch(err) {
  52. }
  53. return false;
  54. });
  55. $(document).on('click','input.completeBox',function(){
  56. theBox = $(this);
  57. $('#'+ theBox.attr('rel')).addClass('strikethrough');
  58. theBox.prop('disabled',true);
  59. theBox.parent('li').prevAll().each(function(i,e){
  60. theLI = $(this);
  61. if(theLI.find('input[type=checkbox]').not(':checked')){
  62. $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
  63. theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
  64. }
  65. });
  66. });
  67. if(window.self !== window.top){
  68. window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
  69. }
  70. });
  71. </script>
  72. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  73. </head>
  74. <body>
  75. <div id="gridContainer">
  76. <div class="topMargin"></div>
  77. <div id="listName" class="topMargin">
  78. <h1>Let's Install Proxmox v7 on Armbian</h1>
  79. </div>
  80. <div></div>
  81. <div id="content">
  82. <h2>Things You Will Need</h2>
  83. <ul>
  84. <li>A microSD card at least 16 GB</li>
  85. </ul>
  86. <h2>Download and Flash Armbian Bullseye</h2>
  87. <ol>
  88. <li>Download the latest Armbian Bullseye image (non-desktop) <a href="https://forum.armbian.com/topic/12162-single-armbian-image-for-rk-aml-aw-aarch64-armv8/" target="_blank">Download</a></li>
  89. <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
  90. <li>Run Balena Etcher</li>
  91. <li>Burn the Armbian Bullseye OS image to microSD card</li>
  92. <li>Safely remove microSD and re-insert</li>
  93. <li>Ignore/close the Windows dialogs to format the inserted microSD card</li>
  94. </ol>
  95. <h2>Configure MicroSD Card for Armbian</h2>
  96. <ol>
  97. <li>Open the readable partition of the microSD card in Explorer</li>
  98. <li>Rename the appropriate file from below to u-boot.ext on the root of the SD card
  99. <p>u-boot-s905 (for s905)<br />
  100. u-boot-s905x-s912 (for s905x and s912)<br />
  101. u-boot-s905x2-s922 (for s905x2 and s922)</p>
  102. </li>
  103. <li>Edit /extlinux/extlinux.conf in a text editor
  104. <ol start="1" style="list-style-type: lower-alpha;">
  105. <li>Comment out rk-3399 lines by adding #</li>
  106. <li>Uncomment aml s9xx FDT and APPEND lines by removing #</li>
  107. <li>Update the FDT line to point to a working .dtb file for your device
  108. <div class="codeBlock"># aml s9xxx<br />
  109. #FDT /dtb/amlogic/meson-g12a-x96-max-no-cvbs.dtb<br />
  110. #FDT /dtb/amlogic/meson-g12b-ugoos-am6-no-cvbs.dtb<br />
  111. #FDT /dtb/amlogic/meson-g12b-odroid-n2.dtb<br />
  112. FDT /dtb/amlogic/meson-gxl-s905w-<wbr />p281.dtb<br />
  113. APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0</div>
  114. </li>
  115. <li>Save</li>
  116. <li>Close</li>
  117. </ol>
  118. </li>
  119. <li>Safely remove microSD</li>
  120. <li>Insert microSD card to Android TV box</li>
  121. </ol>
  122. <h2>Booting to Armbian for the First Time</h2>
  123. <ol>
  124. <li>Plug the power adapter into the Android TV box</li>
  125. <li>If the device has never booted from external storage before the stock Android OS will load</li>
  126. <li>In Android, navigate to the application drawer &gt; Run Update &amp; Backup</li>
  127. <li>Select Local &gt; Navigate to the microSD card &gt; aml_autoscript.zip</li>
  128. <li>Select Update</li>
  129. <li>The system will reboot twice and should then begin booting Armbian from the microSD card</li>
  130. <li>You should see the Armbian terminal running startup scripts</li>
  131. <li>When prompted, input a new root password</li>
  132. <li>Confirm the new root password</li>
  133. <li>When prompted, input a username</li>
  134. <li>Input a password for the new user</li>
  135. <li>Confirm the password for the new user</li>
  136. <li>Follow any additional prompts</li>
  137. <li>Run the following commands in terminal
  138. <div class="codeBlock"># elevate to root<br />
  139. sudo su<br />
  140. # update software repositories<br />
  141. apt update<br />
  142. # install available updates<br />
  143. apt upgrade -y<br />
  144. # install gnupg and curl<br />
  145. apt install gnupg curl -y<br />
  146. # download the pimox installation script<br />
  147. curl https://raw.githubusercontent.com/pimox/pimox7/master/RPiOS64autoinstall.sh &gt; RPiOS64autoinstall.sh<br />
  148. # make the file executable<br />
  149. chmod +x RPiOS64autoinstall.sh<br />
  150. # edit the file<br />
  151. nano RPiOS64autoinstall.sh</div>
  152. </li>
  153. <li>Scroll down and set the following variables for your environment
  154. <p>HOSTNAME=&#39;armmox&#39;<br />
  155. RPI_IP=&#39;192.168.0.225&#39;<br />
  156. GATEWAY=&#39;192.168.0.27&#39;<br />
  157. NETMASK=&#39;/24&#39;</p>
  158. </li>
  159. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  160. <li>Continue with the following command
  161. <div class="codeBlock"># run the install script<br />
  162. sh RPiOS64autoinstall.sh</div>
  163. </li>
  164. <li>Enter and confirm a root password</li>
  165. <li>Wait while the script installs dependencies</li>
  166. <li>The Armbian device will reboot once the install script completes</li>
  167. <li>Once Armbian boots back up, continue with the following command to finish incomplete installs and reboot once more
  168. <div class="codeBlock"># elevate to root<br />
  169. sudo su<br />
  170. # finish installing proxmox<br />
  171. apt upgrade -y<br />
  172. # reboot<br />
  173. reboot now</div>
  174. </li>
  175. <li>After the second reboot Proxmox should be fully installed</li>
  176. <li>On another device, open a web browser and navigate to https://DNSorIP:8006</li>
  177. <li>Welcome to Proxmox running on Armbian</li>
  178. </ol>
  179. <p>Source: <a href="https://github.com/pimox/pimox7" target="_blank">https://github.com/pimox/pimox7</a></p>
  180. </div>
  181. </div>
  182. </body>
  183. </html>