[root@jyrac1 /]# uzip linux.x64_11gR2_database_1of2.zip [root@jyrac1 /]# uzip linux.x64_11gR2_database_2of2.zip
[root@jyrac1 /]# vi /etc/oraInst.loc nventory_loc=ORACLE_BASE/oraInventory inst_group= oinstall ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/oraInst.loc" [New] 2L, 59C written
[root@jyrac1 /]# cd /etc [root@jyrac1 etc]# chown oracle:oinstall oraInst.loc [root@jyrac1 etc]# chmod 664 oraInst.loc
[root@jyrac1 etc]# grep MemTotal /proc/meminfo MemTotal: 2059568 kB
[root@jyrac1 etc]# grep SwapTotal /proc/meminfo SwapTotal: 2096472 kB
[root@jyrac1 etc]# free total used free shared buffers cached Mem: 2059568 856296 1203272 0 59336 574832 -/+ buffers/cache: 222128 1837440 Swap: 2096472 120740 1975732
[root@jyrac1 etc]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 16246428 10361032 5046808 68% / /dev/sda2 2030768 1124784 801160 59% /tmp tmpfs 1029784 0 1029784 0% /dev/shm /dev/sdb 10321208 162284 9634636 2% /u01
[root@jyrac1 etc]# cat /etc/issue Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m
[root@jyrac1 etc]# uname -a Linux jyrac1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
kernel.shmall = 4294967296 kernel.shmmni=4096 kernel.sem=250 32000 100 128 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 = 1048576 fs.aio-max-nr= 3145728
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
session required pam_selinux.so open session optional pam_keyinit.so force revoke session required pam_limits.so
SELINUX=disabled
[root@lym Server]# groupadd oinstall [root@lym Server]# groupadd dba [root@lym Server]# groupadd oper [root@lym Server]# useradd -g oinstall -G dba oracle [root@lym Server]# passwd oracle Changing password for user oracle. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully.
[root@jyrac1 /]# mkdir -p /u01/app/oracle/11.2.0/db [root@jyrac1 /]# chown -R oracle.oinstall /u01 [root@jyrac1 /]# chmod 775 /u01
[oracle@jyrac1 ~]$ vi .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH TEMP=/u01/tmp TMPDIR=/u01/tmp export TEMP TMPDIR export LD_ASSUME_KERNEL=2.6.9 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/11.2.0/db export ORACLE_SID=jycs export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH export PATH=$PATH:$ORACLE_HOME/bin CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib export CLASSPATH
#以下参数不要更改 racle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 oracle.install.option=INSTALL_DB_SWONLY DECLINE_SECURITY_UPDATES=false #以下参数根据实际情况更改 UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/oraInventory SELECTED_LANGUAGES=en,zh_CN,zh_TW ORACLE_HOME=/u01/app/oracle/11.2.0/db ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.isCustomInstall=true oracle.install.db.customComponents=oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0 oracle.install.db.DBA_GROUP=dba oracle.install.db.OPER_GROUP=oinstall ~ ~ ~ ~ ~ "enterprisejy.rsp" [New] 15L, 679C written
oracle@jyrac1 database]$ ./runInstaller -silent -force -responseFile /home/oracle/enterprisejy.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 9408 MB Passed Checking swap space: must be greater than 150 MB. Actual 1929 MB Passed Preparing to launch Oracle Universal Installer from /u01/tmp/OraInstall2014-04-08_03-35-12PM. Please wait ...
|
|
来自: goodwangLib > 《Linux》