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 package
Ruby on Rails versions corresponding to Red Hat Software Collections packages
Ruby on Rails 4.1.5
Ruby on Rails 4.2.6
Ruby on Rails 5.0.1
- 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