Precautions for installing ArcSDE10.1 in linux (SUSE11) (Oracle11g

Source: Internet
Author: User
Tags oracle database installation
After installing ArcSDE10.0 in linux, I tried to install ArcSDE10.1 in linux. Currently, no detailed installation documentation or blog for ArcSDE10.1forlinux is available on the network. However, you can use ESRI's online resources. arcgis. comzh-cnhelpinstall-g

After installing ArcSDE 10.0 in linux, I tried to install ArcSDE 10.1 in linux. At present there is no detailed installation documentation or blog for ArcSDE 10.1 for linux on the network, but you can use ESRI's online resource http://resources.arcgis.com/zh-cn/help/install-g


Preface


After installing ArcSDE 10.0 in linux, I tried again to install ArcSDE 10.1 in linux. There are no detailed installation documents or blogs on the network for ArcSDE 10.1 for linux, but you can use ESRI's online resource http://resources.arcgis.com/zh-cn/help/install-guides/arcsde-application-server-oracle/10.1/index.html#//009400000002000000 (for Oracle's ArcSDE Application Server Installation Guide) for help. The ArcSDE 10.1 forServer has been changed to 64-bit. However, the Desktop and Engine are still 32-bit. The problems caused by these 32-bit and 64-bit operations follow. For Oracle Database Installation users, use ArcGIS10.1 forDesktop and ArcGIS 10.1 forServer to connect to the SDE database:

ArcGIS 10.1 forDesktop connection: 32-bit oracle client needs to be installed

ArcGIS10.1 forServer connection: 64-bit oracle client needs to be installed

IfAnd Server on one machine, you need to install both 32-bit and 64-bit clients. For direct connection, you need to put the environment variables of the 32Bit database client in front. For the Direct Connection Service released by ArcGIS Server, you need to put the environment variables of the 64Bit database client in front..

Before installing ArcSDE, I want to help you understand the concept of connection between ArcSDE and application services.

1. installation environment

Before installation, check the ArcSDE 10.1 requirement on the ESRI official website and select an appropriate system. I chose to test the installation system environment as SUSE, which is carried out in the vmwarevm. We recommend that you retain more than 22.8 GB space when installing SUSE, so that you do not have enough space to complete the preliminary work. The database is oracle 11g, and the ArcSDE version is 10.1. For the database client, remember to select the "Administrator option" when installing the database. The other options are installed by default. The specific version of the software is as follows:

Arcsde_linux_unix_10213129057

SUSE Linux Enterprise Server 11 SP 1

Oracle Database 11g Release 2 (11.2.0.1)

Win32_11gR2_client

Client: http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip


2 Installation Process


The prerequisites for installing ArcSDE in this article are that Oracle 11g and ArcGIS 10.1 for Server on the Server have been installed successfully and the service is started. The client ArcGIS 10.1 for Desktop has also been installed successfully, I use the linux System of the virtual machine as the server and win7 system as the client.

First, let's see if the two machine databases are connected.



If the two machines are connected, the change is my database password.

If the "ORA-12170: TNS: Connection timeout" error occurs, as shown in the following figure, it may be that your linux firewall is not closed

Go to SUSE and manually set


Select the oracle client -- configure and port the tool -- Net Manage

Go to the page

Click "local -- server name --+"


I have already created three server names in my previous exploration. Now I will demonstrate how to create one"Chaomang"Server Name



Enter the IP address of the system where the oracle database is located in the host name. To use the TCP/IP protocol, you must first tell the computer where the oracle database is located. The port number is the default one, however, be sure not to be occupied by other programs or manually close this port.


The service name must be the database SID Instance name.

If the account is locked, the account is successfully created, closed, and clicked. (if there are other prompts, You need to analyze the specific problem)



Close and click Save. Open catalog.


Here we can see the zcm. sde file successfully added in the early stage, click Add Database Connection

The create connection dialog box appears. Select oracle In the first column, enter the service name "chaomang" in the second column, select Database authentication in the third column, and set the Database username and password in the fourth column. Click OK.


You can see that the database connection has been established successfully. If there is a red cross on your connection, such as the right figure, don't worry about waiting for a while. This is the table that catalog is creating, I spent a long time here during the exploration process, because I thought the database connection failed when I saw the Red Cross, and then I went back to the previous process and came back with the Red Cross, this wastes a lot of time.

Then go to the following path Toolbox ------- Data Managerment tools -------- GeodatabaseAdministration -------- create enterprise Geodatabase double-click


Follow me and click OK. The next step will wait for some processes.

After the operation is successful, you can check the database connection and find that there are some more SDE tables. At this time, you can install ArcSDE on the server.


Create a system-level user: arcsde. The same oinstall group as oracle


When installing ArcSDE, I usually use the DAEMON virtual optical drive to directly copy files to virtual machines. The following is the installation file of the entire ArcSDE, oracle11g_64 in the linux folder



Grant the read and write permissions to the installation file under the root user and install the file (note that export LANG = en_US; otherwise, garbled characters will occur during installation)


No impact.

Create a new file. bash_profile and add the environment variables of the arcsde user. Note that you must change the values marked with red to your own. Unlike ArcSDE 10.0, The SDEHOMO path here must be correct.

Make the environment variable effective after modification. The command statement is "point by Space/. bash_profile"

Modify the configuration file parameters and add the Instance name and port number to the $ SDEHOME/etc/services. sde file under the ArcSDE user.


Add the same as the/etc/services file under the Root user



The directory should be the oinstall group to which the arcsde user belongs. Switch to the root user and run the following command. Here, I forgot to use the 10.1 image.

Now, you can start the ArcSDE service. Note that the command is slightly different from the one in 10.1. The password here is the SDE tablespace password previously set in catalog, not the Database Password




In the end, I firmly believe in sharing and helping create value-Zcm. If this article can help you, I hope you can use the time I have saved for you to help others.

Note: The table creation section of Catalog references the ppt shared by Lai Xiaohui. I would like to express my gratitude here. At the same time, I would like to thank Liu Feng from the technical support (SDE) for his help.





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.