This tutorial provides an overview of the key steps for installing Red Hat Enterprise Linux Server for developers.
In this step, you will register for a Red Hat Enterprise Linux Developer Suite Subscription and download Red Hat Enterprise Linux Server.
Download the Red Hat Enterprise Linux Server. binary DVD .iso
file.
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.
Note: Before registration can proceed, you will be required to agree to the terms and conditions at www.redhat.com/wapps/ugc/ if you haven’t already done so. [FIXME hopefully this can be deleted.]
-
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-enabled
If 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 Optional RPMs and RHSCL software repositories. The Optional RPMs repository includes a number of development packages. The RHSCL repository includes the both the RHSCL software collections as well as DTS (the Red Hat Developer Toolset).
# subscription-manager repos --enable rhel-server-rhscl-7-rpms
# subscription-manager repos --enable rhel-7-server-optional-rpms
First select a development technology, then set up your development environment and create a simple "Hello, World" application.
[FIXME - Where do the tabs come from?]
-
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. -
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/rh
where 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 install
after registering your system with Red Hat. Log in to the system as theroot
user, then use the following commands:# yum groupinstall 'Server with GUI' # yum install @gnome-desktop @x11 @internet-browser
When complete, type
systemctl reboot
to 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 install
after registering your system with Red Hat. Log in to the system as theroot
user 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-attach
For more information see How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription Manager.