Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear Linux Makes a Strong Case for Your Next Cloud Platform

#1
Clear Linux Makes a Strong Case for Your Next Cloud Platform

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/07/clear-linux-makes-a-strong-case-for-your-next-cloud-platform.png" width="1239" height="625" title="" alt="" /></div><div><div><img 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>
<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’s 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>
<h3>What is Clear Linux?</h3>
<p>Clear Linux comes from Intel’s 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>
<ul>
<li>
<p>FUSE file system debugging tool (for complete debug info)</p>
</li>
<li>
<p>Automatic feedback-directed optimizer</p>
</li>
<li>
<p>Function multi-versioning (to assist in developing platforms that can run anywhere)</p>
</li>
<li>
<p>Autoproxy (no need to manually configure proxies)</p>
</li>
<li>
<p>Telemetry (detect and respond to quality issues)</p>
</li>
<li>
<p>Mixer tool (for composing a specific use-case OS) </p>
</li>
<li>
<p>Software Update</p>
</li>
<li>
<p>Stateless (separates the OS configuration, per-system configuration, and VT user-data)</p>
</li>
</ul>
<h3>Supported hardware</h3>
<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’t boot). The following processor families have been verified to run Clear Linux:</p>
<ul>
<li>
<p>2nd Generation, or later, Intel® Core™ processor family.</p>
</li>
<li>
<p>Intel® Xeon® Processor E3</p>
</li>
<li>
<p>Intel® Xeon® Processor E5</p>
</li>
<li>
<p>Intel® Xeon® Processor E7</p>
</li>
<li>
<p>Intel® Atom™ processor C2000 product family for servers – Q3 2013 version or later.</p>
</li>
<li>
<p>Intel® Atom™ processor E3800 series – Q4 2013 version or later.</p>
</li>
</ul>
<p>Beyond Intel architecture, the minimum system requirements are:</p>
<p>I want to show you how to get Clear Linux up and running. I’ll be demonstrating on a VirtualBox VM. The installation isn’t terribly difficult, but there are certain things you need to know.</p>
<h3>Installation</h3>
<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>
<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>
<pre>
unxz clear-23550-installer.iso.xz</pre>
<p>Once the file is uncompressed, you’ll 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’re 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>
<p>The installer is fairly straightforward. However, you do need to know that if you don’t go the Manual/Advanced route, you’ll 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>
<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>
<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’t 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>
<h3>Post installation</h3>
<p>After the installation completes, reboot and login. If you didn’t 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’d 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>
<pre>
sudo swupd bundle-add containers-basic</pre>
<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>
<pre>
sudo swupd bundle-add desktop-autostart</pre>
<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’ll want to go through the list of bundles and install everything you’ll need to make Clear Linux serve your specific purpose.</p>
<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>
<pre>
sudo swupd autoupdate --enable sudo swupd autoupdate --disable</pre>
<p>You can also force a manual update with the command:</p>
<pre>
sudo swupd update</pre>
<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>
<h3>Make it yours</h3>
<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’re looking for. Give it a go for yourself.</p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016