ImageVerifierCode 换一换
格式:DOCX , 页数:17 ,大小:467.50KB ,
资源ID:8379396      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/8379396.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(install Oracle 11G on Oracle Enterprise Linux 7 OEL7.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

install Oracle 11G on Oracle Enterprise Linux 7 OEL7.docx

1、install Oracle 11G on Oracle Enterprise Linux 7 OEL7This article presents how to install Oracle 11G on Oracle Enterprise Linux 7 (OEL7).Read following article how to install Oracle Enterprise Linux 7:Install Oracle Linux 7 (OEL7)(for comfort set 2G memory for your virtual machine before proceeding w

2、ith Oracle software installation).Installation software is available on OTN version 11.2.0.1 or metalink 11.2.0.4. In this installation Im presenting installation for 11.2.0.4 but for previous version 11.2.0.X it shouldnt be different.Oracle software which I verifiedrelease 11.2.0.4p13390677_112040_

3、Linux-x86-64_1of7.zip p13390677_112040_Linux-x86-64_2of7.zipOS configuration and preparationOS configuration is executed as root. To login as root just execute following command in terminal.su - rootAdd groups-required groups/usr/sbin/groupadd -g 501 oinstall/usr/sbin/groupadd -g 502 dba/usr/sbin/gr

4、oupadd -g 503 operAdd user Oracle/usr/sbin/useradd -u 502 -g oinstall -G dba,oper oracleChange password for userpasswd oracleAdd kernel parameters to /etc/sysctl.confkernel.shmmni = 4096 kernel.shmmax = 4398046511104kernel.shmall = 1073741824kernel.sem = 250 32000 100 128fs.aio-max-nr = 1048576fs.fi

5、le-max = 6815744net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586Apply kernel parameters/sbin/sysctl -pAdd following lines to set shell limits for user oracle in file /etc/security/limits.confor

6、acle soft nproc 131072oracle hard nproc 131072oracle soft nofile 131072oracle hard nofile 131072oracle soft core unlimitedoracle hard core unlimitedoracle soft memlock 50000000oracle hard memlock 50000000The “/etc/hosts” file must contain a fully qualified name for the server. For example.127.0.0.1

7、oel7 localhost localhost.localdomainModify .bash_profile for user oracle in his home directory# Oracle Settingsexport TMP=/tmpexport ORACLE_HOSTNAME=export ORACLE_UNQNAME=ORA11Gexport ORACLE_BASE=/ora01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1export ORACLE_SID=ORA11GPATH=/usr/sb

8、in:$PATH:$ORACLE_HOME/binexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;alias cdob=cd $ORACLE_BASEalias cdoh=cd $ORACLE_HOMEalias tns=cd $ORACLE_HOME/network/adminalias envo=env | grep ORACLEumask 022Check which packages are installed

9、 and which are missingrpm -q -qf %NAME-%VERSION-%RELEASE(%ARCH)n binutils elfutils-libelf elfutils-libelf-devel gcc gcc-c+ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc+ libstdc+-devel make sysstat unixODBC unixODBC-develIn my case it returns followingbinutils-2

10、.23.52.0.1-12.el7(x86_64)elfutils-libelf-0.157-2.el7(x86_64)package elfutils-libelf-devel is not installedgcc-4.8.2-3.el7(x86_64)gcc-c+-4.8.2-3.el7(x86_64)glibc-2.17-36.el7(x86_64)glibc-common-2.17-36.el7(x86_64)glibc-devel-2.17-36.el7(x86_64)glibc-headers-2.17-36.el7(x86_64)package ksh is not insta

11、lledlibaio-0.3.109-9.el7(x86_64)package libaio-devel is not installedlibgcc-4.8.2-3.el7(x86_64)libstdc+-4.8.2-3.el7(x86_64)libstdc+-devel-4.8.2-3.el7(x86_64)make-3.82-19.el7(x86_64)sysstat-10.1.5-1.el7(x86_64)package unixODBC is not installedpackage unixODBC-devel is not installedThere are two optio

12、ns to install missing packages You need to install missing from dvd. Just mount it and install missing packages using rpm -Uvh command from directory /Packages.NOTE Im using x86_64 version of packagesrpm -Uvh elfutils-libelf-devel*.x86_64.rpmrpm -Uvh libaio-devel*.x86_64.rpmrpm -Uvh unixODBC*.x86_64

13、.rpmrpm -Uvh ksh*.x86_64.rpm Run yum install command for missing packages-example howto install many packagesyum install elfutils-libelf-devel ksh libaio-devel unixODBC*Create directory structure for database software ORACLE_BASE /ora01/app/oracle ORACLE_HOME /ora01/app/oracle/product/11.2.0/db_1mkd

14、ir -p /ora01/app/oracle/product/11.2.0/db_1chown oracle:oinstall -R /ora01Disable secure linux by editing the “/etc/selinux/config” file, making sure the SELINUX flag is set as follows. It requires REBOOT to be effective !SELINUX=permissiveIn Oracle Enterprise Linux 7 /tmp data is stored on tmpfs wh

15、ich consumes memory and is too small. To revert it back to storage just run following command and REBOOT machine to be effective.systemctl mask tmp.mountInstall database softwareLets start with database software installation as oracle user.su - oracle-unzip software 11.2.0.4unzip p13390677_112040_Li

16、nux-x86-64_1of7.zipunzip p13390677_112040_Linux-x86-64_2of7.zip-I defined 4 aliases in .bash_profile of user oracle to make -administration heaven :)oracleoel7 $ alias envo cdob cdoh tnsalias envo=env | grep ORACLEalias cdob=cd $ORACLE_BASEalias cdoh=cd $ORACLE_HOMEalias tns=cd $ORACLE_HOME/network/

17、admin-run alias command envo to display environment settingsenvoORACLE_UNQNAME=ORA11GORACLE_SID=ORA11GORACLE_BASE=/ora01/app/oracleORACLE_HOSTNAME=ORACLE_HOME=/ora01/app/oracle/product/11.2.0/db_1-run alias command cdob and cdoh to check ORACLE_BASE, ORACLE_HOME oracleoel7 $ cdoboracleoel7 oracle$ p

18、wd/ora01/app/oracleoracleoel7 db_1$ cdohoracleoel7 db_1$ pwd/ora01/app/oracle/product/11.2.0/db_1-run installation./runInstall1. Uncheck checkbox “I wish to receive security updates via My Oracle Support” and then click “Next” button.2. Ignore following message and click “Yes” button.3. Select “Skip

19、 software updates” and click “Next” button.4. Select “Create and configure a database” then click “Next” button.5. Select “Server Class” then click “Next” button.6. Select “Single instance database installation” and click “Next” button.7. Select “Typical Install” and click “Next” button.8. Enter dat

20、abase name, administration password for user and click “Next” button.9. Just click “Next” button.10. Check checkbox “Ignore All” to ignore this error. Then click “Next” button.11. Just click “Yes” button to continue with installation.12. Summary screen just before installation. Click “Install” butto

21、n.13. Boring installation 14. I received following error during linking binariesTo fix this error edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line $(MK_EMAGENT_NMECTL)and replace the line with$(MK_EMAGENT_NMECTL) -lnnz11then click “Retry” button15. Database Configuration will start a

22、nd create database for you.16. You should see summary screen for your new database. Click “OK” button to continue with installation.17. In the “middle” of installation you will be asked to run 2 scripts as user root. when scripts are executed just click “OK” button. Installation will proceed.-execute scripts/ora01/app/oraInventory/orainstRoot.sh/ora01/app/oracle/product/11.2.0/db_1/root.sh18. Installation completed. Just click “Close” button.Post installation stepsEdit the “/etc/oratab” file to set restart flag for ORA11G to Y.ORA11G:/u01/app/oracle/product/11.2.0/db_1:YHave a fun

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1