Linux

Red Hat Developer
Article

How to install Clang/LLVM 5 and GCC 7 on RHEL

Rob Terzi

Clang tools and newer versions of GCC can be quite helpful for better warnings and error messages during C/C++ development. This article shows how you can easily install the latest supported Clang 5 and GCC 7 compilers using yum on Red Hat Enterprise Linux. It also provides tips for working with software collections.

Open Virtual Network
Article

Troubleshooting Open vSwitch DPDK PMD Thread Core Affinity

Eelco Chaudron

The most common problem when people are deploying an Open vSwitch with Data Plane Development Kit (OvS-DPDK) solution is that performance is not as expected. Here's how to configure thread affinity, verify that it’s set up correctly, and ensure no other threads are using the CPU cores.

Debugging Memory Issues with Open vSwitch DPDK
Article

Debugging Memory Issues with Open vSwitch DPDK

Kevin Traynor

How to debug and avoid out-of-memory issues with Open vSwitch with the Data Plane Development Kit (OvS-DPDK). It explains the situations in which you can run out of memory and shows the relevant log entries, and it also provides tips for further debugging.

Python Flask logo
Article

How to install Python Flask on Red Hat Enterprise Linux 7

Don Schenck

If you need to build some Python-based microservices, one way to do it is to install Python in a Red Hat Enterprise Linux virtual machine and use Flask, a microframework that makes building RESTful services easy.

Using API keys securely in your OpenShift microservices and applications
Article

Customizing an OpenShift Ansible Playbook Bundle

Alessandro Arrichiello

Learn how to create an Ansible Playbook Bundle (APB) and customize it to configure an external remote host (through SSH), explore what goes on "under the hood," and get tips for troubleshooting APBs.

Using API keys securely in your OpenShift microservices and applications
Article

Using Ansible Galaxy Roles in Ansible Playbook Bundles

Siamak Sadeghianfar

[In case you aren't following the OpenShift blog, I'm cross posting my article here because I think it will be of interest to the Red Hat Developer commnity.] The Open Service Broker API standard aims to standardize how services (cloud, third-party, on-premise, legacy, etc) are delivered to applications running on cloud platforms like OpenShift. This allows applications to consume services the exact same way no matter on which cloud platform they are deployed. The service broker pluggable architecture enables admins...

SystemTap
Article

Making the Operation of Code More Transparent and Obvious with SystemTap

William Cohen

You can study source code and manually instrument functions as described in the “Use the dynamic tracing tools, Luke” blog article, but why not make it easier to find key points in the software by adding user-space markers to the application code? User-space markers have been available in Linux for quite some time (since 2009). The inactive user-space markers do not significantly slow down the code. Having them available allows you to get a more accurate picture of what the...

SystemTap
Article

"Use the dynamic tracing tools, Luke"

William Cohen

Reviewing source code can be helpful in understanding how code works, but the static view may not give you a complete picture. The paths taken through code are heavily data dependent. Learn how to use Systemtap and debuginfo to dig into the Ruby interpreter internals on Red Hat Enterprise Linux 7.

RHEL
Article

Announcing GA for latest Software Collections, Developer Toolset, Compilers

Mike Guerette

We are pleased to announce the general availability of: Red Hat Software Collections 3.1 (Ruby 2.5, Perl 2.26, PHP 7.0.27, PostgreSQL 10, MongoDB 3.6, Varnish 5, HAProxy 1.8, Apache 2.4 update) Red Hat Developer Toolset 7.1 (GCC 7.3) Clang/LLVM 5.0, Go 1.8.7, Rust 1.25.0

Red Hat Summit
Article

Meeting Red Hat authors at Red Hat Summit 2018

Eric D. Schabell

Early this year, the book Effective Business Process Management with JBoss BPM launched a free ebook on Red Hat Developers that you can download. Next week I'll be at the Red Hat Summit 2018 conference in San Francisco, CA, at the Moscone Center speaking and presenting a hands-on lab. The surprise event is that Red Hat authors will be spending time at the booth where we'll be signing copies of our respective books. Look for me at the following times...

RHEL
Article

Expanding architectural choices to better arm Red Hat Enterprise Linux developers

Yan Fisher

Red Hat Enterprise Linux 7.5 is now live. Red Hat’s multi-architecture initiative is a new milestone: all supported architectures x86_64, PowerPC Big/Little Endian, s390x, and now 64-bit Arm and IBM POWER9 were simultaneously released. The Cockpit Web GUI can be used for complex admin tasks without using the CLI.

RedHat Shadowman Logo
Article

Deallocate an Azure VM Using the Azure CLI on RHEL

Takayoshi Tanaka

If you're running Red Hat Enterprise Linux server on Microsoft Azure, you may want to shut down and deallocate the VM using commands inside of the VM itself for automation or just for convenience. This article shows how a VM can shut itself down and deallocate its resources using the Azure CLI 2.0.

Cloud Lab Environment in a Backpack
Article

A Cloud Lab Environment in a Backpack

Marcelo "Ataxexe" Guimarães

Have you ever thought about having your own cloud environment? A local cloud is one of the best things you can do to better understand all the gears that run inside a highly productive environment. How do I know that? I've done it! And I'm ready to show you how I did, and how you can do it.

RHEL
Article

Red Hat scripting languages for beta: adds Ruby 2.5, Perl 5.26; updates PHP 7.1.8

Mike Guerette

Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc., so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections.

RHEL
Article

Red Hat adds/updates web tools for beta: HAProxy 1.8, Varnish 5.0, Apache httpd 2.4

Mike Guerette

Red Hat adds/updates web tools for beta: HAProxy 1.8, Varnish 5.0, Apache httpd 2.4 - Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc. so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections.

RedHat Shadowman Logo
Article

New Red Hat compilers toolsets in beta: Clang and LLVM, GCC, Go, Rust

Mike Guerette

Clang and LLVM, GCC, Go, Rust - Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc. so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections.

RedHat Shadowman Logo
Article

Red Hat open source databases in beta: Adds PostgreSQL 10, MongoDB 3.6; updates MySQL 5.7

Mike Guerette

Red Hat open source databases in beta: Adds PostgreSQL 10, MongoDB 3.6; updates MySQL 5.7 - Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc. so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections.

Open Virtual Network
Article

Non-root Open vSwitch in RHEL

Aaron Conole

In a few weeks, the Fast Datapath Production channel will update the Open vSwitch version from the 2.7 series to the 2.9 series. This is an important change, a wealth of new features and fixes all related to packet movement will come into play.

Open vSwitch-DPDK
Article

Open vSwitch-DPDK: How Much Hugepage Memory?

Kevin Traynor

This article covers how to calculate how much huge page memory is needed with Open vSwitch-DPDK? In order to maximize performance of the Open vSwitch DPDK datapath, it pre-allocates hugepage memory. As a user you are need to say how much.

GNU C library
Article

Usability improvements in GCC 8

David Malcolm

This article summarizes work that was done to make GCC 8 more usable by providing easier to understand warning and error messages. Many of these improvements will help you quickly recognize those common silly mistakes.

RedHat Shadowman Logo
Article

Red Hat Container Development Kit (CDK) With Nested KVM

Scott McCarty (fatherlinux)

running the Red Hat Container Development Kit (CDK) With Nested KVM. Red Hat Container Development Kit (CDK) relies on virtualization to create a Red Hat Enterprise Linux (RHEL) virtual machine to run OpenShift (based on Kubernetes).

RedHat Shadowman Logo
Article

SCTP Stream Schedulers and User Message Interleaving

Marcelo Ricardo Leitner

This blog post will go over two changes with SCTP Stream Schedulers and User Message Interleaving, pointing out the benefits of using the stream schedulers and especially when using them together with the new I-Data chunks.