1. On the oracle server, $ ORACLE_HOMEbinnetca can be used for configuration. The server listens. If the configuration listening does not use the default listening name (listener), it is changed to other
1. You can use $ ORACLE_HOME/bin/netca to configure the listener on the oracle server. If the listener is configured, the default listener name (listener) is not used.
1. you can use $ ORACLE_HOME/bin/netca to configure the listener on the Oracle server. If the listener Configuration does not use the default listener name (listener), but changes it to another name, the startup method is
[Oracle @ admin] $ lsnrctl ora_listener start
If the default value is used
[Oracle @ admin] $ lsnrctl start
2. Configure the client listener
First, you must follow the oracle client or have oracle software. If it is an oracle client, the location is \ oracle \ product \ 10.2.0 \ client_1 \ NETWORK \ ADMIN \ tnsnames. ora
You can add the following configurations:
ORA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.26.130) (PORT = 1521 ))
)
(CONNECT_DATA =
(SID = ora) // ora is the remote database service_names
)
)
You can use sqlplus scott/tiger @ ora in the cmd command line to connect to a remote database.