当前位置: 首页 > news >正文

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/

相关文章:

  • how_to_Secure_and_Audit_Oracle(1)
  • how_to_Secure_and_Audit_Oracle(2)
  • gentoo samba 配置
  • gentoo 32bit xmanager远程连接
  • solaris dhcp
  • scheduler管理
  • How can I Delete Duplicate Rows?
  • How can I Find Duplicated Rows in a Table?
  • Insert hangs 升级到11202后 在RAC环境用回还dblink
  • How to Bind RAW devices to Physical Partitions on Linux to be used by ASM
  • How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$
  • rman备份到带库的扫描时间可能会比备份到磁盘的扫描时间长的原因
  • RAC, Dataguard, Streams, Advanced Replication and Basic Replication
  • ETL产品大致
  • Restoring Or Duplicating Between Different Versions And Platforms
  • 《Javascript高级程序设计 (第三版)》第五章 引用类型
  • js中forEach回调同异步问题
  • Laravel 实践之路: 数据库迁移与数据填充
  • nginx 配置多 域名 + 多 https
  • python3 使用 asyncio 代替线程
  • 从tcpdump抓包看TCP/IP协议
  • 蓝海存储开关机注意事项总结
  • 漫谈开发设计中的一些“原则”及“设计哲学”
  • 每天一个设计模式之命令模式
  • 巧用 TypeScript (一)
  • 使用SAX解析XML
  • 消息队列系列二(IOT中消息队列的应用)
  • 最近的计划
  • C# - 为值类型重定义相等性
  • scrapy中间件源码分析及常用中间件大全
  • ​ubuntu下安装kvm虚拟机
  • ​VRRP 虚拟路由冗余协议(华为)
  • #我与Java虚拟机的故事#连载11: JVM学习之路
  • $Django python中使用redis, django中使用(封装了),redis开启事务(管道)
  • $redis-setphp_redis Set命令,php操作Redis Set函数介绍
  • (C语言)fread与fwrite详解
  • (delphi11最新学习资料) Object Pascal 学习笔记---第7章第3节(封装和窗体)
  • (pojstep1.1.1)poj 1298(直叙式模拟)
  • (二)pulsar安装在独立的docker中,python测试
  • (经验分享)作为一名普通本科计算机专业学生,我大学四年到底走了多少弯路
  • (九)信息融合方式简介
  • (排序详解之 堆排序)
  • (四)七种元启发算法(DBO、LO、SWO、COA、LSO、KOA、GRO)求解无人机路径规划MATLAB
  • (一)Mocha源码阅读: 项目结构及命令行启动
  • (转) 深度模型优化性能 调参
  • (转)nsfocus-绿盟科技笔试题目
  • (转)利用ant在Mac 下自动化打包签名Android程序
  • (转载)跟我一起学习VIM - The Life Changing Editor
  • ./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’: ./incl
  • .h头文件 .lib动态链接库文件 .dll 动态链接库
  • .NET 4.0中的泛型协变和反变
  • .NET 分布式技术比较
  • .NET 中什么样的类是可使用 await 异步等待的?
  • .NET/C# 编译期能确定的字符串会在字符串暂存池中不会被 GC 垃圾回收掉
  • .Net6支持的操作系统版本(.net8已来,你还在用.netframework4.5吗)