Document directory
- Use the 64-bit oracle client that has just been installed to connect to the oracle server and release the database-type workspace and data source in conjunction with the 64-bit iServer6R of linux.
Use the 64-bit oracle client that has just been installed to connect to the oracle server and release the database-type workspace and data source in conjunction with the 64-bit iServer6R of linux.
1. Configure the local network service name of the oracle client. The specific directory is as follows:
(Note: In Windows, because you need to use composer pro or composer pro. NET for image placement, if the oracle server is 64-bit, you need to install a 32-bit oracle client locally on Windows to use the desktop tool for image placement. When a 32-bit oracle client is installed, you need to establish a local network service name to connect to the 64-bit oracle server. If the local network service name of the server is orcl_ic, in the linux 64-bit oracle client, the name of the oracle local network service must be consistent with that of Windows, that is, orcl_ic. Simply put, the name of your local Windows Network Service must be consistent with that of linux.)
2. Edit tnsnames. ora and enter the command vi tnsnames. ora to modify the following content. After modification, wq will exit.
Enter the local network service name in the red box, the ip address of the connected oracle server in the purple box, And the oracle server instance name in the white box.
3. Unzip iServer6R in linux, configure the license, and configure the environment variables.
(This document is not described here. You can deploy this document at http://support.supermap.com.cn/technical resources, technical documents, and iserevr6r)
3. add environment variables such as iServer6R environment variables, such as java. profile, which contains oracle environment variables. The configuration content is shown in. After the configuration is complete, wq will save and exit, and then re-run the file in source.
4. Then start iServer in the bin directory of iServer6R.
(Note: If you use PUTTY or another non-graphic interface for remote startup, you need to enter the X command:
A) X: n & start an xServer on the nth screen. n is an arbitrary integer, such as, 21, and 23.
B) export DISPLAY =: n.0
Set the DISPLAY variable to the local xServer and then start iServer.
)
5. After successful startup, the oracle Workspace service will be released normally.
If you are prompted that the workspace string connection is incorrect, then:
- Check whether the server name is the service name of the local network. It is not the same as that of Windows.
- You can enter the source java. profile and cd directory under the iSerevr installation directory/support/objectsjava/bin directory, and enter the command: ldd libEngineOracle600.sdx to check whether the dynamic dependency library is complete and whether it is missing, resulting in not found.
- If the problem persists, set the client encoding to export NLS_LANG =. ZHS16GBK.
This completes the entire deployment.
(Reprinted please indicate the source: http://www.cnblogs.com/zhangyongli2011/ if found errors, please leave a message Thank you)