(RHEL 6 Compatible Only) Install Python 2.7
Cloudera Enterprise 6, specifically Hue, requires Python 2.7, which is included by default in RHEL 7 compatible operating systems (OSes).
RHEL 6 compatible OSes include Python 2.6. You must install Python 2.7 on all hosts running Hue before installing/upgrading Cloudera Manager and CDH.
- Redhat 6
-
- Enable the Software Collections Library:
sudo yum install centos-release-scl
- Install the Software Collections utilities:
sudo yum install scl-utils
- Install Python 2.7:
sudo yum install python27
- Enable the Software Collections Library:
- Centos 6
-
- Enable the Software Collections Library. For more information, see the Red Hat knowledge base article How to use Red Hat Software Collections (RHSCL) or Red Hat Developer Toolset (DTS)?.
- Install the Software Collections utilities:
sudo yum install scl-utils
- Install Python 2.7:
sudo yum install python27
- Oracle Linux 6
-
- Download the Software Collections Library repository:
sudo wget -O /etc/yum.repos.d/public-yum-ol6.repo http://yum.oracle.com/public-yum-ol6.repo
- Edit /etc/yum.repos.d/public-yum-ol6.repo and make sure that enabled is set to 1, as
follows:
[ol6_software_collections] name=Software Collection Library release 3.0 packages for Oracle Linux 6 (x86_64) baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/SoftwareCollections/x86_64/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1
For more information, see Installing the Software Collection Library Utility From the Oracle Linux Yum Server in the Oracle documentation.
- Install the Software Collections utilities:
sudo yum install scl-utils
- Install Python 2.7:
sudo yum install python27
- Download the Software Collections Library repository:
Page generated July 25, 2018.
<< Enabling NTP | ©2016 Cloudera, Inc. All rights reserved | Impala Requirements >> |
Terms and Conditions Privacy Policy |