{"id":32420,"date":"2018-07-13T14:04:34","date_gmt":"2018-07-13T14:04:34","guid":{"rendered":"http:\/\/www.sickgaming.net\/blog\/?p=32420"},"modified":"2018-07-13T14:04:34","modified_gmt":"2018-07-13T14:04:34","slug":"clear-linux-makes-a-strong-case-for-your-next-cloud-platform","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2018\/07\/13\/clear-linux-makes-a-strong-case-for-your-next-cloud-platform\/","title":{"rendered":"Clear Linux Makes a Strong Case for Your Next Cloud Platform"},"content":{"rendered":"<div><img decoding=\"async\" src=\"http:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2018\/07\/clear-linux-makes-a-strong-case-for-your-next-cloud-platform.png\" class=\"ff-og-image-inserted\" \/><\/div>\n<p>There are so many Linux distributions available, some of which are all-purpose and some that have a more singular focus. Truth be told, you can take most general distributions and turn them into purpose-driven platforms. But, when it comes to things like cloud and IoT, most prefer distributions built with that specific use in mind. That\u2019s where the likes of <a href=\"https:\/\/clearlinux.org\/\">Clear Linux<\/a> comes in. This particular flavor of Linux was designed for the cloud, and it lets you install either an incredibly bare OS or one with exactly what you need to start developing for cloud and\/or IoT.<\/p>\n<h3>What is Clear Linux?<\/h3>\n<p>Clear Linux comes from Intel\u2019s Open Source Technology Center, which focuses primarily on the cloud. With that in mind, it should come as no surprise that Clear Linux was designed specifically for the cloud while best leveraging Intel hardware. Because Clear Linux focuses primarily on Intel hardware, it can make best use of power management features and performance optimizations. Clear Linux also features:<\/p>\n<ul>\n<li>\n<p>FUSE file system debugging tool (for complete debug info)<\/p>\n<\/li>\n<li>\n<p>Automatic feedback-directed optimizer<\/p>\n<\/li>\n<li>\n<p>Function multi-versioning (to assist in developing platforms that can run anywhere)<\/p>\n<\/li>\n<li>\n<p>Autoproxy (no need to manually configure proxies)<\/p>\n<\/li>\n<li>\n<p>Telemetry (detect and respond to quality issues)<\/p>\n<\/li>\n<li>\n<p>Mixer tool (for composing a specific use-case OS) <\/p>\n<\/li>\n<li>\n<p>Software Update<\/p>\n<\/li>\n<li>\n<p>Stateless (separates the OS configuration, per-system configuration, and VT user-data)<\/p>\n<\/li>\n<\/ul>\n<h3>Supported hardware<\/h3>\n<p>Clear Linux can run on very minimal hardware (e.g., a single core CPU with 128MB of RAM and 600MB of storage). But it should be known (as you might already suspect), Clear Linux can only run on Intel 64-bit architecture and the hardware must support UEFI (otherwise it won\u2019t boot). The following processor families have been verified to run Clear Linux:<\/p>\n<ul>\n<li>\n<p>2nd Generation, or later, Intel\u00ae Core\u2122 processor family.<\/p>\n<\/li>\n<li>\n<p>Intel\u00ae Xeon\u00ae Processor E3<\/p>\n<\/li>\n<li>\n<p>Intel\u00ae Xeon\u00ae Processor E5<\/p>\n<\/li>\n<li>\n<p>Intel\u00ae Xeon\u00ae Processor E7<\/p>\n<\/li>\n<li>\n<p>Intel\u00ae Atom\u2122 processor C2000 product family for servers \u2013 Q3 2013 version or later.<\/p>\n<\/li>\n<li>\n<p>Intel\u00ae Atom\u2122 processor E3800 series \u2013 Q4 2013 version or later.<\/p>\n<\/li>\n<\/ul>\n<p>Beyond Intel architecture, the minimum system requirements are:<\/p>\n<p>I want to show you how to get Clear Linux up and running. I\u2019ll be demonstrating on a VirtualBox VM. The installation isn\u2019t terribly difficult, but there are certain things you need to know.<\/p>\n<h3>Installation<\/h3>\n<p>If you are going the route of VirtualBox virtual machine, create the VM as per normal, but you must enable EFI. To do this, open the Settings for the VM and click on the System tab. In this tab (Figure 1), click the checkbox for Enable EFI (special OSes only).<\/p>\n<p>Once you have the VM setup, download the <a href=\"https:\/\/download.clearlinux.org\/releases\/current\/clear\/clear-23550-installer.iso.xz\">clear-23550-installer.iso.xz<\/a> file. You will then need to uncompress the file with the command:<\/p>\n<pre>\nunxz clear-23550-installer.iso.xz<\/pre>\n<p>Once the file is uncompressed, you\u2019ll see the clear-23550-installer.iso file. If you are going to use this as a virtual machine, you can attach that to the VM. If you\u2019re installing on bare metal, burn that file to either a CD\/DVD or USB flash drive as a bootable media. Boot the media or start the VirtualBox VM to be greeted by the text-based installer (Figure 2).<\/p>\n<p>The installer is fairly straightforward. However, you do need to know that if you don\u2019t go the Manual\/Advanced route, you\u2019ll wind up with a very bare system. Most of the questions asked during the installation are self explanatory. Just make sure when you reach the Choose Installation Type screen to select Manual (Figure 3).<\/p>\n<p>If you go with the default (Automatic), you cannot select any additional packages. Chances are, you will want to go the Manual route (Figure 4).<\/p>\n<p>Another task you are able to take care of in the Manual installation is the ability to create an admin user. If you don\u2019t do that, the only user available is root. Of course, even if you go with the minimal installation, you can add users manually with the <em>useradd <\/em>command.<\/p>\n<h3>Post installation<\/h3>\n<p>After the installation completes, reboot and login. If you didn\u2019t install the graphical environment (which probably will be the case, as this is geared toward the cloud), you might want to install more applications. This is done via bundles, using the swupd command. Say you want to run container applications with Docker. For this, you\u2019d add the containers-basic bundle (for a list of all available bundles, see <a href=\"https:\/\/clearlinux.org\/documentation\/clear-linux\/reference\/bundles\/available-bundles\">this page<\/a>). To install the containers-basic bundle, the command is:<\/p>\n<pre>\nsudo swupd bundle-add containers-basic<\/pre>\n<p>After that command runs, you can now deploy container applications from Dockerhub. There are quite a large amount of bundles you can add. You can even install the GNOME desktop with the command:<\/p>\n<pre>\nsudo swupd bundle-add desktop-autostart<\/pre>\n<p>In fact, using bundles, you can pretty much define exactly how Clear Linux is going to function. Just remember, the base install is pretty empty, so you\u2019ll want to go through the list of bundles and install everything you\u2019ll need to make Clear Linux serve your specific purpose.<\/p>\n<p>It should also be noted that the <em>swupd<\/em><em> <\/em>command also takes care of the updating of bundles. This process is handled automatically. The autoupdate process can be enabled and disabled with the following two commands:<\/p>\n<pre>\nsudo swupd autoupdate --enable sudo swupd autoupdate --disable<\/pre>\n<p>You can also force a manual update with the command:<\/p>\n<pre>\nsudo swupd update<\/pre>\n<p>Once you have everything installed and updated, you can start developing for the cloud and\/or IoT; Clear Linux will serve you well in that regard.<\/p>\n<h3>Make it yours<\/h3>\n<p>If you want a cloud\/IoT-specific Linux distribution that lets you build a distribution for a very specific need, Clear Linux might be just what you\u2019re looking for. Give it a go for yourself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are so many Linux distributions available, some of which are all-purpose and some that have a more singular focus. Truth be told, you can take most general distributions and turn them into purpose-driven platforms. But, when it comes to things like cloud and IoT, most prefer distributions built with that specific use in mind. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":32421,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-32420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-freebsd-unix"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/32420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=32420"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/32420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/32421"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=32420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=32420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=32420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}