2. Introduction
With this presentation you should be able to configure your system and enables you to
do:
● Dry runs on new versions.
● Flexibility and options to choose.
● Work on Production environments without affecting it.
3. The Problem
Install Oracle’s Big Data SQL on a production Cluster without affecting the environment
variables.
The Oracle BDS has some dependencies, in this case we will be taking the focus only in
one:
● It requires at least the Python 2.7 and in the Cluster the available version is the
2.6.6.
4. The Solution
Usually we would just do a normal installation “yum install python27”...
But, on a production environment there’s a major hazard that could affect other
applications dependencies that we are not aware.
Therefore the best solution it’s to use the application Software collections, that enables
the system to have several “environments” without affecting the one in production.
5. Configuration
Download Repository
wget -P /etc/yum.repos.d/
http://people.redhat.com/bkabrda/scl_python27.repo
If SCL it’s not present
sudo yum install scl-utils
Note: On this example we choose the Python 2.7 but it’s also possible to
choose other version, just replace the highlighted name with for example
python33.
Installation on CentOS
sudo yum install centos-release-scl
Enable to run applications from the SCL
sudo yum install scl-utils-build
6. Configuration
List the available packages from the SCL repository
yum --disablerepo="*" --enablerepo="scl_python27" list available
Search for SCL packages
yum --disablerepo="*" --enablerepo="scl_python27" search packageName
Note: replace the highlighted field with the required repo or package name to be searched.
7. Install Package
Install Python 2.7
yum --disablerepo="*" --enablerepo="scl_python27" install
python27.x86_64
Check the list of packages you installed from the SCL
scl --list
To use an installed SCL package you must explicit enable it by
scl enable sclPackageName pythonCcommand
Note: just replace the highlighted fields with your requirements.
Confirm system version of Python
python --version
Use SCL installed package
scl enable python27 'python --version'
Use SCL with Big Data SQL installation jaguar
sudo scl enable python27
'/home/oracle/Downloads/BDSJaguar/jaguar install bds-
config.json.Kerb'