RHEL

Article Thumbnail
Article

3 Reasons I Should Build My Containerized Applications on RHEL and OpenShift

Scott McCarty (fatherlinux)

Red Hat has always given operations teams value in deploying Red Hat Enterprise Linux (RHEL), and that's no different in a containerized world. But, as a developer, why should I build on RHEL? Does the underlying operating system really affect me? It might if you want to: get your app to production faster work on new products, not maintain old ones avoid compatibility issues at scale (And yes RHEL is available at no cost for development use.) 1) Take Your...

Article Thumbnail
Article

ASPNET MVC Core 1.0

Don Schenck

With the advent of .NET Core 1.0, things have changed. Dramatically. For starters, it's open source. This means anyone, including you and I, can submit bug fixes and enhancements to the .NET framework. It will now run on Mac and Linux. You can compile code natively to the platform of your choice. And beyond that, it's much more modular. There's the Common Language Runtime (CLR), the CoreFX (where the "System." libraries live), the Command Line Interface (CLI), and other modules...

Article Thumbnail
Article

All Together Now: .NET, RHEL, Hyper-V and VSCode

Don Schenck

I'm a .NET developer at heart, and I want to write C# code that runs natively in Linux - Red Hat Enterprise Linux (RHEL), to be specific. So, I hopped over to the Red Hat .NET Developers web site, installed the CDK and was up and running in short order. I had a no-cost developer's copy of RHEL running on my PC and was writing .NET code. Life was good. I had my instance of RHEL inside a Vagrant Box...

RedHat Shadowman Logo
Article

New beta: Software Collections 2.2 and Developer Toolset 4.1

Mike Guerette

Red Hat Developer Toolset has already been available for nearly four years and Red Hat Software Collections has been out for two and a half. We've seen excellent adoption of these as more and more developers and customers utilize the newer technologies that become available. So, this week we announced more with these two new beta releases. New news Red Hat Software Collections 2.2 Beta includes: new open source databases (MariaDB 10.1, MongoDB 3.2 and PostgreSQL 9.5) new open source...

Article Thumbnail
Article

Fedora "update testing" with Bodhi

Sumantro Mukherjee

Before and after Fedora releases, there are updates that keep coming in to fix bugs or add minor features to packages included in Fedora. To ensure that these are stable and don't affect the performance of the existing system, we do "update testing". Once testing is complete, we share our results and make sure that the developer is aware about the bugs and the success rate of the package. This article will explain how to participate in update testing and...

Article Thumbnail
Article

Introducing atomic scan - Container vulnerability detection

Brent Baude

In the world of containers, there is a desperate need to be able to scan container images for known vulnerabilities and configuration problems, and as we proliferate containers and bundled applications into the enterprise, many groups and companies have started to build container scanning tools. Even Red Hat has been building a scanning tool based on the tried and true OpenSCAP project, but there were several problems we saw time and again. The problems with existing container scanning tools included...

Article Thumbnail
Article

Redhatloves.net and #dotNETonLinux

Burr Sutter

Much has changed in the IT world in the last few years, first Microsoft Loves Linux and now Red Hat Loves .NET. I suspect for many of you it is a bit bewildering, however, there are huge wins here for software developers. C# is rapidly becoming the programming language with the greatest number of target platforms, including: iOS, Android, OSX, and now through the partnership with Red Hat (home of the worlds' most popular enterprise Linux platform) C# is becoming...

Article Thumbnail
Article

"Don't cross the streams": Thread safety and memory accesses at the speed of light

William Cohen

The classic 1984 movie Ghostbusters offered an important safety tip for all of us: " Don't cross the streams." - "Why not?" - "I t would be bad." - " I’m fuzzy on the whole good/bad thing. What do you mean, 'bad'?" - "Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light." - "Right. That’s bad. Okay. All right. Important safety tip. Thanks..." Similarly, in computing...

Red Hat Logo
Article

Important code snippet for Python (and other) developers

Mike Guerette

Special thanks to Red Hat's Petr Viktorin for sharing this bit of clever code. #! /usr/bin/python3 -O # finite_function_recursion:lazy_runtime_recoding:raw_unicode_escape from functools import partial def main(): """Print an encouraging message to stdout""" print() for m in get_strings(): print(m) print() def get_strings(c=0): """Return list of strings to display to the user""" I = L = C = s = 0 S = o( 41825590960378124374546057353963710973031568, 1128197075877756693608173239149061571294131523370094467240707291316, 28634919999905333837375431815649071658638057502987522288563421, 365227113932356026740958928599365475099366847504156564532, 10832, 9648, 1547030252077890721054968240874293402, 6848886034432315113697, 1026545237296201918476380, 136341829649174, 3484359852033570050171, 10968655762475855182, 39478210171221680, 3160248663052126290380, 3160029950901936033378, ) z, Z =...

Article Thumbnail
Article

Sharing the stage with Microsoft at Build 2016

Harry Mower

Back in November we announced that we would be partnering with Microsoft to make a supported version of .NET available for Red Hat Enterprise Linux. Since then we’ve been working together to make sure that .NET runs great on RHEL and has the capabilities that enterprise developers require. Today, at Microsoft Build, we were invited to join Scott Hanselmann on stage where we demonstrated some of that work and showed how the partnership is helping to create a more stable...

Red Hat Developer image
Article

No-Cost RHEL Developer Subscription now available

Ray Ploski

May 2019 UPDATE - The no-cost developer subscription now includes RHEL 8. Today, Red Hat announced the availability of a no-cost Red Hat Enterprise Linux developer subscription, available as part of the Red Hat Developer Program. Offered as a self-supported, development-only subscription, the Red Hat Enterprise Linux Developer Suite provides you with a more stable development platform for building enterprise applications - across cloud, physical, virtual, and container-centric infrastructures. Red Hat SVP Craig Muzilla added some good points in his...

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

Article Thumbnail
Article

We're heading to Build 2016!

Emily Parish

We are heading to Moscone in San Francisco. Yes, for DevNation in June, but we are there for Microsoft Build 2016 this week. We’ve got many exciting things planned - some below and some you will need to wait and see - but as a first time sponsor of Build we are looking forward to welcoming the .NET audience to Red Hat Developers. All the details are here but here are some of the highlights: Red Hat Developers team will...

Review of the year Top 10 Highlights
Article

2015 Year in Review - oh what a year.

Emily Parish

2015 is coming to a close and it’s always fun to reflect on all that has changed, grown, and news that almost make you wonder if pigs can now fly. Our team has greatly expanded, the community is growing, we are now accepting content contributors from around the world...so much to pick from. As you can tell it’s been a busy year and here are just some of top highlights. Here we go and in no particular order: 1) A...

RHEL Package
Article

Controlling resources with cgroups for performance testing

Frédéric Giloux

Introduction Today I want to write about the options available to limit resources in use for running performance tests in a shared environment. A very powerful tool for this is cgroups [1] - a Linux kernel feature that allows limiting the resource usage (CPU, memory, disk I/O, etc..) of a collection of processes. Nowadays it is easy with virtual machines or container technologies, like Docker, which is using cgroups by the way, to compartmentilize applications and make sure that they...

Article Thumbnail
Article

Can you run Intel's Data-plane Development Kit (DPDK) in a Docker container? Yep.

Jeremy Eder

As part of our participation in hundreds of open source communities, Red Hat engineers are often involved in research and development efforts that may or may not become a part of Red Hat's supported offerings. Intel's Data-plane Development Kit (DPDK) is a set of libraries and drivers for Linux and BSD built for fast packet processing, for the burgeoning " Network Function Virtualization", or NFV discipline. Typical verticals interested in turning Linux boxes into packet-processing machines are telecom, financial services...

Low Latency Performance Tuning for Red Hat Enterprise Linux
Article

Low Latency Performance Tuning for Red Hat Enterprise Linux 7

Jeremy Eder

Counting micro-nanoseconds? We are, because we know our customers are. Some of the world's largest stock exchanges including the Chicago Mercantile Exchange (CME), New York Stock Exchange (NYSE), E*TRADE, Union Bank, countless hedge funds and high-frequency trading shops run on Red Hat's products. In fact, the majority of the world's financial transactions are executed with Red Hat Enterprise Linux in the critical path. This encompasses some of our industry's most mission-critical, performance-sensitive workloads. We appreciate that the operating system needs...

Article Thumbnail
Article

rebase-helper for RHEL 7

Petr Hracek

What is rebase-helper used for? Rebase-helper automates a lot of manual tasks when a new upstream version of a package is released. How to install rebase-helper on RHEL 7 system? Use this COPR repository where RPM package is already created. http://copr-fe.cloud.fedoraproject.org/coprs/phracek/rebase-helper_EPEL/ Download the repo file and install rebase-helper via yum command. yum install rebase-helper Rebase-helper performs several tasks during the rebase: Downloads an archive with the new sources Tries to apply all downstream patches: If a patch does not apply...

Article Thumbnail
Article

Our 5 most popular developer posts in 2014

Mike Guerette

Here are five most read articles on developerblog.redhat.com in 2014 - be sure to read them: A Practical Introduction to Docker Containers, by Scott McCarty - 25,000 views Comprehensive Overview of Storage Scalability in Docker, by Jeremy Eder - 19,000 Why Python 4.0 won’t be like Python 3.0, by Nick Coghlan - 14,000 Red Hat Enterprise Linux 7 now Generally Available, 13,000 GCC Undefined Behavior Sanitizer – ubsan, by Marek Polacek, 10,000

RHEL Package
Article

How to package proprietary software

Miroslav Suchý

I like to work with open source code. But it is not always possible. Sometimes you have to deal with proprietary code. And sometimes you have to distribute it. I like to distribute software as RPM package because it allows me to put together patches, post-install scripts and configuration files. But how can I create and distribute proprietary software without violating license? The answer is " nosrc.rpm". For example - let assume that you want to distribute Oracle Database Server...

Python logo
Article

How to add packages to Python 2.7 Software Collection

Bohuslav Kabrda +1

As Software Collections are getting popular, there are more and more people asking how they can build their own collections and/or extend collections in RHSCL. In this article, I will demonstrate how to extend python27 collection from RHSCL 1.2, adding a simple Python extension library. (Note that the same steps can be applied to the python33 collection.) I'm going to work on a RHEL 6 machine throughout this whole tutorial. I'm assuming that readers have basic knowledge of RPM building...

Containers Image
Article

Dockerfiles now available for Red Hat Software Collections

Joe Orton

We recently announced that we've made available a set of Dockerfiles for Red Hat Software Collections. We are making these available since we think they may be useful to customers looking to build more complex application containers on top of RHEL and RHSCL. We don't intend the Dockerfiles to produce useful standalone images which you'll immediately put in production - the Docker images which these create are very simple containers which give you RHEL plus the basic set of packages...

NGINX web server image
Article

nginx 1.4 on Red Hat Enterprise Linux 7

Joe Orton

In this post I'm going to talk about using the nginx web server on Red Hat Enterprise Linux 7. nginx 1.4 was added as a "Tech Preview" in the v1.1 release of Red Hat Software Collections. Starting from a freshly kickstarted RHEL7 VM, here's how to get going: [root@virt-el7scratch ~]# subscription-manager repos --enable rhel-server-rhscl-7-rpms Repo 'rhel-server-rhscl-7-rpms' is enabled for this system. This enables the Red Hat Software Collections repository in the yum configuration, which is available with most RHEL entitlements...

Article Thumbnail
Article

Beyond Microbenchmarks: breakthrough container performance with Tesla efficiency

Jeremy Eder

Back story As virtualization was beginning it's march to prominence, we saw a phased approach to adoption. This is common with any sort of game changing technology....let's take electric cars as an example. Early adopters are willing to make certain trade-offs (short range) to gain new capabilities (saving money at the gas station). In the meantime, engineers are off in the lab working hard to increase the possible consumer-base for electric cars by increasing range, decreasing charging cycle times, and...