A.2.1 Verify the Environment

A checklist for the OML4R Server requirements.

Table A-1 Checklist for Oracle Machine Learning for R Server Requirements

Question Sample Answer

What is the Linux version?

% cat /etc/redhat-release
Enterprise Linux Server release 6.4 

Do you have access to the internet?

Start a browser

Can you log in as root?

% sudo -su
Password: ---------
#
# exit
%              

Is Oracle Database installed?

% SQLPLUS / as sysdba
Copyright (c) 1982, 2017, Oracle.  All rights reserved.
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bitProduction
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
> exit
%

What is the value of $ORACLE_HOME?

% echo $ORACLE_HOME
/myhome/product/12.1.0.2/dbhome_1

What is the value of $ORACLE_SID?

% echo $ORACLE_SID
orcl

Does $LD_LIBRARY_PATH include $ORACLE_HOME/lib?

% echo $LD_LIBRARY_PATH
/myhome/product/12.1.0.2/dbhome_1/lib:....

Does $PATH include $ORACLE_HOME/bin?

% echo $PATH
/myhome/product/12.1.0.2/dbhome_1/bin:.......

Are you a member of the dba group?

% groups
g102 dba

Can you write to $ORACLE_HOME/lib?

% ls -ld $ORACLE_HOME/lib
drwxr-xr-x 3 myuser g102 12288 Jan 27 15:31
/myhome/product/12.1.0.2/dbhome_1/lib/ ...