修改:vi /etc/hosts
vi /etc/sysconfig/network
/ 本机 IP 地址 //长主机名 //短主机
192.168.2.30 user.com user
----------------------------------------------------------------------------------------------------------------------
修改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
使设置生效 :source /etc/profile
--------------------------------------------------------------------------------------------------------------------------
Checking Temp space: must be greater than 80 MB. Actual 9813 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-05-24_05-48-17AM. Please wait ...[oracle@user database]$ [WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
CAUSE: The Central Inventory is located in the Oracle base.
ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
[WARNING] [INS-13014] Target environment do not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2015-05-24_05-48-17AM/installActions2015-05-24_05-48-17AM.log
ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2015-05-24_05-48-17AM/installActions2015-05-24_05-48-17AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
[WARNING] [INS-32055] The Central Inventory is located in the Oracle base.
CAUSE: The Central Inventory is located in the Oracle base.
ACTION: Oracle recommends placing this Central Inventory in a location outside the Oracle base directory.
[WARNING] [INS-13014] Target environment do not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /tmp/OraInstall2015-05-24_05-48-17AM/installActions2015-05-24_05-48-17AM.log
ACTION: Identify the list of failed prerequisite checks from the log: /tmp/OraInstall2015-05-24_05-48-17AM/installActions2015-05-24_05-48-17AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
You can find the log of this install session at:
/u01/app/oracle/oraInventory/logs/installActions2015-05-24_05-48-17AM.log
The following configuration scripts need to be executed as the "root" user.
#!/bin/sh
#Root scripts to run
/u01/app/oracle/product/11.2.0/db_1/root.sh --------------这里提示要在ROOT用户下执行脚本就在root用户下执行:/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 "Enter" key to continue