Home Blog Page 596

Master the Open Cloud with Free, Community-Driven Guides

One of the common criticisms of open source in general, especially when it comes to open cloud platforms such as OpenStack and ownCloud, is lack of truly top-notch documentation and training resources. The criticism is partly deserved, but there are some free documentation resources that benefit from lots of contributors.

Community documentation and training contributors really can make a difference. In fact, in a recent interview, ClusterHQ’s Mohit Bhatnagar said: “Documentation is a classic example of where crowdsourcing wins. You just can’t beat the enthusiasm of hobbyist developers fixing a set of documentation resources because they are passionate about the topic.”

There are actually many ongoing, crowdsourced projects for producing free open source-related documentation, such as FLOSS Manuals, and there are good guides to open source cloud platforms all around the Internet.

Here are some of the very best free guides to popular, open cloud-centric tools, ranging from OpenStack to ownCloud:

Intro to the Open Cloud. The Linux Foundation’s 2016 report “Guide to the Open Cloud” is a good place to start. The report covers significantly established projects like OpenStack, Docker, and Ceph, and rapid up-and-comers such as Kubernetes. It’s especially useful if you are planning a cloud deployment and want to leverage open source tools.

The Linux Foundation is also collaborating with edX to offer an online course titled, LFS152x, which provides a comprehensive introduction to OpenStack. The course includes seven chapters, and a quiz at the end of each chapter. There is a final exam, and here is the great news: the complete course is available at no cost.

Meanwhile, you can investigate the Open Datacenter Group’s work on cloud usage models here. It is especially intended to “help guide enterprise IT consumers in their cloud service acquisition decisions.”

OpenStack Basics. For getting up to speed with OpenStack, you may want to take a look at what the OpenStack Foundation’s OpenStack Training Marketplace offers. It has surprisingly easy-to-follow and rich tutorials on the OpenStack platform. If you’re totally new to the OpenStack cloud platform, look into some of the introductory classes.

The Training Marketplace is specifically designed to make it easier to discover training courses offered by providers in the OpenStack community. The OpenStack Foundation has made available a series of instructor-led online training guides, and can also help you become a certified administrator. Also, Opensource.com has some excellent coverage of OpenStack tutorials, found here.

In addition, you can find a number of other options for OpenStack training from vendors focused on it. You can learn more about what Mirantis offers at: https://training.mirantis.com. Meanwhile, Red Hat offers numerous options here.

The FLOSS Manuals ownCloud Guide. FLOSS Manuals’ guide to ownCloud is completely free, and a good starting point if you’re looking to roll your own cloud. Before diving into it, you may want to gain some familiarity with what ownCloud is. It’s used by many individuals as a personal cloud platform. The FLOSS Manuals guide is aimed to be a complement to the existing ownCloud documentation. There are many good tutorials available for running ownCloud on Linux. Linux User & Developer has a good one here. Meanwhile, ownCloud’s founder has launched a new cloud platform, based on ownCloud, called Nextcloud. You can find a tutorial for getting going with it here.

Managing and Hosting Online Video in the Cloud. More and more cloud deployments need to include intelligent ways to host video content, and Floss Manuals’ guide to hosting video can provide much help. The guide focuses on approaches and tools to host, showcase and “aggregate” video content, and also makes specific technology recommendations.

Learn more about trends in open source cloud computing and see the full list of the top open source cloud computing projects. Download The Linux Foundation’s Guide to the Open Cloud report today!

How to install Arch Linux on VirtualBox

Arch Linux is a Linux-based operating system that is designed for i689 and 86-64 computers. Its unique package manager is responsible for providing updates to the latest software applications using “pacman” with complete tracking. Pacman is the package manager that is used to install, update, and remove the software packages. It is designed entirely for free and open-source software, along with the support from the Linux community.

Arch Linux is also popular for having a comprehensive documentation in form of the community wiki known as ArchWiki. This Linux operating system is based on binary packages that are targeted for i832, 64-bit, and 32-bit systems and optimized for the best performance on the modern hardware systems.

Read more at HowtoForge

Open Source Hardware: From SBCs to Servers

When you mention open source hardware, people typically think about community-backed hacker boards. However, the open hardware movement is growing on many fronts, including medical devices, rocketry and satellites, 3D printers, cameras, VR gear, and even laptops and servers. At the Embedded Linux Conference Europe in October, John “Warthog” Hawley, Intel’s evangelist for the MinnowBoard SBC, surveyed the key open hardware trends he saw in 2016. The full video, “Survey of Open Hardware 2016,” can be seen below.

Hawley prefers the strict open hardware interpretation offered by the Open Source Hardware Association (OSHA). The key statement is: “Open source hardware is hardware whose design is made publicly available so that anyone can study, modify, distribute, make, and sell the design or hardware based on that design.”

Hawley reported that at the Open Hardware Summit held in Portland, Oregon, OSHA had revealed a certification program for open source hardware. Formally announced on November 7, the plan calls for OSHA to issue unique IDs for each piece of registered hardware, including a country code and an ID number.

By OSHA’s definition, some popular community-backed SBCs such as the Raspberry Pi do not qualify as open source, said Hawley. “You can get some schematics for the Raspberry Pi, but you can’t get the Gerber files or remix it for your own purposes,” he said.

Boards that do qualify, he said, include Linux-ready, open spec SBCs like the Intel Galileo and LittleBits CloudBit on the low end and the BeagleBone, Olimex’s OlinuXino, and ADI’s Intel backed MinnowBoard Turbot on the high end. Many other community-backed Linux hacker SBCs, but certainly not all, would also appear to fit the definition.

Arduino boards, many of which now include a Linux-driven component, also qualify. Hawley reported on the breaking news at the time that the two dueling Arduino camps had pledged to reunite. The reunited Arduino will be unveiled at the Arduino Day conference on April 1.

Leading the way in opening up Linux SBCs in 2016 was The Next Thing’s $9 Chip SBC, which raised over $2 million on Kickstarter. said Hawley. The growing use of Kickstarter to launch open-spec hardware was another key 2016 trend, he added.

Calling the Chip developers “the poster children for open source hardware,” Hawley said that The Next Thing releases everything you would need to build your own Chip variant. This includes source code, Gerbers, schematics, and BOM.

“With the Chip, they’ve pioneered new techniques to reduce the cost of hardware,” said Hawley. “For example, they’ve got eMMC, but no eMMC hardware controller. The controller functions are done by software in the CPU.”

While ELCE was in session, The Next Thing unveiled a $16, open-spec computer-on-module version of the Chip called the Chip Pro. It also launched a partially open source system-in-package (SiP) version of the Cortex-A8 Allwinner R8 SoC use on the Chip and Chip Pro called the GR8. For a fully open source SoC, many vendors are turning to the RISC-V project, which may well end up on Hawley’s list of open hardware trends for 2017.

Needed: Easier open source PCB design tools

If you attempt to build your own SBCs rather than do what most hobbyist hackers do — write apps and customize the boards with add-ons — you will discover the rewards of “solving your own itches,” said Hawley. He noted, however, that it’s easier to delete a feature from a design than to add one.

The process of building your own board is challenged by the lack of easy, open source PCB design and layout tools. With lower end, two-layer PCBs, you can turn to the open source KiCad, but higher end boards with PCI-Express and differential pair routing usually require expensive professional tools, said Hawley.

KiCad’s workflow and UI are still difficult, but improving, said Hawley, echoing the thoughts of Grant Likely in an ELC 2016 North America session on embedded Linux. “A lot of entities are working to improve KiCad, such as CERN, which is adding differential pair, push-pull routing,” said Hawley.

On the 10-layer MinnowBoard, the only way to get at files beyond Gerbers is to work with high-end tools like OrCAD, said Hawley. “Eagle probably couldn’t handle it well, and porting it to KiCad would be a bit of a nightmare because it doesn’t handle that kind of complexity very well,” he added.

Autodesk’s proprietary Eagle tools are friendlier and more affordable than many, such as the high-end Altium, said Hawley. The BeagleBone Black now supports Eagle for a 4- or 6-layer board, he added.

An audience member related that Olimex was beginning to add KiCad support to its OlinuXino SBCs. Olimex also recently announced an open source Teres I laptop.

Open source hardware beyond SBCs

Open source hardware adoption and creation is accelerating, and not only in the SBC market, said Hawley. He reported on several presentations at the Open Hardware Summit, especially in the field of medical devices. Open spec medical gear is finally taking off, despite the challenge of extensive regulation and certification that can add years to product development, said Hawley.

One Open Hardware Summit presentation demonstrated an under-$100 open hardware device that surgeons can use to practice suturing techniques. You stick your finger into the device to learn how to apply just the right amount of pressure to sutures.

There was also a presentation about HACKberry’s dual-licensed, 3D printable prosthetic hand. This relatively affordable solution is particularly helpful for kids who typically go through several expensive prosthetic models as they grow. “It’s a modular system so you can replace the hookup with a slightly bigger one, and you can more easily customize it,” said Hawley.

Also at the Summit, the Portland State Aerospace Society talked about open source rocketry and satellites, and the U.S. National Park Service discussed its rapid adoption of open source hardware. “The Park Service is choosing open source hardware because it lowers the cost of putting together demos and interactive exhibits, and lets them more easily share designs with other parks and museums,” said Hawley.

Perhaps the biggest open hardware announcement of 2016 came from the server world, said Hawley. In March, Google joined Facebook’s Open Compute Project (OCP), a consortium of companies including Microsoft, that is developing standardized, open source equipment such as switches and servers.

“OCP is designing open hardware to cut down on costs, power usage, and thermal usage in data centers,” said Hawley. “They cut out the unnecessary parts of servers — I once saw a server with a sound card on it — so when they sit idle they won’t vampire power. Idling systems also generate heat, so you have to spend more on cooling.” Facebook and Google have each released other open source hardware devices, including Google’s Cardboard VR and Facebook’s Surround360 3D-360 video capture system.

Hawley said he tries to convince manufacturers to open source their hardware designs, or at the very least, open up the designs once end of life is at hand. “Instead of abandoning products, they should chuck them over the fence into open source,” he said. Not only is this friendlier to users and developers, but it enables the open source community to update the products for security. “Otherwise they make a great platform for DDOS attacks.”

Watch the complete presentation below:

Embedded Linux Conference + OpenIoT Summit North America will be held on February 21 – 23, 2017 in Portland, Oregon. Check out over 130 sessions on the Linux kernel, embedded development & systems, and the latest on the open Internet of Things.

Linux.com readers can register now with the discount code, LINUXRD5, for 5% off the attendee registration price. Register now>>

The Logical Happens: Open-O Merges with ECOMP

We’ve noted in the past that two Linux Foundation open source projects seemed to be working on similar things: The Open-O project and open source ECOMP. Today, the Linux Foundation announced that the two groups are merging.

The new name for the combined group is the Open Network Automation Platform (ONAP). The goal of ONAP is to enable end users to design, orchestrate, manage, and automate network services and virtual functions. It was only logical for these two groups to merge. They were doing many of the same things, and they were both hosted by the Linux Foundation. What’s fascinating is that the new group brings AT&T together with two major Chinese mobile operators.

Read more at SDxCentral

Survey of Open Hardware 2016

John “Warthog” Hawley, Intel’s evangelist for the MinnowBoard SBC, surveyed key open hardware trends at the Embedded Linux Conference Europe.
 
 

10 Most Common Reasons Kubernetes Deployments Fail (Part 1)

I’ve catalogued the most common reasons Kubernetes Deployments fail, and I’m sharing my troubleshooting playbook with you! Without further ado, here are the 10 most common reasons Kubernetes Deployments fail:

1. Wrong Container Image / Invalid Registry Permissions

Two of the most common problems are (a) having the wrong container image specified and (b) trying to use private images without providing registry credentials. These are especially tricky when starting to work with Kubernetes or wiring up CI/CD for the first time.

Read more at Kukulinski.com

Today’s Leading Causes of DDoS Attacks

Last fall, we saw the biggest distibuted denial of service (DDoS) attack ever. This year we’ll see even bigger ones. According to Akamai‘s latest State of the Internet Security report, here’s what’s behind them.

First, you should know that while the total DDoS attacks only increased by 4 percent from Q4 2015 to Q4 2016, there was a 140 percent increase in attacks greater than 100 gigabits per second (Gbps). In short, we’re not seeing that many more DDoS assaults, but they are getting much worse.

Read more at ZDNet

How to Contribute to Open Source

Want to contribute to open source? Here’s a guide to making open source contributions, for first-timers and for veterans, including:

Why contribute to open source?

What it means to contribute

How to orient yourself to a new project

Finding a project to contribute to

And more…

Read more at GitHub

Valve Launches SteamVR Support for Linux

Valve has been giving Steam users Linux love since 2012, and it’s not stopping with VR. The company just launched SteamVR for Linux, letting developers create Linux content for the HTC Vive VR headset, trackers and other hardware. The program is in beta, meaning developers must use an NVIDIA developer beta driver that’s built on “Vulkan,” the successor to OpenGL.

Read more at Engadget

How to Perform Pattern Search in Files using Grep

In our first article on the grep command, we covered quite a few features the tool offers, including how you can use it to search only for words, search for two words, count lines containing matched word, and more. Aside from these, the tool provides some more easy-to-understand and useful features. 

This article focuses on some advanced features of the grep command like case insensitive search, displaying certain non-matched lines with line containing matched string, print matched strings in grep, and to display the position of a match in grep.

Read more at HowToForge