In this step, you download the first of two Red Container Development Kit (CDK) files. For the download, you will need to register with developers.redhat.com. After you register as a developer, you will be given a subscription for Red Hat Enterprise Linux Developer Suite, which will give you access to the CDK. Red Hat Enterprise Linux Server, and additional development tools are included in Red Hat Enterprise Linux Developer Suite.
Download the #{site.download_manager_base_url}/download-manager/file/cdk-2.0.0-beta5.zip[cdk-2.0.0-beta5.zip].
Note: Later in this guide, you will need the Red Hat username and password you create during registration for accessing Red Hat sites.
The CDK delivers the latest container tools in a Red Hat Enterprise Linux virtual machine (VM). To use the CDK you will need:
-
A virtualization platform: VirtualBox, VMware, or Linux KVM/libvirt
-
Vagrant, an open source tool for creating and distributing portable development environments.
-
The CDK Red Hat Enterprise Linux Vagrant box that matches your virtualization platform.
-
Cygwin (Microsoft Windows only) to provide
ssh
andrsync
.
First, download and install a virtualization platform:
-
VirtualBox (For Microsoft Windows, Apple Mac OS X, or Linux)
-
VMware Fusion (For Apple Mac OS X), VMware Workstation Pro or VMware Workstation Player (For Microsoft Windows or Linux)
-
Linux KVM/libvirt (For Red Hat Enterprise Linux, CentOS, or Fedora)
Note: If you are using Microsoft Windows, Apple Mac OS X, or a Linux distribution other than Red Hat, Fedora or CentOS, VirtualBox is recommended.
Next, download Vagrant. All of the VM configuration details on your development system will be handled for you by Vagrant.
NOTE: We recommend you use Vagrant version 1.7.4, or a version later than 1.8.1. Vagrant releases 1.8.0 and 1.8.1 should be avoided due to some bugs that impact proper operation of the CDK.
If you are using:
-
Microsoft Windows 7 and later, download the Vagrant
.msi
universal installer. -
Apple Mac OS X, download the Vagrant
.dmg
universal installer. -
Red Hat Enterprise Linux, install the Vagrant software collection using the instructions in the CDK Installation Guide.
-
CentOS Linux, install the Vagrant software collection using the instructions in the CDK Installation Guide.
-
Fedora 23, install the Vagrant packages included with Fedora using
dnf
. See the CDK Installation Guide.
For other Linux distributions, install Vagrant using the packages included with your distribution if it includes a recent version. Alternatively, download a .deb
or .rpm
package from vagrantup.com.
To provide ssh
and rsync
on Microsoft Windows, install Cygwin by downloading and running:
-
setup-x86.exe for 32-bit versions of Windows.
-
setup-x86_64.exe for 64-bit versions of Windows.
Next, download the Red Hat Enterprise Linux CDK Vagrant box that matches your virtualization platform:
-
#{site.download_manager_base_url}/download-manager/file/rhel-cdk-kubernetes-7.2-21.x86_64.vagrant-virtualbox.box[Red Hat Enterprise Linux 7.2 Vagrant box for VirtualBox, window='_blank']
-
#{site.download_manager_base_url}/download-manager/file/rhel-cdk-kubernetes-7.2-21.x86_64.vagrant-vmware-fusion.box[Red Hat Enterprise Linux 7.2 Vagrant box for VMware, window='_blank']
-
#{site.download_manager_base_url}/download-manager/file/rhel-cdk-kubernetes-7.2-21.x86_64.vagrant-libvirt.box[Red Hat Enterprise Linux 7.2 Vagrant box for KVM/libvirt, window='_blank']
Next, install the CDK by following the CDK Installation Guide for your operating system:
Node.js 0.10 Node.js® is an event-driven I/O server-side JavaScript runtime that is lightweight and efficient.
#{site.base_url}/products/cdk/get-started-cdk2-nodejs/[Get Started]
PHP 5.6 PHP is a widely-used, open source, general-purpose scripting language that is especially suited for web development. PHP can be embedded into HTML.
#{site.base_url}/products/cdk/get-started-cdk2-php/[Get Started]
Python 3.4 Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its built-in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development and integration.
#{site.base_url}/products/cdk/get-started-cdk2-python/[Get Started]