{"id":1522,"date":"2020-05-29T16:00:00","date_gmt":"2020-05-29T20:00:00","guid":{"rendered":"https:\/\/enterpriseadmins.org\/blog\/?p=1522"},"modified":"2020-05-29T15:17:52","modified_gmt":"2020-05-29T19:17:52","slug":"which-linux-template","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/lab-infrastructure\/which-linux-template\/","title":{"rendered":"Which Linux Template?"},"content":{"rendered":"\n<p>I was recently showing someone my homelab and they noticed that I had templates for multiple Linux distributions including Ubuntu Server, Photon OS, and Tiny Core, as well as different versions of each.  They asked why I didn&#8217;t standardize on just one Linux distribution or version.  The version issue is easy &#8212; I can be lazy when it comes to cleaning up old templates.  The reason for multiple distributions required a bit of extra explanation, so I figured I would type it up here.<\/p>\n\n\n\n<p>Tiny Core is a very small Linux distribution that I can clone in seconds.  If I want to test something like network connectivity, a new DHCP scope, scripting something against a handful of VMs, or something that deals with the disk of a VM like vSphere Replication or a VM image backup\/restore Tiny Core is perfect&#8230; just enough of a VM to get the job done.  Instructions on how to create such a template can be found in this previous post:  <a href=\"https:\/\/enterpriseadmins.org\/blog\/lab-infrastructure\/lightweight-vm-for-testing-tinycore-linux\/\">https:\/\/enterpriseadmins.org\/blog\/lab-infrastructure\/lightweight-vm-for-testing-tinycore-linux\/<\/a>.<\/p>\n\n\n\n<p>Photon OS is a minimal Linux distribution optimized to run on VMware platforms.  Its already available as an OVA here:  <a href=\"https:\/\/github.com\/vmware\/photon\/wiki\/Downloading-Photon-OS\">https:\/\/github.com\/vmware\/photon\/wiki\/Downloading-Photon-OS<\/a>, so I just imported it once and saved it as a template.  It only takes a couple minutes to deploy one of these and configure it to run Docker containers.  For an example of something you can use it for, check out this previous post  <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/vrealize-operations-alerts-using-rest-notification-plugin\/\">https:\/\/enterpriseadmins.org\/blog\/scripting\/vrealize-operations-alerts-using-rest-notification-plugin\/<\/a>.<\/p>\n\n\n\n<p>Ubuntu Server is the largest Linux template I have on disk, but is still relatively small compared to a Windows template (my configured Ubuntu Server 18.04 template is ~5GB).  Ubuntu is a consumer friendly distribution with current support for a lot of different packages.  I have one of these VMs running PiHole and another used as a 2FA\/RADIUS server that I use for Two Factor Authentication with Horizon UAG.  Here is a previous post for building an Ubuntu 18.04 template:  <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/\">https:\/\/enterpriseadmins.org\/blog\/virtualization\/lab-updates-ubuntu-18-04-template\/<\/a> <\/p>\n\n\n\n<p>What Linux distribution do you like that I am missing? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was recently showing someone my homelab and they noticed that I had templates for multiple Linux distributions including Ubuntu Server, Photon OS, and Tiny Core, as well as different versions of each. They asked why I didn&#8217;t standardize on &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/lab-infrastructure\/which-linux-template\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1522","post","type-post","status-publish","format-standard","hentry","category-lab-infrastructure"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=1522"}],"version-history":[{"count":2,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1522\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1522\/revisions\/1524"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=1522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=1522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=1522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}