{"id":180,"date":"2024-02-10T18:07:52","date_gmt":"2024-02-10T17:07:52","guid":{"rendered":"https:\/\/leren.ovh\/?p=180"},"modified":"2024-02-10T22:54:08","modified_gmt":"2024-02-10T21:54:08","slug":"proxmox-on-laptop","status":"publish","type":"post","link":"https:\/\/leren.ovh\/index.php\/2024\/02\/10\/proxmox-on-laptop\/","title":{"rendered":"Proxmox on laptop"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Make sure VT-D and VT-x  is enabled in BIOS as well as having Secure Boot disabled.<\/li>\n\n\n\n<li>Proxmox GUI is by default available on port 8006<\/li>\n\n\n\n<li>To avoid having the laptop go to sleepmode when closing the lid, you need to change the following file : \/etc\/systemd\/logind.conf<br>Uncomment the following lines<br><em>#HandleLidSwitch=suspend<\/em>    replace with       <br>HandleLidSwitch=ignore<br><em>#HandleLidSwitchExternalPower=suspend<\/em>    replace with       HandleLidSwitchExternalPower=ignore<br><em>#HandleLidSwitchDocked=ignore    replace with       <\/em><br>HandleLidSwitchDocked=ignore<br><br>systemctl restart systemd-logind.service<\/li>\n\n\n\n<li>Install a GUI for the laptop using console : <em>apt install xfce4 chromium lightdm sudo -y<\/em><br>add a new user : <em>adduser &lt;%username%&gt;<\/em><br>add user to sudogroup : <em>usermod -aG sudo &lt;%username%&gt;<\/em><br>reboot to make it functional<\/li>\n\n\n\n<li>Change Repositories to Community Edition<br>\/etc\/apt\/sources.list.d\/pve-enterprise.list<br>From: <em>deb https:\/\/enterprise.proxmox.com\/debian\/pve bookworm enterprise<\/em><br>To: <em>deb http:\/\/download.proxmox.com\/debian\/pve bookworm pve-no-subscription<\/em><br>\/etc\/apt\/sources.list.d\/ceph.list<br>From: <em>deb https:\/\/enterprise.proxmox.com\/debian\/ceph-quincy bookworm enterprise<\/em><br>To: <em>deb http:\/\/download.proxmox.com\/debian\/ceph-quincy bookworm no-subscription<\/em><\/li>\n\n\n\n<li>Remove Nag screen Subscription:<br><em>sed -Ezi.bak &#8220;s\/(Ext.Msg.show({\\s+title: gettext(&#8216;No valid sub)\/void({ \\\/\\\/\\1\/g&#8221; \/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js &amp;&amp; systemctl restart pveproxy.service<\/em><\/li>\n\n\n\n<li>Install Dark theme for not burning in eyes&#8230;<br><em>bash &lt;(curl -s https:\/\/raw.githubusercontent.com\/Weilbyte\/PVEDiscordDark\/master\/PVEDiscordDark.sh ) install<\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_themeisle_gutenberg_block_has_review":false,"_ti_tpc_template_sync":false,"_ti_tpc_template_id":"","footnotes":""},"categories":[20],"tags":[19],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-proxmox","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":5,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leren.ovh\/index.php\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}