This tutorial provides an overview of the key steps for obtaining and installing Red Hat Enterprise Linux so you can get started with software development today. Red Hat Enterprise Linux and the Red Hat Enterprise Linux Developer program bridges development agility with production stability. The developer tools supplied with Red Hat Enterprise Linux are supported for 10 years. This level of stability makes Red Hat Enterprise Linux the ideal platform for development and deployment of applications with a long life cycle. For application development that requires the latest tools and technologies, Red Hat Software Collections (RHSCL) and the Red Hat Developer Toolset (DTS) provide tools that are updated annually.
If you don’t have a Red Hat Enterprise Linux subscription, you can try it for free. Get started with an evaluation at access.redhat.com/products/red-hat-enterprise-linux/evaluation. Select the Red Hat Enterprise Linux Developer Workstation option to ensure your evaluation will include both RHSCL and DTS.
If you are interested in purchasing a Red Hat subscription for development, the Red Hat Enterprise Linux Developer Suite is an affordable choice that includes Red Hat Enterprise Linux Server, Red Hat Software Collections, and the Red Hat Developer Toolset. For developer support with a guaranteed response time service-level agreement (SLA), Red Hat Developer Workstation Professional or Enterprise subscriptions are available.
For this tutorial you will need an a 64-bit x86 physical or virtual machine with at least 16 GB of available disk space. For more detailed minimum hardware requirements and compatibility information, see the Red Hat Enterprise Linux Installation Guide.
Note: This tutorial does not replace the Red Hat Enterprise Linux Installation Guide. Instead, this tutorial provides an overview of the key steps to obtain and install Red Hat Enterprise Linux for software developers. For detailed instructions, see the Installation Guide.
If you encounter difficulties at any point in this tutorial, see Troubleshooting and FAQ.
In this step, you will download Red Hat Enterprise Linux from the Red Hat customer portal, access.redhat.com. The steps are:
-
Login to access.redhat.com.
If you don’t have an account, register to create one.
-
Obtain a Red Hat Enterprise Linux subscription if you don’t already have one:
Purchase a developer’s subscription: Developer Suite or Developer Workstation.
Or, get a Red Hat Enterprise Linux Developer Workstation evaluation. .. After you sign up for the evaluation you will receive an email with a link to click on to activate your 30-day evaluation. .. After you click through the email, visit www.redhat.com/wapps/ugc to accept the license agreement.
-
Download the binary DVD .iso file for Red Hat Enterprise Linux Server.
On the download page, under Product Variant select Red Hat Enterprise Linux Server. Choosing the Server edition gives you the widest range of software to choose from. During installation you will choose the Server with a GUI option for a full graphical desktop.
Under Version select the latest released (non-beta) version of Red Hat Enterprise Linux 7. The Architecture selection should be set to x86_64.
Click the Download Now button for Binary DVD installer. The file size should be between 3 and 4 GBs. Do not select the much smaller smaller Boot ISO as it doesn’t contain the installation software.
-
Create bootable installation media on a DVD or USB drive.
Instructions for making a bootable DVD or USB drive can be found in the Red Hat Enterprise Linux Installation Guide
If you encounter difficulties at any point, see Troubleshooting and FAQ.
This section provides a brief overview of the steps for installing Red Hat Enterprise Linux. Detailed instructions can be found in the Red Hat Enterprise Linux Installation Guide.
There are a few key steps to remember during the installation process:
-
You will need to select an Installation destination, the disk or partition(s) where the software will be installed. The disk or partition(s) you select will be overwritten. Make sure you understand your selection before starting the installation to avoid accidental data loss.
-
You should configure networking under Network and host name before starting the installation. You will need access to the Internet to complete registration and download additional software. The network can be configured after the system is installed. However, the steps are more straightforward during installation.
-
Select Server with a GUI under Software Selection so the system will boot into the full graphical environment after installation. By default, Red Hat Enterprise Linux Server, will not install a graphical desktop. Using the server product variant of Red Hat Enterprise Linux gives you access to the widest range of software to develop with.
-
Create your primary user acccount during installation. After the installation begins, you will be instructed to set a password for the root administrator account and be given the opportunity to create a regular user account. You should create a user before the installation process completes. You shouldn’t use the root account as your primary login for development. If you don’t create a user before the installation completes, you will need reboot and then login as root to create the user.
-
Start the system from the bootable disk and select "Install Red hat Enterprise Linux 7".
-
Select your preferred language and keyboard layout to use during installation.
-
Under Localization set the date and time, and your perferred languague and keyboard layout for the installed system. Note: the Done button to return to the Installation summary screen is located in the upper left corner of the screen.
-
Click Software selection. Then on the next screen, under Software selection, in the Base environment list on the left, select Server with GUI. Then in the list Add-ons for selected environment on the right, select Development tools. After you click the Done button it will take several seconds to validate your choices.
-
Click Installation destination to specify what disk or partition(s) to install the software on. See the Installation Destination section of the the Red Hat Enterprise Linux Installation Guide.
-
Click Network & host name to configure the network. If the system has more than one network adapter, select it from the list on the left. Then, click the on/off button on the right to enable it. Click Configure to adjust the settings for the adapter. Optionally, set a Host name for the system.
-
Click the Begin installation button when you are ready to start the actual installation.
-
On the next screen, while the installation is running, click User creation to create the user ID you will use to login under for normal work.
-
Click Root password to set the password for the root user.
-
After the installation process completes, click the Reboot button.
If you need help, see Troubleshooting and FAQ.
This section covers post-installation steps that prepate your system for software development.
-
After the system reboots, accept the license agreement
-
Register your system with Red Hat. Use the same username and password that you created for loggging in to the Red Hat Customer Portal.
Note: for this step to succeed you must have configured a network connection during boot
If you are using an evaluation, you must first agree to the terms and conditions at link:https://www.redhat.com/wapps/ugc/
NOTE TO REVIEWERS: There may be a bug here. I can’t register the system with an eval, due to the agreement. I’ve tried visiting that link from another system, that still won’t get me past the first-boot registration page. There may be a bug that prevents registration at first boot.
-
Login to the system with the username and password you created during installation.
If you didn’t create a regular user, you will need to login as root and create a user. See Troubleshooting and FAQ.
If you get a text based login screen instead of a graphical one, see Troubleshooting and FAQ.
-
Select your preferred language.
# Install the latest updates
yum update,
Developing with Red Hat Enterprise Linux
Red Hat Enterprise Linux 7 Developer Guide — The developer guide for Red Hat Enterprise Linux 7 provides an introduction to application development tools and using source code management tools such as Git in Red Hat Enterprise Linux 7.
Learn about Red Hat Software Collections
Red Hat Software Collections deliver the latest stable versions of dynamic languages, open source databases, and web development tools that can be deployed alongside those included in Red Hat Enterprise Linux. Red Hat Software Collections is available with select Red Hat Enterprise Linux subscriptions and has a three-year life cycle to allow rapid innovation without sacrificing stability.
Learn about the Red Hat Developer Toolset
Red Hat Developer Toolset provides the latest, stable, open source C and C++ compilers and complementary development tools including Eclipse. DTS enables developers to compile applications once and deploy across multiple versions of Red Hat Enterprise Linux.
FIXME, TODO ADD LINKS to the RHEL 7 native language, DTS, and SCL Getting Started Guides
Red Hat delivers the resources and ecosystem of experts to help you be more productive and build great solutions. Register for free at developers.redhat.com.
Follow the Red Hat Developer Blog
http://developerblog.redhat.com/
-
My system is unable to download updates from Red Hat.
I don’t have a current Red Hat subscription, can I get an evaluation?
If you don’t have a Red Hat Enterprise Linux subscription, you can try it for free. Get started with an evaluation at https://access.redhat.com/products/red-hat-enterprise-linux/evaluation. Developers should select the Red Hat Enterprise Linux Developer Workstation option to ensure your evaluation includes additional tools from the Red Hat Developer Toolset and Red Hat Software Collections.
-
When I start Atomic Host, I don’t see a graphical environment.
Atomic Host is specifically optimized for the deployment of Linux containers in environments such as Infrastructure as a Service (IaaS). It’s minimal footprint contains only the software needed to efficiently host containers. Since it does not include a graphical user interface, or development tools, Atomic Host isn’t suited for software development activities. Instead, developers should use Red Hat Enterprise Linux which is design to suit many purposes including desktop and server installations. See Get Started with Docker Formatted Container Images on Red Hat Systems. After an application has been developed and packaged in a container, developers may want to test them on Atomic Host. Atomic Host can be helpful for developers that are creating continuous integration / continuous delivery (CI/CD) environments.
-
How do I tell if a container image with a new version of Python is available?
How can I see what other container images are available?
I can’t find the container mentioned in this tutorial, how can I tell if the name changed?
To see what other containers are available in the Red Hat container registry, use one or more of the following searches:
# docker search registry.redhat.com/openshift3
# docker search registry.redhat.com/jboss
# docker search registry.redhat.com/rhel
+ 4. Can I run and build docker containers on Red Hat Enterprise Linux?
+ Red Hat Enterprise Linux includes docker, but it is not installed by default. See Getting Docker on RHEL 7 in the article Get Started with Docker Formatted Container Images on Red Hat Systems.
+ 5. Where can I learn more about delivering applications with Linux containers?
+ If you haven’t already joined the Red Hat Developers program, sign up at developers.redhat.com. Membership is free.+ Recommended Practices for Container Development and many other container articles are available from the Red Hat Customer Portal.+ If you are a Red Hat Technology Partner, visit the Container Zone at the Red Hat Connect for Technology Partners web site.