For you to connect with the Oracle server, you need three things the user ID, password and especially the service name on the network. The service name on the network is the path to the Oracle server and its service name, which is an alias for the bank.
The easiest way to configure this service name on the client is through the Netmgr utility.
For this you need to configure the main variables of environment, which are: oracel_base - where you install the Oracle products
oracle_home - oracle product installation place - in this case the client
To verify that you have already configured or not:
Select all
gilberto@TI-DES05:~> env|grep ORA
ORACLE_SID=DESENV
ORACLE_BASE=/opt/oracle
ORA_NLS33=/opt/oracle/oracleDevSuite/ocommon/nls/admin/data
ORACLE_HOME=/opt/oracle/oracleDevSuite
gilberto@TI-DES05:~>
If opposite, edit your environment configuration file, in my case I use bash, then it will be .bashrc and create these variables there.
then it is only to rotate the utility: