Language Selection

English French German Italian Portuguese Spanish

Red Hat: Flask on Red Hat Enterprise Linux, OpenShift and SAN vs. NAS

Filed under
Red Hat
Server
  • Develop with Flask and Python 3 in a container on Red Hat Enterprise Linux

    In my previous article, Run Red Hat Enterprise Linux 8 in a container on RHEL 7, I showed how to start developing with the latest versions of languages, databases, and web servers available with Red Hat Enterprise Linux 8 even if you are still running RHEL 7. In this article, I?ll build on that base to show how to get started with the Flask microframework using the current RHEL 8 application stream version of Python 3.

    From my perspective, using Red Hat Enterprise Linux 8 application streams in containers is preferable to using software collections on RHEL 7. While you need to get comfortable with containers, all of the software installs in the locations you?d expect. There is no need to use scl commands to manage the selected software versions. Instead, each container gets an isolated user space. You don?t have to worry about conflicting versions.

    In this article, you?ll create a Red Hat Enterprise Linux 8 Django container with Buildah and run it with Podman. The code will be stored on your local machine and mapped into the container when it runs. You?ll be able to edit the code on your local machine as you would any other application. Since it is mapped via a volume mount, the changes you make to the code will be immediately visible from the container, which is convenient for dynamic languages that don?t need to be compiled. While this approach isn?t the way to do things for production, you get the same development inner loop as you?d have when developing locally without containers. The article also shows how to use Buildah to build a production image with your completed application.

  • IBM brings Cloud Foundry and Red Hat OpenShift together

    At the Cloud Foundry Summit in The Hague, IBM today showcased its Cloud Foundry Enterprise Environment on Red Hat?s OpenShift container platform.

    For the longest time, the open-source Cloud Foundry Platform-as-a-Service ecosystem and Red Hat?s Kubernetes-centric OpenShift were mostly seen as competitors, with both tools vying for enterprise customers who want to modernize their application development and delivery platforms. But a lot of things have changed in recent times. On the technical side, Cloud Foundry started adopting Kubernetes as an option for application deployments and as a way of containerizing and running Cloud Foundry itself.

  • SAN vs. NAS: Comparing two approaches to data storage

    For a new sysadmin, storage can be one of the more confusing aspects of infrastructure. This confusion can be caused by lack of exposure to new or different technologies, often because storage needs may be managed by another team. Without a specific interest in storage, an admin might find one’s self with a number of misconceptions, questions, or concerns about how or why to implement different solutions.

    When discussing enterprise storage, two concepts are at the core of most conversations: storage area networks (SAN) and network-attached storage (NAS). Both options provide storage to clients across a network, which offers the huge benefit of removing individual servers as single points of failure. Using one of these options also reduces the cost of individual clients, as there is no longer a need to have large amounts of local storage.

More in Tux Machines

Programming Leftovers

  • Ned Batchelder: Scriv

    I’ve written a tool for managing changelog files, called scriv. It focuses on a simple workflow, but with lots of flexibility. I’ve long felt that it’s enormously beneficial for engineers to write about what they do, not only so that other people can understand it, but to help the engineers themselves understand it. Writing about a thing gives you another perspective on it, your own code included.

  • Dirk Eddelbuettel: RcppSpdlog 0.0.2: New upstream, awesome new stopwatch

    Following up on the initial RcppSpdlog 0.0.1 release earlier this week, we are pumped to announce release 0.0.2. It contains upstream version 1.8.0 for spdlog which utilizes (among other things) a new feature in the embedded fmt library, namely completely automated formatting of high resolution time stamps which allows for gems like this (taken from this file in the package and edited down for brevity)...

  • [Perl] Week #078: Leader Element & Left Rotation

    First thing first, I managed to do video session for both tasks this week. It is so satisfying when everything goes as per the plan. For the last couple of weeks, I could only do one video session. One day, I would like to video with PIP. At the moment, I am little uncomfortable showing my face in the video. There is another reason why I can’t do it now. I don’t have my personal office in the house. I have been working from home since mid-March, nearly 6 months, sitting on sofa, 9-5. I must confess it is not easy. I miss my office chair and noise-free environment. I have 3 years twin girls. Luckily the school started last week, I get no-noise moment for few hours during the day. Also this week, I found time to do coding in Swift.

  • Searching Greek and Hebrew with regular expressions

    According to the Python Cookbook, “Mixing Unicode and regular expressions is often a good way to make your head explode.” It is thus with fear and trembling that I dip my toe into using Unicode with Greek and Hebrew. I heard recently that there are anomalies in the Hebrew Bible where the final form of a letter is deliberately used in the middle of a word. That made me think about searching for such anomalies with regular expressions. I’ll come back to that shortly, but I’ll start by looking at Greek where things are a little simpler.

  • Java 15 Gains Garbage Collection, Text Block Features

    Java 15 became generally available on Sept. 15, marking the second release in 2020 of the widely deployed programming language. The Java 15 release follows Java 14, which debuted in March, and is noteworthy for a number of improvements, as well as the fact that the release was not delayed due to the COVID-19 pandemic.

Best Free and Open Source Terminal Session Recording

The vast majority of computer users depend on a graphical user interface, and fear the command line. However, the command line holds significant power and versatility. Commands issued from a shell offer system administrators a quick and easy way to update, configure and repair a system. The benefits of the command line are not only confined to system administration. The ability to transverse the file system quickly, give more information about files and directories, automate tasks, bring together the power of multiple console tools in a single command line, and run shell scripts are just a few examples of how the command line can offer a potent, multifarious toolbox. Read more

Geniatech XPI 3128 RK3128 SBC is Equipped with an NXP WIFi 5 Module

Geniatech XPI family of single board computers was first introduced in 2018 with the launch of the XPI-S905X development board following many of Raspberry Pi 3 Model B features and form factor. The company has now added another board to the family with XPI 3128 single board computer powered by a Rockchip RK3128 quad-core Cortex-A7 processor coupled with up to 2 GB RAM and 64 GB flash, as well as an NXP WiFi 5 and Bluetooth 4.2 module. Read more

Keep Tabs on Your To-Do Lists With This GNOME Extension

Task Widget is an open source GNOME extension that shows your to-do list embedded in the GNOME message tray (also known as the calendar or notification shade). This widget area displays your pending to-do items, and lets you check off tasks as you complete them. Task Widget is is able to integrate “…with GNOME Online Accounts and a number of GNOME applications, such as Evolution and To Do” but it is is not, by design, intended to replace any of those apps or services. Or to put it another way: it’s not a standalone task manager or to-do app. You can’t, for example, add a task from the widget area, or edit one either. You can only mark a task as done (or unmark it as done). Read more