Su-root
#groupadd Oinstall
#useradd-G Oinstall Oracle
#passwd Oracle
#mkdir-P/u01/app/oracle
#chown-R oracle:oinstall/u01/app/oracle
$SU-
#rm-F/etc/orainst.loc
#touch Orainst.loc
Cat >> Orainst.loc << EOF
Inventory_loc=${oracle_base}/orainventory
Inst_group=oinstall
Eof
Su-oracle
VI. bash_profile
Export Oracle_base=/u01/app/oracle
Export Oracle_home=/u01/app/oracle/product/11.2/client
Export ld_library_path= $ORACLE _home/lib: $LD _library_path
Export path= $ORACLE _home/bin: $PATH
Export lc_all= "en_US"
Export lang= "en_US"
Export nls_lang= "American_america. ZHS16GBK "#SIMPLIFIED Chinese_china. Zhs16gbk
Export nls_date_format= "Yyyy-mm-dd HH24:MI:SS"
Unzip Linux.x64_11gR2_client.zip
CD Client/response
VI CLIENT_INSTALL.RSP
Oracle_hostname=hostname
Unix_group_name= ' Oinstall '
inventory_location= '/u01/app/inventory '
Oracle_base= '/u01/app/oracle '
Oracle_home= '/u01/app/oracle/product/11.2/client '
Oracle.install.client.installtype=custom
./runinstaller-silent-noconfig-ignoresysprereqs-responsefile/home/postgres/client/response/client_install.rsp
Attention:
1, the IP address is correctly configured in/etc/hosts.
2, inventory preferably located outside the oracle_base;
3, if the environment can not meet the minimum requirements, try to test the CRT and other tools do not directly log on to the Oracle user, but log on to other users, and then switch to Oracle users;
Silent Install Oracle 11.2.0.1 x86_64 for Linux