This document has been replaced with a new shorter doc for the Octopus content
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. You will install Red Hat Enterprise Linux Server with a full graphical desktop.
If you don’t have a Red Hat Enterprise Linux subscription, get Red Hat Enterprise Developer Suite after registering at developers.redhat.com. Red Hat Enterprise Linux Developer Suite includes Red Hat Enterprise Linux Server, Red Hat Software Collections (RHSCL) and Red Hat Developer Toolset (DTS).
For the installation, you will need 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:
-
Log in to access.redhat.com.
If you don’t have an account, register to create one.
-
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 develop and test with. 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 Boot ISO as it doesn’t contain the installation software.
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, which is 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.
-
Create your primary user account during installation: After the installation begins, you will be instructed to set a password for the root account and be given the opportunity to create a regular user account. You should create a user before the installation process completes. The regular user will be your primary login for development. The root account should only be used for system administration tasks. If you don’t create a user before the installation completes, you will need to reboot and then log in as root to create user accounts.
-
Start the system from the bootable disk and select Install Red Hat Enterprise Linux.
-
Select your preferred language and keyboard layout to use during installation.
-
Under Localization review the settings and make any necessary changes for date and time, language, and keyboard layout. Note: The Done button to return to the Installation summary screen is located in the upper left corner of the screen.
-
Perform the follow steps to make your software selection:
-
Click Software selection.
-
On the next screen, under Software selection, in the Base environment list on the left, select Server with GUI.
-
In the list Add-ons for selected environment on the right, select Development tools.
-
Click the Done button. Note: After returning to the Installation summary screen it will take several seconds to validate your choices.
-
-
Click Installation destination to specify which disk or partition(s) to install the software on. Note: It is important that you understand the choices that you are making in this section to avoid accidental data loss. It is strongly recommended that you read the Installation Destination section of the the Red Hat Enterprise Linux Installation Guide. The installation destination should be at least 16 GB or larger to accommodate the OS, graphical desktop, and development tools.
-
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 the network adapter. Click Configure to review and/or change the default settings for the network adapter. Optionally, set a Host name for the system. Before leaving this screen, make sure there is at least one network adapter enabled with the switch in the On position. A network connection will be required to register the system and download system updates.
-
Click KDump to disable KDump and free up memory. Click the box next to Enable kdump so that it is no longer checked. Then click Done.
-
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 log in for normal work.
-
Click Root password to set the password for the root user. Note: If you choose a password that the system considers to be weak, you will need to click Done twice.
-
After the installation process completes, click the Reboot button.
If you need help, see Troubleshooting and FAQ.
This section provides an overview of post-installation steps that prepare your system for software development. After the system reboots, you will be prompted to accept the license agreement and register the system.
-
Click License information to go the license acceptance screen.
-
Click the checkbox to accept the license.
-
Click Done in the upper left corner to return to the configuration screen.
-
-
If you didn’t configure a network during installation, click Network and host name to configure your network connection.
-
Click to On the Subscription Management Registration screen
-
Register your system with Red Hat. Use the same username and password that you created for the Red Hat Customer Portal. Note: For this step to succeed, you must have configured your network connection.
-
If you have more than one subscription available, select which subscription to attach this installation to
-
Click Done.
-
-
Click Finish configuration when you are done.
-
Log in to the system with the username and password you created during installation.
If you didn’t create a regular user, you will need to log in 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.
In this step, you will download and install the latest updates for your system from Red Hat. In the process, you will verify that your system has a current Red Hat subscription and is able to receive updates.
First, start a Terminal window from the Application menu. Then, after using su to change to the root user ID, use subscription-manager to verify that you have access to Red Hat software repositories.
$ su -
# subscription-manager repos --list-enabledIf you don’t see any enabled repositories, your system might not be registered with Red Hat or might not have a valid subscription. See Troubleshooting and FAQ for more information.
Now download and install any available updates by running yum update. If updates are available, yum will list them and ask if it is OK to proceed.
# yum update
In this step you will configure your system to obtain software from the RHSCL software repository. The RHSCL repository includes the both the RHSCL software collections as well as DTS (the Red Hat Developer Toolset). RHSCL includes 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. DTS provides the latest, stable, open source C and C++ compilers and complementary development tools, including Eclipse.
Instructions are provided for both the command line (CLI) and graphical user interface (GUI).
Red Hat Subscription Manager can be started from the System Tools group of the Applications menu. Alternatively, you can start it from the command prompt by typing subscription-manager-gui.
-
On the Subscription Manager System menu, select Repositories.
-
In the list of repositories, check the Enabled column for rhel-server-rhscl-7-rpms and rhel-7-server-optional-rpms. Note: After clicking, it might take several seconds for the check mark to appear in the Enabled column.
If you don’t see any RHSCL repositories in the list, your subscription might not include it.
See Troubleshooting and FAQ for more information.
You can add or remove software repositories from the command line using the subscription-manager tool as the root user. Use the --list option to view the available software repositories and verify that you have access to RHSCL, which includes DTS:
$ su -
# subscription-manager repos --list | egrep rhsclIf you don’t see any RHSCL repositories in the list, your subscription might not include it. See Troubleshooting and FAQ for more information.
# subscription-manager repos --enable rhel-server-rhscl-7-rpms
# subscription-manager repos --enable rhel-7-server-optional-rpmsDeveloping 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.
Your system must be registered with Red Hat using
subscription-manager register. You need to have a current Red Hat subscription. -
As a developer, how can I get a Red Hat Enterprise Linux subscription?
If you don’t have a Red Hat Enterprise Linux subscription, get Red Hat Enterprise Developer Suite after registering at developers.redhat.com. Red Hat Enterprise Linux Developer Suite includes Red Hat Enterprise Linux Server, Red Hat Software Collections and Red Hat Developer Toolset.
-
The RHSCL repository is not available or is not found on my system.
The name of the repository depends on whether you have a server, workstation, or desktop version of Red Hat Enterprise Linux installed.
Some Red Hat Enterprise Linux subscriptions do not include access to RHSCL. For developers, Red Hat Enterprise Linux Developer Suite includes both RHSCL and DTS.
-
How do I get newer versions of languages like Perl, PHP, Python, and Ruby in Red Hat Enterprise Linux?
How can I get Python 3 on Red Hat Enterprise Linux
Red Hat Software Collections delivers 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.
-
How can I get Eclipse installed on Red Hat Enterprise Linux?
How can I get a newer C/C++ compiler for Red Hat Enterprise Linux 7?
Where can I get an IDE for C/C++ development on Red Hat Enterprise Linux 7?
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. The Red Hat Developer Toolset uses Red Hat Software Collections to install a parallel set of packages in
/opt/rhwhere they will not override the system packages that come with 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.See [FIXME — Get started developing with C++ and Eclipse from the Red Hat Developer Toolset. — ADD LINK TO GET STARTED SITE]
-
I’ve got a text-based login screen, how do I get a graphical one?
During installation of Red Hat Enterprise Linux Server, selecting the Server with a GUI software option will install a full graphical desktop and configure it to start at boot time. You can install the graphical desktop with
yum installafter registering your system with Red Hat. Log in to the system as therootuser, then use the following commands:# yum groupinstall 'Server with GUI' # yum install @gnome-desktop @x11 @internet-browserWhen complete, type
systemctl rebootto reboot your system. When the system restarts, you should see a graphical login screen. [FIXME Note: I didn’t give this much testing] -
How do I install the C/C++ compiler?
During installation, selecting the Development tools software option installs the C/C++ compiler GCC/G++ and other related development tools. You can install these tools with
yum installafter registering your system with Red Hat. Log in to the system as therootuser then use the following command:# yum install @development -
I didn’t configure a network connection during installation, how do I this on a running system?
Registration fails with the message that subscription.rhn.redhat.com is unreachable, how do I resolve this?
If you did not configure a network connection during installation or the configuration was unsuccessful, see the Red Hat Enterprise Linux Networking Guide for information on configuring networking using either graphical or command-line tools.
-
How do I register my system after installation?
Use Red Hat Subscription Manager, which can be started from the system menu as a graphical tool, or from the command line using the following command:
# subscription-manager register --auto-attachFor more information see How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription Manager.







