1 查看内存 cpu /tmp
cat /proc/meminfo
2 安装软件包
3 创建组oinstall dba 和用户oracle
useradd oracle -g oinstall -G dba
4 修改内核参数
/etc/sysctl.conf
/etc/security/limits.conf
/etc/pam.d/login
5 创建目录
/u01/app/oracle/product/10.1.0/Db_1
属主oracle:oinstall 权限:775
6 配置用户环境
su - root
/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
su - oracle
.bash_profile
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/Db_1; export ORACLE_HOME
ORACLE_SID=orcl;export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATH
7 挂载安装盘,安装
./runinstaller
运行脚本
/u01/app/oracle/orainventory/orainstRoot.sh
/u01/app/oracle/product/10.1.0/Db_1/root.sh
cat /proc/meminfo
2 安装软件包
3 创建组oinstall dba 和用户oracle
useradd oracle -g oinstall -G dba
4 修改内核参数
/etc/sysctl.conf
/etc/security/limits.conf
/etc/pam.d/login
5 创建目录
/u01/app/oracle/product/10.1.0/Db_1
属主oracle:oinstall 权限:775
6 配置用户环境
su - root
/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
su - oracle
.bash_profile
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/Db_1; export ORACLE_HOME
ORACLE_SID=orcl;export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATH
7 挂载安装盘,安装
./runinstaller
运行脚本
/u01/app/oracle/orainventory/orainstRoot.sh
/u01/app/oracle/product/10.1.0/Db_1/root.sh
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22253646/viewspace-666977/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22253646/viewspace-666977/