-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Development Suite
Installation Guide
Installing Red Hat Development Suite
Misha Husnain Ali
mhusnain@redhat.com
Supriya Bharadwaj
sbharadw@redhat.com
Petra Sargent
psargent@redhat.com
devtools-docs@redhat.com
Abstract
Preface
Red Hat Development Suite combines Red Hat development tools such as Red Hat JBoss Developer Studio, the Red Hat Container Development Kit, and OpenJDK into a single, integrated developer experience. Combining these powerful tools into a single integrated development environment results in Red Hat Development Suite - one of the most effective, powerful, and efficient development environments for all kinds of developers.
Chapter 1. Red Hat Development Suite Support Information
Red Hat Development Suite 1.3 includes products such as Red Hat JBoss Developer Studio 10.3 and Red Hat Container Development Kit 2.4, as well as some dependencies for each of these products. One or more of the products that Red Hat Development Suite installs may have a separate Red Hat subscription. Development support for any of the installed products requires an active Red Hat subscription for that product.
The Red Hat Development Suite installers are now available for Windows and macOS. Support information for Red Hat Development Suite 1.3 is as follows:
- Both the Online and Bundled installers are supported for Windows 7, 8, and 10.
- Both the Online and Bundled installers are Technology Preview features for macOS. For more information on Technology Preview features support scope, see Technology Preview Features Support Scope. These installers run on macOS 10.9 or newer.
Chapter 2. Red Hat Development Suite Component Details
The Red Hat Development Suite 1.3 installer installs the following components and their dependencies:
Red Hat JBoss Developer Studio 10.3
- OpenJDK 1.8.0_121
Red Hat Container Development Kit 2.4
- Vagrant 1.8.1
- Cygwin 2.6.1
VirtualBox 5.0.26
ImportantOn macOS 64-bit hosts, VirtualBox works with versions 10.9 (Mavericks), 10.10 (Yosemite), and 10.11 (El Capitan). Intel hardware is required for these hosts. See VirtualBox Manual for details.
Red Hat Development Suite uses the PATH environment variable to detect existing installations of Java, Cygwin, VirtualBox, and Vagrant.
If some components in the list are not detected, they are installed. If Red Hat Development Suite detects any of the listed components, it compares the installed version against the required version and acts based on the results:
- If the installed version matches the supported version, Red Hat Development Suite marks the component as available and correct.
- If the installed version does not match the supported versions for the component, an error displays. The user must exit Red Hat Development Suite and manually uninstall the component and then restart Red Hat Development Suite.
Chapter 3. System Requirements
The minimum system requirements for Red Hat Development Suite are:
- 8 GB RAM
- 20 GB disk space
- CPU Intel i3 2GHz Processor
The recommended system requirements for Red Hat Development Suite are:
- 16 GB RAM
- 47 GB disk space
- CPU Intel i5 2GHz or better
Chapter 4. Installing Red Hat Development Suite
4.1. Installation Options
Red Hat Development Suite 1.3 includes the following installation options:
Windows-only Installers (Supported)
- An Installer that includes most of the required components and their dependencies for installation. Vagrant and VirtualBox are not included in the installer and have to be downloaded during the installation time.
- An Online Installer that is a 40 MB download and downloads the required components during the installation process.
macOS-only Installers (Technology Preview)
- An Installer that includes most of the required components and their dependencies for installation. Vagrant and VirtualBox are not included in the installer and have to be downloaded during the installation time.
- An Online Installer that is a 54 MB download and downloads the required components during the installation process.
4.2. Installation Prerequisites
4.2.1. General Prerequisites
The following are general prerequisites for Windows and macOS. Ensure that you refer to the Windows or macOS specific prerequisites after ensuring the general requirements are met.
- Sign Up for the Red Hat Developer Program: Join the program here: Red Hat Developer Program. After signing up, you must wait approximately fifteen minutes to allow the new account information to propagate to the Red Hat Subscription Management system.
- (Optional) Install Docker individually to use Docker for Windows: Red Hat Development Suite includes the Docker tooling, but to use the full version of Docker for Windows (Docker Machine or Boot2Docker), you must install Docker and test it before installing any Eclipse Docker tools. This is only applicable to using Docker out of JBoss Developer Studio, such as Docker for Windows or Docker for macOS.
4.2.2. Windows Prerequisites
Ensure that the following prerequisites are met when installing Development Suite on Windows (supported):
- Install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86). Ensure that this package is downloaded and installed from Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).
- Ensure that Virtualization is enabled in your machine’s BIOS settings. If Red Hat Development Suite is run on a new system, ensure that Virtualization is enabled in the BIOS settings. This is required to run VirtualBox and Vagrant. For further information, consult your system’s documentation for instructions to change BIOS settings.
- Ensure that you are logged in using an Administrator account. Red Hat Development Suite adds drivers and changes environment variables and therefore requires Administrator permissions. Do not run Red Hat Development Suite using a non-Administrator account with the Run as Administrator option because this not supply the required permissions.
4.2.3. macOS Prerequisites
Ensure that the following prerequisites are met when installing Development Suite on macOS (Technolgy Preview):
- Ensure that you are logged in as a user that has permission to administer the computer . Red Hat Development Suite adds drivers and changes environment variables and therefore requires administrator permissions.
- Ensure that Java SE 1.8.0 is installed: Download and install Java SE 1.8.0 Build 111 from the Oracle website: Java Download.
Ensure that Virtualization is enabled for your machine. In a terminal, run the
sysctl -a | grep machdep.cpu.features
command. The result will be a string of features, for example:machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL *VMX* EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C
If the output includes
VMX
, as highlighted in the example, the machine has Virtualization enabled.
4.3. Installing Red Hat Development Suite
To install Red Hat Development Suite:
- Log in and download Red Hat Development Suite from the Red Hat Developers Portal product download page at Red Hat Developers Download. Please note that macOS installers need to be unzipped before the next step. If using Safari browser to download, the macOS installer is automatically unzipped.
- Run the downloaded file installation file (Online or Bundled).
At the log in screen, enter your existing Red Hat Developer login credentials to log in.
Figure 4.1. Enter Your Login Credentials
At the
Target Folder
screen, add a path to the target directory for the Red Hat Development Suite installation. The default path for Windows isc:\DevelopmentSuite
and the default path for macOS is/Applications/DevelopmentSuite
.Figure 4.2. Set the Target Directory
If your Windows user has a space in the username, for example,
Example User
, the installer displays an error. See Section 7.1, “Terms and Conditions Error” for troubleshooting information for this error.The
Confirmation
screen lists the components that Red Hat Development Suite downloads and installs. Red Hat Development Suite detects components based on thePATH
environment variable. If none of the components are installed, no changes are required. If an older version of a component is detected, exit Red Hat Development Suite, uninstall the component, and then start Red Hat Development Suite.To Install Red Hat Development Suite:
- All required components are already selected by default.
- Click Download & Install to continue.
To only install Red Hat Container Development Kit:
- Deselect the Red Hat JBoss Developer Studio and OpenJDK. You must deselect JBoss Developer Studio before its dependency (OpenJDK) is available to select.
- Click Download & Install to continue.
To only install JBoss Developer Studio:
- Deselect the Red Hat Container Development Kit, Vagrant, Cygwin, and VirtualBox options. You must deselect the Container Development Kit option before its dependencies are available to select.
- Click Download & Install to continue.
To only install any of the dependencies (VirtualBox, Cygwin, Vagrant, OpenJDK):
- Deselect the Red Hat Container Development Kit and JBoss Developer Studio options.
- Select and deselect any of the other components as desired.
Click Download & Install to continue.
Figure 4.3. Download and Install the Components
- The Online installer then downloads the selected components and installs it. This process involves large file downloads and can take some time to complete. The Bundled installer includes the components and directly installs them.
When complete, Red Hat Development Suite indicates that the download and install were successful and provides a link to the Red Hat Container Development Kit Getting Started page. Depending on what you want to do next, you can either:
- Click the Open Red Hat JBoss Developer Studio button to start using the Red Hat Container Development Kit Server Adapter.
- Visit Red Hat Container Developement Kit to learn about using Red Hat Container Development Kit.
To run Red Hat Development Suite, click the Open Red Hat JBoss Developer Studio button:
- Set up a workspace folder, as prompted.
- Click the Servers tab to view the configured Red Hat Container Development Kit server adapter.
- Right-click the server and select Start to initiate the Red Hat Container Development Kit server.
- When prompted, enter your Red Hat Customer Portal credentials and click OK. The Console tab displays the details of the Red Hat Container Development Kit server.
- When prompted, read the details of the new SSL certificate for OpenShift and click Yes to accept it.
- Click the OpenShift Explorer tab to view the new OpenShift server and sample project.
Chapter 5. Next Steps
After installing Red Hat Development Suite, see the Automatic Installation and Configuration
section in Developing Using Containers and the Cloud.
Chapter 6. Upgrading Red Hat Development Suite
There is no current path to upgrade from Red Hat Development Suite 1.2 to 1.3. To use version 1.3, uninstall Red Hat Development Suite 1.2 and then install Red Hat Development Suite 1.3.
Note the following considerations when uninstalling to upgrade to the newer version of Red Hat Development Suite:
- If a Vagrant version older than 1.8.1 is installed, manually uninstall this component before you upgrade.
- For VirtualBox only version 5.0.26 or newer within the 5.0.x stream is supported. For example, the installation does not work with version 5.1. If a VirtualBox version older than 5.0.26 or version 5.1.x is installed, manually uninstall this component before you upgrade.
- Both the Online and Bundled Red Hat Development Suite installers require a manual uninstall and then a fresh installation with the new version of the installer.
Chapter 7. Troubleshooting
To troubleshoot a general installation failure, see the contents of the installer.log file. The installer log file is automatically created in the installation target directory. Depending on when the installation failed, the directory can contain additional log files for Vagrant and VirtualBox.
7.1. Terms and Conditions Error
Error: “Terms and Conditions for CDK have not been signed” This error appears on the Log In page when installing Red Hat Development Suite. The workaround for this issue is to log into Red Hat Developers Progrom and download Red Hat Container Development Kit. This triggers all the required Terms and Conditions approvals (if any are needed).
A user who wants to download and use Red Hat Container Development Kit must become a member of the Red Hat Developer Program. Sign up for the program here: Red Hat Developers Program.
7.2. OpenShift Console Inaccessible on Microsoft Edge Browser
The OpenShift Console web address does not work on Microsoft’s Edge Browser. This is a known issue, and the only workaround is to use a different browser to access the console.
7.3. Reporting an Issue
If you encounter issues other than the ones listed in this section, log an issue at JBoss Developer under the platform-installer component in the Red Hat JBoss Developer Studio (devstudio) project.
Chapter 8. Uninstalling Red Hat Development Suite
8.1. Uninstalling Red Hat Development Suite on Windows
On Windows, Red Hat Development Suite includes a new Powershell-based uninstaller in the product’s installation directory (${target-folder}/uninstaller/uninstall.ps1).
Installing Red Hat Development Suite creates an Uninstall Developer Studio option in Windows. This uninstaller only removes JBoss Developer Studio, and not any additional components installed for Red Hat Development Suite. Use the following instructions to completely remove all Red Hat Development Suite components from your machine.
The uninstall script removes everyhing installed into the installation target directory. As a result, previously installed components detected during the installation are not affected.
The uninstaller runs corresponding MSI uninstallers for Vagrant, VirtualBox, and OpenJDK. It also cleans up the PATH variables and removes the ${target-folder} folder.
To uninstall Red Hat Development Suite, run the script in one of two ways:
- use the command prompt (cmd) to run the file.
use the Powershell with the following command:
powershell -ExecutionPolicy bypass -File ${target-folder}\uninstaller\uninstall.ps1
NoteDo not run the uninstall script from within ${target-folder} or run the ps1 file from the context menu. This results in locking the ${target-folder}\uninstaller folder and the powershell script is not removed after the uninstall process completes.
Chapter 9. Uninstalling Red Hat Development Suite on macOS
For macOS users, uninstall Red Hat Development Suite as follows:
- Manually delete the installation folder for your Red Hat Development Suite installation.
- Follow the uninstall instructions for each of the individual components for macOS to remove them manually.