Because the server runs through the springboard, it cannot be installed through the X desktop, so it needs to be installed silently silent, as follows: oracle11g silent installation process--linux environment 1. Operating system and Oracle version Linux version: CentOS release 5.5 (Final) Oracle version: Oracle Database 11g Release 2 (11.2.0.1.0) for Linux x86-64 (linux.x64_11gr2_d Atabase_1of2.zip, Linux.x64_11gR2_database_2of2.zip 2. Hardware detection: physical memory not less than 1G hard drive can space not less than 5G swap space not less than 2G support 256 color graphics card CPU frequency is not less than 550mHZ cat/etc/issue uname-r grep memtotal/proc/meminfo grep swaptotal/proc/meminfo g Rep "model name"/proc/cpuinfo free df-k/tmp df-k 3. Check the official installation documentation for the specific packages that depend on the system package operating systems that you are installing. The following are Asianux 3, Oracle Linux 5, Red Hat Enterprise Linux 5, CentOS 5 operating system-dependent packages binutils-2.17.50.0.6 compat-libstdc++-33-3.2. 3 compat-libstdc++-33-3.2.3 (bit) elfutils-libelf-0.125 elfutils-libelf-devel-0.125 gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-2.5-24 (bit) glibc-common-2.5 glibc-devel-2.5 glibc-devel-2.5 (bit) glibc-headers-2.5 ksh-20060214 libaio-0.3.106 libaio-0.3.106 (bit) libaio-devel-0.3.1libaio-devel-0.3.106 (bit) libgcc-4.1.2 libgcc-4.1.2 (bit) libstdc++-4.1.2 libstdc++-4.1.2 (bit) Libstdc++-dev El 4.1.2 make-3.81 sysstat-7.0.2 unixODBC-2.2.11 (32-bit) or later unixodbc-devel-2.2.11 (64-bit) or later unixODBC-2.2.11 (64-bit) or later check dependencies rpm-q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c + + glibc Glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make Sysstat Unix ODBC Unixodbc-devel If the package has the show is isn't installed (not installed), install it with the Yum Install command, such as: Yum install-y compat-libstdc++-33 4. Chuang Build required operating system groups and users Groupadd oinstall groupadd dba useradd-g oinstall-g DBA Oracle set Oracle user password passwd Oracle &NB Sp 5. Modify kernel parameters in the/sbin/sysctl.conf file, use the text editor or VI command to add or modify the following parameters if not: vi /etc/sysctl.conf FS.AIO-MAX-NR = 1048576 Fs.file-max = 6815744 Kernel.shmall = 2097152 Kernel.shmmax = 5368709120 (adjusted according to actual situation) Kernel.shmmni = 4096 ker Nel.sem = 250 32000 100 1Net.ipv4.ip_local_port_range = 9000 65500 Net.core.rmem_default = 262144 Net.core.rmem_max = 4194304 net.core.wmem_def Ault = 262144 Net.core.wmem_max = 1048576 after modification, make settings take effect /SBIN/SYSCTL-P If the following problems occur: Error: "Net.bridge.bridge-nf-c All-ip6tables "is a unknown key
Error: "Net.bridge.bridge-nf-call-iptables" is an unknown key
Error: "Net.bridge.bridge-nf-call-arptables" is an unknown key
The workaround is as follows:
Modprobe Bridge
Lsmod|grep Bridge 6. Modify user restrictions in/etc/security/limits.conf files, use a text editor or VI command to add or modify the following parameters Oracle Soft nproc 2047 ORAC Le hard nproc 16384 Oracle Soft nofile 1024 Oracle hard nofile Oracle 65536 stack 10240 in soft files, using a text editor or VI command to add or modify the following content session required/lib/security/pam_limits.so session required pam_limits.so Here you should note that if the 64-bit system , you need to change to session required/lib64/security/pam_limits.so session required pam_limits.so in/etc/profile file, Add or modify the following content using the text editor or VI command IF [$USER = Oracle]; Then if [$SHELL = "/bin/ksh"]; Then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fi fi makes the settings effective Source/etc/profile 7. Create an installation directory (depending on the situation, select Choose more space for directory creation) Mkdir-p/u01/app/chown-r oracle:oinstall/u01/app/chmod-r 775/u01/app/ 8. Create/ETC/ORAINST.L OC files, as follows nventory_loc=/u01/app/oracle/orainventory inst_group=oinstall permissions to change files chown Oracle:oinstall Etc/orainst.loc chmod 664/etc/orainst.loc 9. Set Oracle environment variable sU-oracle VI ~/.bash_profile at the end add the following export oracle_base=/u01/app/oracle export ORACLE_SID=ORCL Note that In addition to Oracle_base and Oracle_sid, (/etc/profile and. Bash_profile) do not set any ORACLE-related environment variables (oracle_home, PATH, Ld_library_path, etc.). Make settings effective source/home/oracle/.bash_profile Check environment variables: ENV 10. Extract Oracle installation files Unzip linux.x64_11g R2_database_1of2.zip Unzip Linux.x64_11gR2_database_2of2.zip 11. Copy response file template mkdir etc cp/home/oracle/ database/response/*/home/oracle/etc/Set Response file permissions Su-root chmod 700/home/oracle/etc/*.rsp 12. Silently install Oracle software SU -Oracle modifies the response file for installing Oracle software/HOME/ORACLE/ETC/DB_INSTALL.RSP ORACLE.INSTALL.OPTION=INSTALL_DB_SWONLY//29 line installation type ORACLE_HOSTNAME=JAVA-LINUX-TEST//37 row Host name unix_group_name=oinstall//42 row installation Group inventory_location=/u01/app/oracle/ ORAINVENTORY//47 Row Inventory directory selected_languages=en,zh_cn,zh_tw//78 row selection language oracle_home=/u01/app/oracle/product/ 11.2.0/DB_1//83 line oracle_home oracle_base=/u01/app/oracle//88 row OracLe_base oracle.install.db.installedition=ee//99 Line Oracle version oracle.install.db.iscustominstall=true//108 line Custom Installation oracle.install.db.dba_group=dba//142 Line DBA user group oracle.install.db.oper_group=oinstall//147 row OPER user Group oracle.install.db.config.starterdb.type=general_purpose//160 Row Database type oracle.install.db.config.starterdb.globaldbname=orcl//165 Line Globaldbname oracle.install.db.config.starterdb.sid= orcl//170 line SID oracle.install.db.config.starterdb.memorylimit=512//192 the minimum Memory (M) for automatic memory management oracle.install.db.config.starterdb.password.all=oracle//233 line set all database users to use the same password decline_security_updates=true// 385 line set up security update for silent installation Oracle software CD database./runinstaller-silent-force-responsefile/home/oracle/etc/db_install.rs P installation, if the prompt [WARNING] is not heeded, the installer is still in progress, and if [FATAL] appears, the installer has stopped. View installation log information for installation progress CD $ORACLE _base/orainventory/logs tail-100f Installactions*.log appears with the following prompts to indicate installation complete: #-------------- -----------------------------------------------------.../u01/app/oracle/product/11.2.0/db_1/root.sh to execute The COnfiguration scripts:1. Open a terminal window 2. Log in as "root" 3. Run the scripts 4. Return to this window and hit the "Enter" key to continue successfully Setup Software. #------------------------------------------------------------------- Execute root.sh su root/u01/using root user APP/ORACLE/PRODUCT/11.2.0/DB_1/ROOT.SH Add Oracle Environment variables su-oracle VI ~/.bash_profile at the end add the following E Xport oracle_home= $ORACLE _base/product/11.2.0/db_1 export tns_admin= $ORACLE _home/network/admin export Path=.:${path }: $HOME/bin: $ORACLE _home/bin export Path=${path}:/usr/bin:/bin:/usr/bin/x11:/usr/local/bin export ld_library_path= ${ld_library_path}: $ORACLE _home/lib export Ld_library_path=${ld_library_path}: $ORACLE _home/oracm/lib export Ld_ Library_path=${ld_library_path}:/lib:/usr/lib:/usr/local/lib Export Classpath=${classpath}: $ORACLE _home/jre Export Classpath=${classpath}: $ORACLE _home/jre/lib export Classpath=${classpath}: $ORACLE _home/jlib export CLASSPATH =${CLASSPATH}: $ORACLE _home/rdbms/jlib export Classpath=${classpath}: $ORACLE _home/network/jlib export libpath=${ CLASSPATH}: $ORACLE _home/lib: $ORACLE _home/ctx/lib export oracle_owner=oracle export spfile_path= $ORACLE _home/dbs Export ora_nls10= $ORACLE _home/nls/data make settings effective source/home/oracle/.bash_profile 13. Silent Configuration Network $ORACLE _ HOME/BIN/NETCA/SILENT/RESPONSEFILE/HOME/ORACLE/ETC/NETCA.RSP 14. Silent Installation Database Modify the response file that installs only the database/home/oracle/etc/ DBCA.RSP gdbname= "orcl.java-linux-test"//78 row Global database name =sid+ host domain name sid= "ORCL"//149 line SID characterset= "Al32utf8"// 415 Line Code nationalcharacterset= "UTF8"//425 line code for silent installation of database $ORACLE _home/bin/dbca-silent-responsefile/home/oracle/ ETC/DBCA.RSP case checking PS-EF | grep Ora_ | Grep-v grep | Wc-l Ps-ef | grep Ora_ | grep-v grep monitor LSNRCTL status if the following error occurred Lsnrctl:error while loading shared libraries:/u01/app/oracle/ Product/11.2.0/db_1/lib/libclntsh.so.11.1:cannot Restore segment prot after Reloc:permission denied WORKAROUND: Execute the following command under root user Su-root Setenforce 0 15. Modify the Oracle Boot profile su-oracle vi/etc/oratab RACL: /u01/app/oracle/product/11.2.0/db_1:y//change "N" to "Y" so you can start this instance via Dbstart, listener. Dbstart $ORACLE _home all ORACLE processes are off at this point and the listener stops. Dbshut $ORACLE _home to view the listener status again. LSNRCTL Status
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.