Linux

GNU C library
Article

The Non-complexity of /etc/nsswitch.conf

DJ Delorie

An overview of the current nsswitch.conf behavior and a request for input on the future behavior of the name services switch interface in glibc.

Podman can now ease the transition to Kubernetes and CRI-O
Article

Intro to Podman

Alessandro Arrichiello +1

Podman is an alternative to the Docker command-line interface that lets you run standalone, daemonless containers. See examples of how easy it is to use Podman.

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.

Apache Camel logo
Article

Using Camel-Undertow component supporting http2 connection

Chandra Shekhar Pandey

This article would help to configure http2 protocol support for the camel-undertow component. Camel's undertow component use embedded undertow web-container of version undertow-core:jar:1.4.21 . This version also supports the http2 connection. I have used camel version 2.21.0-SNAPSHOT from upstream https://github.com/apache/camel . Also, the curl version to test application using camel-undertow component is 7.53.1. This curl version supports --http 2 flag for sending an http2 request. I have also used nghttp to test application from linux terminal. However, this article is...

Article Thumbnail
Article

How to enable/disable repository using Subscription Manager or Yum-Utils

Roshan V Sharma

This blog is to resolve the following issues/answering the following questions. How to enable a repository using the Red Hat Subscription Manager/yum? Need to access a repository using the Red Hat Subscription Manager/yum? How to disable a repository usisystem register with rhn classicng the Red Hat Subscription Manager/yum? How to subscribe a child channel using the Red Hat Subscription Manager/yum? To enable/disable repository using Subscription-Manger or Yum-Utils you'll need: Red Hat Enterprise Linux 6 or higher. Red Hat Subscription Management...

DotNET Core process image
Article

Writing a Linux daemon in C#

Takayoshi Tanaka

When you want to run .NET Core process as a daemon on Red Hat Enterprise Linux, you can create a custom systemd unit. Today I'll write about two examples of custom systemd unit for .NET Core. The one is a oneshot type for running a .NET Core console application and the other is a simple type for running an ASP.NET Core Web application. Oneshot type with a console application Building an app You can use dotnet run in systemd with...

Technical Cheat Sheets for Developers
Article

Technical Cheat Sheets for Developers

Emily Parish

Over the past few months, we’ve been building and releasing a variety of technical cheat sheets and we’ve been getting many requests for more. We are working on new cheat sheets every day, ok maybe not weekends, but almost every day. Here are the cheat sheets available today: Linux Commands Cheat Sheet , Advanced Linux Commands Cheat Sheet , Wildfly Swarm Cheat Sheet , Containers Cheat Sheet , MongoDB Cheat Sheet , Kubernetes Cheat Sheet and the Eclipse Vert.x Cheat...

Linux on an android phone feature image
Article

Installing Linux on an Android Phone

Samantha Donaldson

As a web developer, being able to run a Linux distro alongside your pre-existing mobile OS on your android phone is a very enticing offer. With a fully functional Linux program in your pocket at all times, you can begin to utilize your phone for various processes including powering a LAMP server and turning the device into a portable network, troubleshooting tool, and pen-testing device. Furthermore, by utilizing LinuxOnAndroid’s shell scripts and Android app, as well as the open source...

Dyn Outages
Article

The Year of Data Breaches: Why Encryption and Reformatting SSD’s is Not Enough

Samantha Donaldson

2016 was certainly an interesting year and, although we could probably discuss the election alone for an hour, there is one particular epidemic which has plagued the developer community in more ways than we probably care to mention. It seems as though even the best data encryption and reformatting of SSD’s is slowly becoming not enough when it comes to the continuous evolution of the hacker community and this is a pretty unsettling situation. In fact, in the first six...

A Practical Introduction to Docker Container Terminology
Article

The Evolution of a Linux Container

Don Schenck

(Probably, a more accurate title would be "The Evolution of a Linux Container Developer") Since .NET now runs on Linux (as well as Windows and macOS), the whole world of Linux containers and microservices has opened up to .NET developers. With a large pool of developers, a long track record of success, and performance numbers that are impressive, .NET offers a great opportunity to expand the world of Linux containers to formerly Windows-centric developers. While it’s tempting to rush in...

Article Thumbnail
Article

A Linux Cheat Sheet for Developers

Burr Sutter

I first started using computers in the mid-80’s. A DOS-based computer, where - as a programmer - I had to first learn how to type and how to navigate a seemingly arcane series of commands. There was no mouse back in those days. Today, as a developer, I spend most of my day on a Windows or Mac OSX-based laptop and use Linux within a virtual machine (VM) inside a hypervisor like VirtualBox or Hyper-V. Even with years of experience...

Performance graph
Article

Practical micro-benchmarking with 'ltrace' and 'sched'

DJ Delorie

Recently I was asked to look into an issue related to QEMU's I/O subsystem performance - specifically, I was looking for differences in performance between glibc's malloc and other malloc implementations'. After a good deal of benchmarking I was unable to see a clear difference between our malloc (glibc) and others, not because the implementations were similar, but because there was too much noise in the system; the benchmarks were being polluted by other things, not just in QEMU, but...

DevConf.cz logo
Article

CFP: DevConf.cz 2016 Is Looking for Speakers

Robert Krátký

Are you a developer or a sysadmin working on something open source that you want to share with the world? Do you know such a person? Submit a talk for DevConf.cz 2016, the largest open-source event in central Europe. February 2016 is approaching and that means preparations for the next DevConf.cz are fully on track! DevConf.cz (Developer Conference) is a free annual conference for all Linux and JBoss community developers, admins, and Linux users organized by Red Hat Czech Republic...

GNU C library
Article

Dirty Tricks: Launching a helper process under memory and latency constraints (pthread_create and vfork)

Carlos O'Donell

You need to launch a helper process, and while Linux's fork is copy-on-write (COW), the page tables still need to be duplicated, and for a large virtual address space that could result in running out of memory and performance degradation. There are a wide array of solutions available to use, but one of them, namely vfork is mostly avoided due to a few difficult issues. First is that vfork pauses the parent thread while the child executes and eventually calls...

Red Hat Enterprise Linux Server for ARM Development Preview
Article

The ARM Arc Part 3

Brendan Conoboy

This week heralded the announcement of Red Hat Enterprise Linux Server for ARM Development Preview 7.1, the next milestone in Red Hat's exploring the potential for ARM servers. 

Article Thumbnail
Article

Tech Fun Day at DevNation - a review of Tuesday

Jen Krieger

WARNING: Shameless plug! If you do nothing else today, you should go to these two Red Hat Summit tracks. Not only are the guys speaking the smartest dudes in the room, closet super heroes and have all held world records for Olympic speed walking, they work in the same department as me and can give you a look into how Red Hat IT is using Red Hat products. Meeting the challenge with PaaS: OpenShift in the enterprise - 10:40 with...