oracle10g solaris

 在solaris 10上面装过很多次的oracle10g了。末了发现,每次都是上网找一大堆的别人写的文档。浪费时间不说,还得几家互补的进行参考。这里记下这次安装的参数
1)添加用户组:
groupadd oinstall
groupadd dba
2)添加用户:
useradd –g oinstall –G dba –d /export/home/oracle –s /bin/csh –m oracle
{-g表示用户所属组、-G表示用户所属附加组、-d表示用户主目录、-s表示用户默认shell类型、oracle表示用户名,-m参数表示自动创建此用户的主目录,为避免麻烦,请勿手动创建此目录}
passwd oracle

#cat /etc/system|grep set 
* set:
* To set variables in 'unix':
* set nautopush=32
* set maxusers=40
* To set a variable named 'debug' in the module named 'test_module'
* set test_module:debug = 0x13
set noexec_user_stack=1
set semsys:seminfo_semmni=300
set semsys:seminfo_semmns=1050
set semsys:seminfo_semmsl=400
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=400000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=300
set shmsys:shminfo_shmseg=30
#vi /export/home/oracle/.profile
ORACLE_BASE=/data/home/oracle;export ORACLE_BASE
      ORACLE_HOME=$ORACLE_BASE/product/10.2;export ORACLE_HOME
      ORACLE_SID=orcl;export ORACLE_SID
      PATH=$PATH:$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin;export PATH
      LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH
PS:删上次的oracle时,直接rm -rf /,所以这次安装的时候报错,找不到原来位置.
bash-3.00$ ./runInstaller
You do not have sufficient permissions to access the inventory '/u01/app/oracle/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: No such file or directory
bash-3.00$
#find / -name oraInst.loc
#cat oraInst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall
直接删掉此文件

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-705100/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11780477/viewspace-705100/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值