Configuration environment: Install ArcGIS 10 _ on Linux _01 install Linux Virtual Machine and configure yum SourceVirtual Machine created in Red Hat Enterprise Linux 5_5 64-bit pure net.zip 912M Installer: xubobo installation time: 2012-12-18 installation media: linux.x64_11gR2_database_1of2.zip linux.x64_11gr2_databasetimely f2.zip 2.18G database installation account: oracle/admin, affiliated to the oinstall and dba groups. Database instance: orcl. orcl account: sys/admin, system/manager, scott/tiger. Virtual Machine version: Red Hat Enterprise Linux 5_5 64-bit1_oracle11gr2.zip 12.5 GRad Hat Enterprise Linux 5.5 install Oracle 11g R2
========================================================== ==================
Install ArcGIS 10 on Linux:
Install ArcGIS 10_01 on Linux to install Linux Virtual Machine and yum source configuration
Install ArcGIS 10_02 on Linux to install Oracle 11gR2
Install ArcGIS 10_03 on Linux to install ArcSDE 10
Install ArcGIS 10_04 on Linux to install ArcGIS Server 10
Install ArcGIS 10.1 _ 01 on Linux to install ArcGIS Server 10.1
========================================================== ==================
Installation Steps: Step 1: Check hardware configuration step 2: Check and install the software package binutils-2.17.50.0.6-14.el5 required by Oracle
Compat-libstdc ++-33-3.2.3-61
Elfutils-libelf-0.137-3.el5
Elfutils-libelf-devel-0.137-3.el5
Elfutils-libelf-devel-static-0.137-3.el5
Gcc-4.1.2-48.el5
Gcc-c ++-4.1.2-48. el5
Glibc-2.5-49
Glibc-common-2.5-49
Glibc-devel-2.5-49
Glibc-headers-2.5-49
Kernel-headers-2.6.18-194.el5
Ksh-20100202-1.el5
Libaio-0.3.106-5
Libaio-devel-0.3.106-5
Libgcc-4.1.2-48.el5
Libgomp-4.4.0-6.el5
Libstdc ++-4.1.2-48. el5
Libstdc +-devel-4.1.2-48.el5
Make-3.81-3.el5
Numactl-devel-0.9.8-11.el5
Sysstat-7.0.2-3.el5
UnixODBC-2.2.11-7.1
UnixODBC-devel-2.2.11-7.1 to determine whether necessary software packages are installed, run the following command to check: # rpm-qa | grep package-name check to confirm that, if it is a pure virtual machine, the highlighted software package is not installed. The above installation package is incomplete, and compat-libstdc ++-33-3.2.3 is still missing (has been installed ?) And glibc-devel-2.5. The database will be checked during installation, and a prompt will be prompted after which packages are missing.
Installation command: yum install package-name.yum source configuration can refer to install argis on linux _
01 install Linux Virtual Machine and configure yum Source>. Step 3: Configure parameters 1. Configure Linux Kernel Parameters and edit the/etc/sysctl. conf file as follows:
# Vi/etc/sysctl. conf (comment out the defined kernel. shmall kernel. shmmax option in the text)
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048586 enter the following command to change the current value of the Kernel Parameter so that the modified Kernel Parameter takes effect immediately.
#/Sbin/sysctl-p 2. Check resource limits
# Vi/etc/security/limits. conf)
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Oracle soft stack 10240
3. Configure shell restrictions:
Add the following content to/etc/pam. d/login
# Vi/etc/pam. d/login Add the following content at the bottom
Session required/lib/security/pam_limits.so
Session required pam_limits.so
Add the following content to/etc/profile
# Input in the last line of vi/etc/profile
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Add the following content to/etc/csh. login
# Vi/etc/csh. login Add the following content
If ($ USER = "oracle") then
Limit maxproc 16384
Limit deors 65536
Step 4 of endif: Create an operating system group and create an oracle database installation Group
# Groupadd oinstall
Create an OSDBA group for database installation, that is, the database administrator Group
# Groupadd dba
Create an oracle user and add the user to the main group oinstall and the auxiliary group dba
# Useradd-g oinstall-G dba oracle
Set the password of an oracle user:
# Passwd oracle Step 5: Create and authorize the oracle software storage directory Oracle Installation Software storage directory (upload the oracle Installation Software storage location)
# Mkdir-p/software
Grant permissions to the Created directory to oracle and the group oinstall
# Chown-R oracle: oinstall/software
# Chmod-R 775/software Note: If you need to specify the installation directory, you need to create the Directory and authorize it. This document uses the default installation directory, which is under home/oracle. Step 6: Modify the/etc/hosts file. Step 7: Set the oracle user's environment variable # su-oracle
# Vi/home/oracle/. bash_profie Add the following content:
ORACLE_SID = orcl; export ORACLE_SID
ORACLE_BASE =/home/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
PATH = $ PATH: $ ORACLE_HOME/bin: $ HOME/bin; export PATH
LD_LIBRARY_PATH = $ SDEHOME/lib: usr/lib: $ ORACLE_HOME/lib; export LD_LIBRARY_PATH: # source/home/oracle /. bash_profile Note: environment variables can be set after oracle is installed. The highlighted environment variables must be set based on the specific installation path. Step 8: unzip the installation file, prepare for installation, and log on to the oracle Installation File Using the oracle user. Upload the oracle Installation File to the/software Directory to decompress the package.
# Unzip linux. x64_11gR2_database_1of2 # unzip linux. x64_11gR2_database_1of2
Use the root user to perform the following two steps:
Xhost +
Xhost + localhost
Log out of the root account and use the oracle user to install oracle in the decompressed directory database (note that the resolution is not less than 1024*768)
# Su-oracle
# Cd/software/database
#./RunInstaller after installation, the Oracle graphical configuration page will pop up. Step 9: Install Oracle
- Configure Security Updates. An email address is provided to receive security update notifications. If you click Next, a warning is displayed.
- By default, Create and Configure a database is selected.
- Select the Desktop Class by default and click Next.
- The database path and other configurations are not changed by default. Set Global database name to orcl and password to admin. Next Step
- Product list, default. Next step
- Check dependencies. If it is missing, install it. Check again and click Next.
- Click save Response file to save the configuration. Click Next.
- Start to install and create the configuration database. After the configuration is completed, the password is as follows: sys/admin, system/manager, scott/tiger (unlock beforehand ).
- The system prompts the root user to execute two scripts.
- Click OK after execution, and close the graphical interface to complete installation.
Note: run the command # su-root # sh/home/oracle/app/oralnventory/orainstRoot under the root user. sh # sh/home/oracle/app/oracle/product/11.2.0/dbhome_1/root. after installing sh, start the listener and log on to the database using SQL/plus to check whether the listener is correct. # Su-oracle // switch to oracle user # env // check whether the environment variables take effect. If not, check whether/home/oracle/. base_profile is correct. Then source/home/oracle/. bash_profile takes effect. # Lsnrctl start // start listener # sqlplus sys/admin as sysdba; // connect to the database # startup // a summary of Common Database startup problems: Q: When the listener is started (lsnrctl start), the following error occurs: lsnrctl: error while loading shared libraries:/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1: cannot restore segment prot after reloc: Permission denied. A: Disable SELinux. In system-> administration-> Security Level and Firewall, set it to Disable. Oracle Installation Process: