0713.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install and Run Proxmox on Laptop Hardware</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="How To Install Proxmox On A Laptop,How To Use Proxmox With A Laptop,Proxmox,Proxmox Tutorial,Proxmox Install,Virtualization,How To Install Proxmox,Proxmox Step By Step,Home Lab,Hypervisor,Self-Hosted,Proxmox VE,Linux,Debian,XFCE,Desktop Environment,How To Install Desktop With Proxmox,How To Install DE With Proxmox,How To Use XFCE With Proxmox,XFCE Proxmox Setup,Install Guide,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install and Run Proxmox on Laptop Hardware">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="04/24/2022 12:19:41 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install and Run Proxmox on Laptop Hardware</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Proxmox VE?</h2>
  26. <blockquote><em>Proxmox VE is a complete, open-source server management platform for enterprise virtualization. It tightly integrates the KVM hypervisor and Linux Containers (LXC), software-defined storage and networking functionality, on a single platform. With the integrated web-based user interface you can manage VMs and containers, high availability for clusters, or the integrated disaster recovery tools with ease. -<a href="https://www.proxmox.com/en/proxmox-ve" target="_blank">https://www.proxmox.com/en/proxmox-ve</a></em></blockquote>
  27. <h2>The Hardware</h2>
  28. <p>The laptop I used in this video is an Asus G74Sx. It sports a 4 core/8 thread i7-2670QM @ 2.20 GHz, 16GB of DDR3 RAM, a Nvidia GeForce GTX 560M with 2GB of vRAM and a Kingston 120GB SSD.</p>
  29. <h2>Things You Will Need</h2>
  30. <ul>
  31. <li>A USB flash drive, at least 8 GB <a href="https://amzn.to/3wkR5ju" target="_blank">https://amzn.to/3wkR5ju</a> | <a href="https://amzn.to/3qkrJ1p" target="_blank">https://amzn.to/3qkrJ1p</a> | <a href="https://amzn.to/3Nhu9b9" target="_blank">https://amzn.to/3Nhu9b9</a></li>
  32. </ul>
  33. <h2>Preparing the Installation Media</h2>
  34. <ol>
  35. <li>Download the Proxmox VE .iso file <a href="https://www.proxmox.com/en/downloads" target="_blank">Download</a></li>
  36. <li>Download the Ventoy installer <a href="https://www.ventoy.net/en/download.html" target="_blank">Download</a></li>
  37. <li>Extract the downloaded .zip file</li>
  38. <li>Run Ventoy2Disk.exe</li>
  39. <li>Plug in a USB flash drive at least 4 GB in size</li>
  40. <li>Click the refresh icon</li>
  41. <li>Select the flash drive from the device dropdown</li>
  42. <li>Click the Install button</li>
  43. <li>After the installation completes, copy the downloaded Proxmox VE .iso to the Ventoy partition</li>
  44. <li>Safely remove the USB flash drive</li>
  45. <li>Plug the flash drive into the target laptop and power it on</li>
  46. <li>Boot to the flash drive</li>
  47. <li>Select the Proxmox VE .iso from the Ventoy menu</li>
  48. </ol>
  49. <h2>Installation and Setup</h2>
  50. <ol>
  51. <li>Select Install Proxmox VE and press Enter</li>
  52. <li>Click the I agree button to accept the EULA</li>
  53. <li>Select the appropriate Target Harddisk from the dropdown &gt; Click Next</li>
  54. <li>Set the Country, Time zone and Keyboard Layout &gt; Click Next</li>
  55. <li>Enter a password and confirm, Enter an email address &gt; Click Next</li>
  56. <li>Give the Proxmox device a hostname, confirm the network settings &gt; Click Next</li>
  57. <li>Click the Install button</li>
  58. <li>Wait for Proxmox to be installed and configured</li>
  59. <li>After the installation succeeds, take note of the IP address and port</li>
  60. <li>Click the Reboot button</li>
  61. </ol>
  62. <h2>Installing a Desktop Environment</h2>
  63. <ol>
  64. <li>Log back into Proxmox</li>
  65. <li>Run the following commands
  66. <div class="codeBlock CMD"># update software repositories<br />
  67. apt update<br />
  68. # install available software updates<br />
  69. apt dist-upgrade -y<br />
  70. # install xfce desktop environment<br />
  71. apt install xfce4 chromium lightdm sudo -y<br />
  72. # create a new user account<br />
  73. adduser &lt;%username%&gt;<br />
  74. # follow the prompts to set the user&#39;s password<br />
  75. # add the new user to the sudo group<br />
  76. usermod -aG sudo &lt;%username%&gt;<br />
  77. # reboot<br />
  78. reboot now</div>
  79. </li>
  80. <li>After the reboot, a graphical login screen should be displayed</li>
  81. <li>Log in with the new user account</li>
  82. <li>Launch the Chromium web browser and navigate to https://localhost:8006</li>
  83. <li>Welcome to Proxmox VE running on laptop hardware</li>
  84. </ol>
  85. <h2>Optional Configuration</h2>
  86. <ol>
  87. <li>Launch a terminal and run the following commands
  88. <div class="codeBlock CMD"># elevate to root<br />
  89. sudo su<br />
  90. # disable proxmox commmercial repo<br />
  91. sed -i &quot;s/^deb/\#deb/&quot; /etc/apt/sources.list.d/pve-enterprise.list<br />
  92. # add the proxmox community repo<br />
  93. echo &quot;deb http://download.proxmox.com/debian/pve $(grep &quot;VERSION=&quot; /etc/os-release | sed -n &#39;s/.*(\(.*\)).*/\1/p&#39;) pve-no-subscription&quot; &gt; /etc/apt/sources.list.d/pve-community.list<br />
  94. # update software repositories<br />
  95. apt update<br />
  96. # remove no subscription nag popup<br />
  97. # if running promox 6<br />
  98. sed -i.bak &#39;s/NotFound/Active/g&#39; /usr/share/perl5/PVE/API2/Subscription.pm<br />
  99. # if running proxmox 7<br />
  100. sed -Ezi.bak &quot;s/(Ext.Msg.show\(\{\s+title: gettext\(&#39;No valid sub)/void\(\{ \/\/\1/g&quot; /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js<br />
  101. # restart pveproxy service<br />
  102. systemctl restart pveproxy.service<br />
  103. # download the dark theme setup script<br />
  104. wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh<br />
  105. # run the downloaded script<br />
  106. bash ./PVEDiscordDark.sh install</div>
  107. </li>
  108. </ol>
  109. <p>Source: <a href="https://pve.proxmox.com/wiki/Developer_Workstations_with_Proxmox_VE_and_X11" target="_blank">https://pve.proxmox.com/wiki/Developer_Workstations_with_Proxmox_VE_and_X11</a></p>
  110. </div>
  111. </div>
  112. </body>
  113. </html>