RHEL

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.

RHEL
Article

How to enable sudo on Red Hat Enterprise Linux

Rob Terzi

For developers, sudo access can be very useful for automating steps in build scripts. Learn how to configure sudo access and enable sudo during system installation.

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.

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.

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

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.

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.

A Practical Introduction to Docker Container Terminology
Article

A Practical Introduction to Container Terminology

Scott McCarty (fatherlinux)

It is deceptively simple to get started with Linux Containers, but how well do you really understand the underlying technology? Could you explain the architectural trade offs of container hosts, images, and application definitions within Kubernetes? This article is intended to help you build that knowledge.

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

Red Hat Logo
Article

Getting started with llvm-toolset

Tom Stellard

llvm-toolset is a new software collection that packages together a number of the tools distributed by the LLVM project, including: LLVM tools and libraries, clang, clang-tools-extra, and lldb. Installing llvm-toolset For updated installation instructions, see How to install Clang/LLVM 6 on Red Hat Enterprise Linux . Clang/LLVM 5.x is packaged in as llvm-toolset-7 , which is available in the rhel-7-server-devtools-rpms repo for RHEL 7. (If you don’t already have RHEL 7, Red Hat offers no-cost RHEL subscriptions for development use...

Getting started
Article

Getting started with rust-toolset

Josh Stone

One of the new software collections we’ve introduced this fall is for Rust , the programming language that aims for memory and thread safety without compromising performance. Dangling pointers and data races are caught at compile time, while still optimizing to fast native code without a language runtime! In rust-toolset-7, we’re including everything you need to start programming in Rust on Red Hat Enterprise Linux 7, in the familiar format of software collections. In this release, we’re shipping Rust 1.20...

RedHat logo
Article

Entropy in RHEL based cloud instances

Eduardo Minguez

According to Wikipedia , entropy is the randomness collected by an operating system or application for use in cryptography or other uses that require random data. Entropy is often overlooked, misconfigured or forgotten and it can originate in sporadic errors whether it can be timeouts, refused connections, etc. Such errors are difficult to debug as the errors happen only when there is not enough entropy available. This article tries to explain briefly how to check if this can be a...

Article Thumbnail
Article

JDBC Master-Slave Persistence setup with Activemq using Postgresql database.

Chandra Shekhar Pandey

This article will help in setting up JDBC Master/Slave for embedded Activemq in Red Hat JBoss Fuse/AMQ 6.3 with postgresql db from scratch. 1. Try to search for postgresql db in RHEL using command yum list postgre* Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription- : manager Available Packages postgresql.x86_64 8.4.20-7.el6 @rhel-6-workstation-rpms postgresql-libs.x86_64 8.4.20-7.el6 @rhel-6-workstation-rpms postgresql-server.x86_64 8.4.20-7.el6 @rhel-6-workstation-rpms postgresql.i686 8.4.20-7.el6 rhel-6-workstation-rpms postgresql-contrib.x86_64 8.4.20-7.el6 rhel-6-workstation-rpms postgresql-devel.i686 2. Install available package. yum install postgresql-server.x86_64 3. This will install postgresql db and create a...

.NET Core
Article

Introduction to NuGet with .NET Core on RHEL

Dave Mulford

Introduction to NuGet with .NET Core NuGet is an open source package manager for the .NET Core ecosystem. For those familiar with Red Hat Enterprise Linux (RHEL), you can think of it as the “yum” for pulling libraries into your .NET Core project. Working with NuGet packages in .NET Core applications is accomplished primarily through your project’s .csproj file and the dotnet command-line interface. Repositories Just like RHEL, NuGet has its own repositories to get packages. By default, when the...

Video Thumbnail
Video

Install .NET Core on RHEL in under 5 minutes, by Don Schenck.

A lightning talk from Red Hat Summit 2017. Here is the transcription:

[00:11] I have a VM here. Let me just run the .NET command to show you. It's not there, so we're going to install .NET on RHEL. The first thing I'm going to do is become Super User, otherwise I have to type pseudo for every command and that's just a hassle.

[00:33] I'm just going to copy and paste the commands here. The point isn't that I type out every command, the point is that you see it's only a couple of commands to get it installed. The first thing I'll do is get my subscription manager attached to the correct pool of RPMs, that's the packages I pulled down.

[00:49] When you install .NET on RHEL you're getting the package from Red Hat. You're not getting it from Microsoft. We get the source code from Microsoft and then we build it to run on RHEL. Red Hat packages are, I like to say vetted. That is, we test them and make sure they work really well so you're not just pulling down software and hoping it works.

[01:12] Now I'm going to enable the repo. I've attached to it and now I have to enable it. Notice at the end where it says, "RHEL 7 Server..." There's also a work station, and there's also one for an HP [high performance] special computing thing that I'm not really familiar with. The point is you're probably going to use a RHEL server to install .NET.

[01:26] One of the cool things about the new .NET core as opposed to the old one is the new .NET is much smaller. Whereas before, when you installed .NET, you would drop in a DVD, or a CD, and wait forever for it install, and you would get 4 gigabytes of .NET. Now it's just a couple hundred megabytes.

[01:49] I'm going to YUM install this scl utils. It doesn't matter what they do. They just enable installation. Let's just leave it at that. There's nothing to do because I've done that before, but that's OK. It's better to have nothing to do than to skip the step.

[02:08] Now here's the actual install itself. I want you to notice it's just a command line and it's a YUM installed .NET core 1.1, which is version 1.1. It's going to go up to the inner webs and pull down everything it needs to install it.

[02:17] Your limiting factor here is going to be your Internet speed. Other than that, that's it for installing .NET. It really is that small and that fast. After it's installed, you have to enable it to be available in Bash. Once that's done, we'll bring it up and we'll see .NET.

[02:36] One final step here. In just a few minutes we went from not having .NET...I don't know if I can copy and paste here, bear with me.

[02:47] It's enabled. Now we should have .NET command available. There it is. We'll do a .NET new which will create a new program. The first time you do a .NET new it's going to run this little expand. That might be considered the final step of installing .NET, that's it. That's all you have to do to install .NET, that's it.

Thank you.