电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

Oracle 10G Install on SuSE10

15页
  • 卖家[上传人]:luobi****88888
  • 文档编号:133229272
  • 上传时间:2020-05-25
  • 文档格式:DOC
  • 文档大小:33.50KB
  • / 15 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、Oracle 10G Install on SuSE10环境anticell-suse: # uname -aLinux anticell-suse 2.6.16.46-0.12-bigsmp #1 SMP Thu May 17 14:00:09 UTC 2007 i686 i686 i386 GNU/Linuxanticell-suse: # free -m total used free shared buffers cachedMem: 4048 1334 2714 056 1109-/+ buffers/cache: 167 3880Swap: 2055 0 2055* Shared 为0,后面会碰到问题。花了2个小时查这个问题。* swap 为2055,太小,OS检查无法通过,需要增加Oracle安装过程1、确认各种软件是否已安装C/C+ ToolSuSE 默认安装的gcc libaio2、创建DBA和OINSTALL用户组:groupadd g 202 dbagroupadd g 201 oinstall3创建oracle用户useradd -d /home/oracle

      2、g oinstall -G dba -m -p oracle -u 1001 -s /bin/bash oracle修改oracle 用户的密码passwd oracle修改安装软件以及数据库目录权限:新建/opt/oracle目录chown R oracle:dba /opt/oracle*其中默认NLS_LANG=AMERICAN,如果在中文OS下安装界面会产生乱码。建议在英文环境下安装。如果安装界面是乱码的话,到时可先export LC_CTYPE=en_US.UTF-8,再安装即可。4、设置oracle环境变量a、vi .profile最后加入以下export ORACLE_BASE=/opt/oracleexport ORACLE_HOME=$ORACLE_BASE/products/10.2.0/db_1export ORACLE_SID=test01export PATH=$PATH:$HOME/bin:$ORACLE_HOME/binexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/libb、编辑/etc/sysctl.conf文

      3、件:(修改核心参数,如果没有这个文件,自己vi一个)oraclelinux: more /etc/sysctl.conf# Disable response to broadcasts.# You dont want yourself becoming a Smurf .ipv4.icmp_echo_ignore_broadcasts = 1# enable route verification on all interfacesnet.ipv4.conf.all.rp_filter = 1# enable ipV6 forwarding#net.ipv6.conf.all.forwarding = 1#net.core.rmem_default = 262144net.core.rmem_max = 262144net.core.wmem_default = 262144net.core.wmem_max = 262144kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem =

      4、250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000最大共享内存段尺寸(字节):shmmax = xxxxx*1024*2(为内存的2倍,切换到字节。要是超过这个值,在运行dbca时会出现Ora -27123:Unable to attach to shared memeroy segment)-后来看到网上说官方文档建议是内存的1/2,Shmmni 最小共享内存 4096KB.Shmall 所有内存大小,但是我照内存的2倍也能成功安装oracle。#最小共享内存段尺寸(字节)Shmmni4个参数依次为SEMMSL(每个用户拥有信号量最大数);SEMMNS(系统信号量最大数);SEMOPM(每次semopm系统调用操作数);SEMMNI(系统辛苦量集数最大数).注解:可以用sysctl p来确认参数文件/etc/sysctl.conf中的内容,使用#/etc/init.d/boot.sysctl start命令使参数文件中设置的参数生效,在这里要注意的一点是在系统重新启动之后不能自动读

      5、取刚才创建的文件。 需要调整一下:#chkconfig boot.sysctl onc、编辑/etc/security/limits.conf文件, 设置oracle对文件的要求linux: # vi /etc/security/limits.conf# /etc/security/limits.conf#Each line describes a limit for a user in the form:# #Where:# can be:# - an user name# - a group name, with group syntax# - the wildcard *, for default entry# - the wildcard %, can be also used with %group syntax,# for maxlogin limit# can have the two values:# - soft for enforcing the soft limits# - hard for enforcing hard limits# can be one of

      6、 the following:# - core - limits the core file size (KB)# - data - max data size (KB)# - fsize - maximum filesize (KB)# - memlock - max locked-in-memory address space (KB)# - nofile - max number of open files# - rss - max resident set size (KB)# - stack - max stack size (KB)# - cpu - max CPU time (MIN)# - nproc - max number of processes# - as - address space limit# - maxlogins - max number of logins for this user# - priority - the priority to run user process with# - locks - max number of file l

      7、ocks the user can hold# #* soft core 0#* hard rss 10000#student hard nproc 20#faculty soft nproc 20#faculty hard nproc 50#ftp hard nproc 0#student - maxlogins 4# End of file#oracle soft nproc 2047#oracle hard nproc 16384#oracle soft nofile 1024#oracle hard nofile 65536#oracle hard nofile 65536 #oracle soft nofile 65536oracle hard nproc 16384oracle soft nproc 16384d、修改/etc/profile文件ulimit n 1024005、启动oracle的xwindows,需要将root注销,用oracle 用户登录启动xwindows:startx,不然无法启动oracle的xwindows,会提示说已经有用户启动xwindows

      8、。错误提示如下Fatal server error Server is already active for display 0 When you get an error like Fatal server error:Server is already active for display 0If this server is no longer running, remove /tmp/.X0-lock and start again.如果你不注销root可以通过尝试方式This is display number(0, default) and you cant run two display in same system with identical display number. If you want to check if any xserver is really running, invoke ps aux | grep cat /tmp/.X0-lock and this will yeild an output164:foo 7977 0.0 0.1 3928 760 pts/1 S+ 23:21 0:00 grep -i -colour -n 14847 foo is users name, the person running that startx session.To run your session, you have two option1) become superuser and kill the the corresponding PID2) or, in a better way, start a different X-session by invoking a command likestartx - :1to start a server with display 1(I will prefer this option).补充下:我是通过vnc安装的,如果是telnet过去的话,远程装的话,还需要xhost + 本机IP6、用oracle用户减压软件包unzip /tmp/oracle/10201_database_linux32.zip7、运行./runInstaller i

      《Oracle 10G Install on SuSE10》由会员luobi****88888分享,可在线阅读,更多相关《Oracle 10G Install on SuSE10》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.