Ga naar Oracle Linux x86-64 instant-clients downloadpagina
Download de bijpassende klant
oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
oracle-instantclient11.2-sqlplus-11.2.0.2.0.x86_64.rpm
Installeren
rpm -ivh oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
rpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.2.0.x86_64.rpm
Stel omgevingsvariabelen in in uw ~/.bash_profile
ORACLE_HOME=/usr/lib/oracle/11.2/client64
PATH=$ORACLE_HOME/bin:$PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export ORACLE_HOME
export LD_LIBRARY_PATH
export PATH
Laad je .bash_profile
opnieuw door simpelweg source ~/.bash_profile
. te typen (aanbevolen door jbass) of Log uit en log opnieuw in.
Nu bent u klaar om SQL*Plus te gebruiken en uw server te verbinden. Typ :
sqlplus "username/[email protected](DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.1)(PORT=1521))(CONNECT_DATA=(SID=YOURSID)))"