Chapter 10. Setting up to Develop Web Applications
Red Hat Enterprise Linux supports development of web applications and being the platform for their deployment.
The topic of web development is too broad to capture it with a few simple instructions. This section offers only the best supported paths to development of web applications on Red Hat Enterprise Linux.
To set up your environment for developing traditional web applications, install the Apache web server, PHP runtime, and MariaDB database server and tools.
# yum install httpd mariadb-server php-mysql php
Alternatively, more recent versions of these applications are available as components of Red Hat Software Collections.
# yum install httpd24 rh-mariadb102 rh-php71
For development of web applications using Ruby on Rails, install the package from Red Hat Software Collections containing the desired version according to the table below.
# yum install packageRuby on Rails versions corresponding to Red Hat Software Collections packages
Version Package Ruby on Rails 4.1.5
rh-ror41
Ruby on Rails 4.2.6
rh-ror42
Ruby on Rails 5.0.1
rh-ror50
Additional Resources
- Red Hat Software Collections 3.0 Release Notes — Ruby on Rails
- Red Hat Software Collections — Hello World in Ruby
- Advanced Linux Commands Cheat Sheet (setting up a LAMP stack) — Red Hat Developers Portal Cheat Sheet

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.