Home Blog Page 343

Announcing Release 3 of Ceph Storage for Oracle Linux

We are excited to announce Release 3 of Ceph Storage for Oracle Linux. This release presents a uniform view of object and block storage from a cluster of multiple physical and logical commodity-hardware storage devices. Ceph can provide fault tolerance and enhance I/O performance by replicating and striping data across the storage devices in a Ceph Storage Cluster. Ceph’s monitoring and self-repair features minimize…

Click to Read More at Oracle Linux Kernel Development

Attend Live Webinar: Are Your Containers Secure?

K Live Webinar Are Your Containers Secure? USA, Canada and Latin America: Date: July 31, 2018  Time: 9:00 AM PT / 12:00 PM ET  1 PM Sao Paulo/ 11 AM Mexico Register   Europe, Middle East, Africa: Date: July 31, 2018 Time: 5:00 BST/16:00 CEST/16:00…

Click to Read More at Oracle Linux Kernel Development

Attend Live Webinar: Are Your Containers Secure?

K Live Webinar Are Your Containers Secure? USA, Canada and Latin America: Date: July 31, 2018  Time: 9:00 AM PT / 12:00 PM ET  1 PM Sao Paulo/ 11 AM Mexico Register   Europe, Middle East, Africa: Date: July 31, 2018 Time: 5:00 BST/16:00 CEST/16:00…

Click to Read More at Oracle Linux Kernel Development

Attend Live Webinar: Are Your Containers Secure?

K Live Webinar Are Your Containers Secure? USA, Canada and Latin America: Date: July 31, 2018  Time: 9:00 AM PT / 12:00 PM ET  1 PM Sao Paulo/ 11 AM Mexico Register   Europe, Middle East, Africa: Date: July 31, 2018 Time: 5:00 BST/16:00 CEST/16:00…
Click to Read More at Oracle Linux Kernel Development

Clear Linux Makes a Strong Case for Your Next Cloud Platform

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 Clear Linux 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.

What is Clear Linux?

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:

  • FUSE file system debugging tool (for complete debug info)

  • Automatic feedback-directed optimizer

  • Function multi-versioning (to assist in developing platforms that can run anywhere)

  • Autoproxy (no need to manually configure proxies)

  • Telemetry (detect and respond to quality issues)

  • Mixer tool (for composing a specific use-case OS)

  • Software Update

  • Stateless (separates the OS configuration, per-system configuration, and VT user-data)

Supported hardware

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:

  • 2nd Generation, or later, Intel® Core™ processor family.

  • Intel® Xeon® Processor E3

  • Intel® Xeon® Processor E5

  • Intel® Xeon® Processor E7

  • Intel® Atom™ processor C2000 product family for servers – Q3 2013 version or later.

  • Intel® Atom™ processor E3800 series – Q4 2013 version or later.

Beyond Intel architecture, the minimum system requirements are:

  • Memory: 4GB RAM

  • Hard Disk: 20GB HDD

  • Network: Active Internet connection

  • Graphics: Intel HD Graphics (required if running a GUI desktop)

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.

Installation

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).

Figure 1: Enabling EFI in VirtualBox.

Once you have the VM setup, download the clear-23550-installer.iso.xz file. You will then need to uncompress the file with the command:

unxz clear-23550-installer.iso.xz

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).

Figure 2: The Clear Linux installer is easy to use.

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).

Figure 3: Selecting the Manual option for installation.

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).

Figure 4: Selecting additional packages for Clear Linux.

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 useradd command.

Post installation

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 this page). To install the containers-basic bundle, the command is:

sudo swupd bundle-add containers-basic

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:

sudo swupd bundle-add desktop-autostart

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.

It should also be noted that the swupd 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:

sudo swupd autoupdate --enable

sudo swupd autoupdate --disable

You can also force a manual update with the command:

sudo swupd update

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.

Make it yours

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.

The Linux Foundation Transforms the Energy Industry with New Initiative: LF Energy

We are thrilled to introduce the new LF Energy initiative to support and promote open source in the energy and electricity sectors. LF Energy is focused on accelerating the energy transition, including the move to renewable energy, electric mobility, demand response and more.

Open source has transformed industries as vast and different as telecommunications, financial services, automobiles, healthcare, and consumer products. Now we are excited to bring the same level of open collaboration and shared innovation to the power systems industry.

We are also honored that several global, highly influential energy leaders and research institutions are supporting The Linux Foundation including RTE (Europe’s biggest transmission system provider), the European Network of Transmission System Operators, Vanderbilt University and The Electric Power Research Institute.

LF Energy is welcoming four new projects as part of the initiative, and we plan to host numerous information and communication technologies (ICT) that will advance everything from smart assistants for system operators to advanced grid controls, analytics, and planning software. 

Read more at The Linux Foundation

Take Our Survey on Open Source Programs

The New Stack is partnering with The Linux Foundation to investigate how many organizations either have a formal open source management program or are planning to create one.

How is open source code managed in your organization? And does it affect how fast and efficiently new product development takes place? We want to know.

The answer to these questions will help determine the critical role that open source management plays in an organization’s ability to adapt and scale.

Please take eight minutes to complete this survey. The results will be shared publicly on The New Stack, and The Linux Foundation’s GitHub page.

Read more at The New Stack

Netdev Day 1: IPsec!

Today at the conference I learned a lot about IPsec, so we’re going to talk about IPsec! There was an IPsec workshop given by Sowmini Varadhan and Paul Wouters. All of the mistakes in this post are 100% my fault though :).

what’s IPsec?

IPsec is a protocol used to encrypt IP packets. Some VPNs are implemented with IPsec. One big thing I hadn’t really realized until today is that there isn’t just one protocol used for VPNs – I think VPN is just a general term meaning “your IP packets get encrypted and sent through another server” and VPNs can be implemented using a bunch of different protocols (OpenVPN, PPTP, SSTP, IPsec, etc) in a bunch of different ways.

Why is IPsec different from other VPN protocols? (like, why was there a tutorial about it at netdev and not the other protocols?) My understanding is that there are 2 things that make it different:

  • It’s an IETF standard, documented in eg RFC 6071 (did you know the IETF is the group that makes RFCs? I didn’t until today!)
  • it’s implemented in the Linux kernel (so it makes sense that there was a netdev tutorial on it, since netdev is a Linux kernel networking conference :))

Read more at Julia Evans

A SysAdmin’s Guide to SELinux: 42 Answers to the Big Questions

“It is an important and popular fact that things are not always what they seem…”

―Douglas Adams, The Hitchhiker’s Guide to the Galaxy

Security. Hardening. Compliance. Policy. The Four Horsemen of the SysAdmin Apocalypse. In addition to our daily tasks—monitoring, backup, implementation, tuning, updating, and so forth—we are also in charge of securing our systems. Even those systems where the third-party provider tells us to disable the enhanced security. It seems like a job for Mission Impossible‘s Ethan Hunt.

Faced with this dilemma, some sysadmins decide to take the blue pill because they think they will never know the answer to the big question of life, the universe, and everything else. And, as we all know, that answer is 42.

In the spirit of The Hitchhiker’s Guide to the Galaxy, here are the 42 answers to the big questions about managing and using SELinux with your systems.

  1. SELinux is a LABELING system, which means every process has a LABEL. Every file, directory, and system object has a LABEL. Policy rules control access between labeled processes and labeled objects. The kernel enforces these rules.

Read more at OpenSource.com

Becoming a Senior Developer: 9 Experiences You’ll Encounter

Many programming career guidelines stress the skills a software developer is expected to acquire. Such general advice suggests that someone who wants to focus on a technical track—as opposed to, say, taking a management path to CIO—should go after the skills needed to mentor junior developers, design future application features, build out release engineering systems, and set company standards.

That isn’t this article.

Being a developer—a good one—isn’t just about writing code. To be successful, you do a lot of planning, you deal with catastrophes, and you prevent catastrophes. Not to mention you spend plenty of time working with other humans about what your code should do.

Following are a number of markers you’ll likely encounter as your career progresses and you become a more accomplished developer. You’ll have highs that boost you up and remind you how awesome you are. You’ll also encounter lows that keep you humble and give you wisdom—at least in retrospect, if you respond to them appropriately.

Read more at HPE