Deploying PSGI Applications using RHSCL Docker Containers

Red Hat Software Collections (RHSCL) 2.0 brings Perl 5.20 as a Docker image. This allows you to deploy Perl applications easily.

The basic idea is to combine your application code from Git tree and Red Hat’s rhscl/perl-520-rhel7 base image into an application image that will run your application in mod_perl environment. Your application can either be a simple Common Gateway Interface (CGI) script or a full-fledged Perl Web Server Gateway Interface (PSGI) application.

Following this step-by-step procedure will show you how to deploy a simple pastebin-like web service implemented as a PSGI application.

The Base Image

First we install docker package and start the docker service:

Continue reading “Deploying PSGI Applications using RHSCL Docker Containers”


Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!



Red Hat Software Collections or Red Hat Developer Toolset are part of most Red Hat Enterprise Linux subscriptions and all RHEL Developer Subscriptions.  They can be found in the Software Collections channel.  For more information about Red Hat Software Collections or Red Hat Developer Toolset, visit https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/.

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!


Get Started: Eclipse and Python with PyDev in Developer Toolset 4.0

Python logo

 

eclipse-426x100

Starting from Developer Toolset 4.0 we have added the Eclipse PyDev tooling for writing and debugging Python applications. This article aims to give new users a whirlwind tour of some of the key features.

Installing and Configuring

PyDev is installed by default when you install the IDE component of DTS 4.0:

$ sudo yum install devtoolset-4-ide

Once you’ve launched Eclipse, the first thing you need to do is configure an interpreter to use. Open the preferences dialog by choosing “Preferences” from the “Window” menu, then navigate to the “PyDev -> Interpreters -> Python Interpreter” preference node. Simply hit the “Quick Auto-Config” button to automatically discover and configure the first Python interpreter that is encountered in your PATH.

Interpreter Preferences

It’s worth knowing that not only does PyDev work well with the default version of Python that ships with RHEL, it also works with the Python Software Collections. For example, if you’d like to work with Python 3 then you can also install the rh-python34 software collection:

$ sudo yum install rh-python3

Continue reading “Get Started: Eclipse and Python with PyDev in Developer Toolset 4.0”


Red Hat Software Collections or Red Hat Developer Toolset are part of most Red Hat Enterprise Linux subscriptions and all RHEL Developer Subscriptions.  They can be found in the Software Collections channel.  For more information about Red Hat Software Collections or Red Hat Developer Toolset, visit https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/.

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!


Software Collections 2.1 now in beta – Adds Varnish Cache, nginx

Today, we are pleased to announce the beta availability of Red Hat Software Collections 2.1, Red Hat’s newest installment of open source web development tools, dynamic languages, and databases. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges developer agility and production stability by helping to accelerate the creation of modern applications that can then be more confidently deployed into production.

Continue reading “Software Collections 2.1 now in beta – Adds Varnish Cache, nginx”


Red Hat Software Collections or Red Hat Developer Toolset are part of most Red Hat Enterprise Linux subscriptions and all RHEL Developer Subscriptions.  They can be found in the Software Collections channel.  For more information about Red Hat Software Collections or Red Hat Developer Toolset, visit https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/.

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!


You had me at Hello, World

Our Red Hat Developers program team has just concluded a “Time to Hello World” project to reduce the time it takes you to download and install a new technology, and then get to your first “hello world” application.  By utilizing multiple resources from Red Hat engineering, UX, evangelists, docs, testing, and yes, even customers, this is just one of many Red Hat activities underway to minimize speed bumps when trying a new Red Hat technology.

So, is 6 minutes quick enough to try out a new technology?  If so, read on.

Continue reading “You had me at Hello, World”


Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!



You can learn more about Red Hat JBoss Middleware products by visiting: Red Hat JBoss Middleware product pages, and JBoss Community is now Wildfly!

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!



Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!


Database Docker images – now beta via Software Collections

“As a part of the Red Hat Software Collections offering, Red Hat provides a number of container images, which are based on the corresponding Software Collections. These include application, daemon, and database images. The provided images, currently available in the Beta version” (for more information see https://access.redhat.com/articles/1752723)

Red Hat Software Collections allows you to run newer versions of software on a stable Red Hat Enterprise Linux. These new images combine this feature with the benefits of containers.

In this post I would like to show you how to run database server from RHSCL in one command.

Continue reading “Database Docker images – now beta via Software Collections”


Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!



Red Hat Software Collections or Red Hat Developer Toolset are part of most Red Hat Enterprise Linux subscriptions and all RHEL Developer Subscriptions.  They can be found in the Software Collections channel.  For more information about Red Hat Software Collections or Red Hat Developer Toolset, visit https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/.

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!


Red Hat Software Collections 2.0 Docker images, Beta release

I’m very happy to announce that Docker images based on collections from Red Hat Software Collections (RHSCL) 2.0 are in beta testing.  The images are available from the Red Hat Container Registry, and we’ve got the set of collections for language, databases and web servers covered – a complete list is below.

If you’ve not tried out the Docker package from RHEL7 Extras, you need to enable the Extras channel, install the docker page, and start the docker service; an extended guide for RHEL Docker is available here.  Once you are set up, pulling the RHSCL Docker images is very simple… for example, you can fetch the Python 3.4 image as follows:

Continue reading “Red Hat Software Collections 2.0 Docker images, Beta release”


Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!



Join Red Hat Developers, a developer program for you to share, learn, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!



Red Hat Software Collections or Red Hat Developer Toolset are part of most Red Hat Enterprise Linux subscriptions and all RHEL Developer Subscriptions.  They can be found in the Software Collections channel.  For more information about Red Hat Software Collections or Red Hat Developer Toolset, visit https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/.

Be sure to join developers.redhat.com which lets you get Red Hat software for your software development.  Both the program and software are free!