- 浏览: 1119819 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (1055)
- quartz定时任务 (1)
- json (9)
- 接口 (1)
- http (1)
- sccket (2)
- xmlbean (1)
- webservice (1)
- flex (1)
- sitemesh (2)
- json组装 (2)
- 存储过程 (6)
- ajax后台返回前台上下问 (3)
- flect反射机制 (1)
- 页面列表 (1)
- oracal结果集合并 (1)
- lucene (1)
- 读取配置文件工具 (1)
- 框架整合 (1)
- jms (3)
- 断点续传 (1)
- 页面之间的传值 (1)
- jpa (6)
- sql (8)
- jsp跳转 (1)
- jsp (6)
- jquery (2)
- ui (1)
- js与jsp之间的值的交互应用 (1)
- js空值判断 (1)
- Ajax (9)
- web-inf 编译目录 (1)
- 多线程 (9)
- 资料 (0)
- oracal (4)
- 多线程webservice (1)
- ztree (1)
- 加载与内容的变化 (1)
- 页面的公用变量 (1)
- web-inf目录结构 (1)
- 登陆系列 (1)
- jass应用于webservice认证 (2)
- 路径问题 (1)
- list合并 (1)
- list map中的value获取 (2)
- 标签tag (4)
- 方法 (1)
- 树形数据及其渲染 (1)
- require js 回调 (1)
- tab 页面切换 (2)
- 计时获取验证码 (1)
- 模式 (6)
- easyui (3)
- dialog (2)
- 乱码问题 (1)
- spring (29)
- sqlserver (1)
- iis,netframework (0)
- iis (1)
- netframework (1)
- 处理乱码问题 (1)
- struts-ajax (0)
- ,理论,了;,; (0)
- 排错方法 (1)
- hibernate (1)
- 二级缓存 (1)
- portal (1)
- date类型 (0)
- jvm out of memery StackOverflowError (1)
- echart数据填充 (0)
- echart (1)
- jmv (1)
- 学习 (0)
- java基础 (1)
- oracle性能优化 (1)
- 数据库三范式 (1)
- easy UI (1)
- oracle11g (1)
- form (3)
- servlet (2)
- spring mvc (1)
- htm5 (0)
- ibatise (1)
- 序列化 (1)
- tomcat双认证 (1)
- maven Lib (1)
- tomcat eclipse (2)
- ehcache (1)
- http 代替 ajax (2)
- rest (6)
- script脚本占位模板 (1)
- strust 标签 el表达式 (1)
- js bo (1)
- 公司资料 (0)
- js return (1)
- spring 第三方插件的工具类 (1)
- linux (10)
- linux 克隆 (1)
- linux xshell连接 (1)
- yum expect (1)
- linux 应用命令 (1)
- yum 缓存rmp包 (1)
- yum 本地库离线安装 (2)
- yum错误 (1)
- jsp页面用定时调用 (1)
- ajax setup (2)
- Exception,RuntimeException (1)
- 对话框 dialog (1)
- maven (17)
- PropertyPlaceholderConfigurer properties文件 (1)
- 错误集 (1)
- mybatise (0)
- 拦截器filter (1)
- http get post 区别 (1)
- rest 客户端两种返回的数据处理方式 (1)
- listener (2)
- maven工程 (1)
- ContainerResponseFilter (1)
- ajax action 打印任意实体类jsp (1)
- yum svn mvn (1)
- 分页 (1)
- angularjs (1)
- memcached (1)
- git (12)
- yyyyyyyy (0)
- oracal安装 (4)
- jaxwswebservice (1)
- spring bean (1)
- 排方法 (0)
- java 生成pdf (2)
- 创建目录 (1)
- 下载与生产pdf文件 (1)
- base64 (2)
- 配置文件 (2)
- blob (1)
- pdf (1)
- yum linux 安装Oracle (1)
- excl 插入数据库 (1)
- 搭建框架 (1)
- .classpath和jdk jre (1)
- mybatise 配置文件通配 (1)
- 用Maven插件生成Mybatis代码 (2)
- springmvc值的传递 (1)
- js jsp html (1)
- ajax跨域 (1)
- javamail (0)
- 提交复杂格式json数据 (1)
- get中文乱码/post (1)
- 弹出框,承载弹出链接----页面,显示大图 (1)
- @RequestBody list bean (1)
- 隐藏域 (1)
- 多页保存 (1)
- form 校验 (1)
- 注册,上传图片 (1)
- 登录验证 (1)
- 全局的异常处理 (0)
- 异常捕获,显示在页面 (0)
- mybatise事物配置 (1)
- maven compile (1)
- 时间格式 (1)
- js 跳转页面 (1)
- pringsecurity 角色授资源要重启服务 (0)
- Retrofi restfull (1)
- session过期推出,直接点击退出,退出 (0)
- 参数放于requestbody (1)
- maven本地仓库jar包 (1)
- 编译环境出错jdk1.6 1,7 (1)
- jsonarray ---json数组格式 (1)
- java后台文件上传,接受的2种方式 (0)
- 生成保存图片 (1)
- 权限mysql数据库Md5加密sql (1)
- mysql一对多关联查询 (1)
- mysql批量更新 (0)
- oracle in exists 区别 (1)
- https (1)
- linux发布脚本 (1)
- dubbo zookeepr (1)
- request.getParameter() (1)
- request.setAttribute() (1)
- @RequestMapping @ResponseBody (1)
- @RequestMapping @responsebody src控件 后台如何写入src值 (1)
- dwz (8)
- lib jar maven (1)
- web服务访问名称 (1)
- mvc返回内容设置,拦截 (1)
- @ResponseBody 返回json处理 (1)
- 视图,函数,存储过程 (1)
- <context:annotation-config/> (1)
- <context:component-scan/> (1)
- xml路劲通配 (2)
- 杂项 (1)
- dubbo (34)
- redis (25)
- mybatis (34)
- springmvc (15)
- js (7)
- sprinvmvc (1)
- 设计理念 (1)
- 工程 (1)
- 其他 (149)
- 导出,下载 (1)
- session (4)
- token (1)
- Exception处理 (2)
- 注解 (2)
- 框架 (3)
- shrio (1)
- login (1)
- 项目结构设计 (1)
- mybatis两种关联查询 (1)
- mybaits (2)
- 迭代模式 (1)
- oralce树形数据结构构建 (2)
- 树形结构的jsp展现 (1)
- filter intecept(Struts) (1)
- 树形结构数据的提交 (1)
- @RequestBody @RequestParam (1)
- div (1)
- equals重写 (1)
- 程序设计 (1)
- f多层for循环跳出 (1)
- 看源码 (0)
- 权限系统普遍通性 (1)
- 设计程序 (1)
- 动态拼接元素样式问题 (1)
- sql迭代 (1)
- debug断点 (1)
- spring mvc 扫描注解(ioc (1)
- di) (1)
- jdk (2)
- cglib (1)
- mybatis 多层括号(超过三层)解析不了 (1)
- tiles (2)
- cacheManager缓存的切换 (1)
- jsp,xml中el表达式等占位符中的数据操作 (1)
- jpa 及spring data jpa开发 (1)
- compareTo equals toString (1)
- 子页面用父页面js (1)
- jsp相对路径自加问题 (1)
- bean之间的相互拷贝 (1)
- DECODE (2)
- 泛型 (2)
- NVL (1)
- jsp jstl函数 用标签声明页面变量,供jstl使用,时间格式问题 (1)
- form表单切换action值 (1)
- response.getWriter().write()功能优于springMvc的返回 (1)
- 快速复制构建项目 (1)
- activeMq (15)
- cache (2)
- sql获取序列号 (1)
- 上传 (2)
- tfs (1)
- jsp标签 (2)
- qita (1)
- 触发器 (1)
- Exception (1)
- mybais (1)
- 标签 (1)
- connect by (1)
- for ... in (1)
- map转化为list (1)
- 树形结构list构建(树形实体) (1)
- 左侧菜单的设计 (1)
- response.getWriter().write() (1)
- eclipse打断点之后断无效 (1)
- 直接访问/web-inf/下的页面 (1)
- clob (1)
- freemark (1)
- 框架的设计 (1)
- get方式处理乱码 (1)
- Request的getParameter和getAttribute方法的区别 (1)
- cas (9)
- 时间格式问题 (1)
- ResponseUtil.writeToResponse (1)
- 树形数据的反选 (1)
- spring data jpa (1)
- jsp异常提示 (1)
- jquery js (1)
- eclipse (1)
- 乱码 (1)
- Json OBJETC (1)
- PROCEDURE (1)
- pl/sql oracle (1)
- 设计 (1)
- el表达式 (3)
- iframe (1)
- map (1)
- jsp中调用Java (1)
- response.getWriter().write() ajax (1)
- mybatis xml 传入参数 (0)
- response与request在返回时作用区别 (1)
- spring cache (1)
- 模型驱动 (1)
- 关于mybatis传空值的处理 (1)
- 日志配置 (1)
- mapper (1)
- mapper mybatis (1)
- mapper mybatis-spring spring-data-jpa (1)
- js插件 (1)
- spring-data-jpa (2)
- 字节流转化过程 (1)
- 数据库 (11)
- jsp页面 (1)
- 局域网络访问问题 (1)
- plsql (2)
- response (1)
- plsq (1)
- Proxool (1)
- cas security (1)
- 系统配置化 (1)
- 集群 (4)
- springboot (24)
- 设计模式 (5)
- 通知 (1)
- 架构 (48)
- zookeeper (5)
- mvc框架 (1)
- 事物隔离策略 (1)
- jvm (8)
- 调研 (1)
- Java工具类 (1)
- 并发容器 (3)
- 多线程管理器 (4)
- 简历 (0)
- 查询 (1)
- 集群工具 (1)
- springMcv (1)
- ConcurrentHashMap (1)
- hashtable (1)
- cac (1)
- 树形结构 (1)
- 定时任务 (1)
- tortoiseGit (2)
- struts (11)
- shiro (31)
- log4j (3)
- struts2 (2)
- 编码 (1)
- request (3)
- Nginx (14)
- tomcat (1)
- idea (12)
- mvc (2)
- BeanUtils (2)
- image (1)
- mino (1)
- httpClient (1)
- volecity (1)
- swagger (3)
- 调错 (0)
- data (1)
- log (1)
- shell (1)
- 事物 (3)
- junit (1)
- RestTemplate (2)
- 线程 (0)
- Exception异常处理 (1)
- Exception异常注解 (1)
- lock (1)
- HashMap (1)
- 面试 (0)
- rabbitMq (1)
- rainCat (1)
- 其它 (1)
- activemq消息传送机制以及ACK机制详解 (0)
- mysql (7)
- fildder (1)
- UML (1)
- 校验 (1)
- 反射 (1)
- 切面 (1)
- springioc (1)
- urule2 (0)
- skywalking (1)
- urule (2)
- docker (2)
- 前端 (1)
- bootstrap (1)
- eureka (2)
- springcloud (16)
- jenkins (2)
- springsecurity (1)
- 数据结构 (4)
- gradle (1)
- mycat (3)
- nacos (1)
- canary (1)
- 线程池 (1)
- solr (1)
- resteasy (2)
- BI (1)
- dfs (2)
- elasticsearch (1)
- ruby (1)
- logstash (1)
- clickhouse (2)
- davinci (15)
- java (1)
- davinvi (1)
- fastdfs (1)
- vue (1)
- 《将博客搬至CSDN》 (1)
最新评论
-
nizhipeng123:
private SessionFactory sessio ...
用map接收参数的几个注意的问题
//yum安装
http://www.linuxidc.com/Linux/2014-09/106127.htm
//找不到key
http://blog.chinaunix.net/uid-29391625-id-4994108.html
见下文
改用户密码 password oracle 111111
===================================================================
基于Linux安装过Oracle的童鞋们都应该清楚,安装Oracle的确是一件比较费时费力的差事,因为仅仅是前期的rpm包,内核参数,创建用户等等这些个步骤都让那些新手不免眼花缭乱,一不留神,就导致最终的安装过程中报错而不得不从头来过。现在基于Oracle Linux,Oracle仅仅需要通过安装oracle-rdbms-server-11gR2-preinstall RPM包即可全部搞定其余未安装的RPM包,解决之间的依赖关系,配置内核参数等等。客官,正在基于Oracle Linux 安装Oralce 11g?那就接着往下看。
1、oracle-rdbms-server-11gR2-preinstall RPM 软件包的功能
a、 Automatically downloading and installing any additional software packages and specific package versions needed for installing Oracle Grid Infrastructure and Oracle Database 12 c Release 1 (12.1) or 11g Release 2 (11.2.0.3), with package dependencies resolved via yum or up2date capabilities.
b、Creating the user oracle and the groups oinstall (for OraInventory) and dba (for OSDBA), which are used during database installation. (For security purposes, this user has no password by default and cannot log in remotely. To enable remote login, please set a password using the passwd tool.)
c、Modifying kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on.
d、Setting hard and soft shell resource limits in /etc/security/limits.conf, such as the locked-in memory address space, the number of open files, the number of processes, and core file size.
e、Setting numa=off in the kernel for x86_64 machines.
2、操作步骤
a、确保网络畅通,即可连接到Internet。
b、已经安装了yum包管理工具。
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校验内核修改日志及原文件备份情况
-- Author: Leshami
-- Blog : http://wwww.linuxidc.com
3、实战演习
a、检查网络环境,确保网络畅通
[root@oel63 ~]# cat /etc/issue
Oracle Linux Server release 6.3
Kernel \r on an \m
[root@oel63 ~]# ping www.baidu.com
PING www.a.shifen.com (115.239.211.110) 56(84) bytes of data.
64 bytes from 115.239.211.110: icmp_seq=1 ttl=54 time=39.2 ms
64 bytes from 115.239.211.110: icmp_seq=2 ttl=54 time=42.2 ms
b、检查yum是否已安装
[root@oel63 ~]# rpm -qa | grep yum
yum-utils-1.1.30-14.el6.noarch
PackageKit-yum-plugin-0.5.8-20.0.1.el6.x86_64
yum-rhn-plugin-0.9.1-40.0.1.el6.noarch
yum-plugin-security-1.1.30-14.el6.noarch
yum-3.2.29-30.0.1.el6.noarch
PackageKit-yum-0.5.8-20.0.1.el6.x86_64
yum-metadata-parser-1.1.2-16.el6.x86_64
c、切换到目录 /etc/yum.repos.d/
[root@oel63 ~]# cd /etc/yum.repos.d/
d、获取配置文件并进行相应修改
[root@oel63 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
--2014-05-16 14:41:51-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>] 4,233 --.-K/s in 0.001s
2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
total 8.0K
-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
#本环境为Oracle Linux 6.3,因此修改了以下2个部分。即将需要安装的部分的enabled的值置为1
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包
[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
Loaded plugins: refresh-packagekit, security
ol6_UEK_base | 1.2 kB 00:00
ol6_UEK_base/primary | 1.0 MB 00:01
ol6_UEK_base 36/36
ol6_UEK_latest | 1.2 kB 00:00
ol6_latest | 1.4 kB 00:00
ol6_u3_base | 1.4 kB 00:00
ol6_u3_base/primary | 2.7 MB 00:11
ol6_u3_base 8452/8452
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-9.el6 will be installed
--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.7-4.el6 for package: gcc-c++-4.4.7-4.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.132.el6_5.1 will be installed
--> Processing Dependency: glibc = 2.12-1.132.el6_5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.132.el6_5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
---> Package ksh.x86_64 0:20120801-10.el6_5.4 will be installed
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package glibc.x86_64 0:2.12-1.80.el6 will be updated
--> Processing Dependency: glibc = 2.12-1.80.el6 for package: glibc-common-2.12-1.80.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.132.el6_5.1 will be an update
---> Package glibc-headers.x86_64 0:2.12-1.132.el6_5.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
---> Package libgcc.x86_64 0:4.4.6-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be an update
---> Package libgomp.x86_64 0:4.4.6-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be an update
---> Package libstdc++.x86_64 0:4.4.6-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be an update
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.80.el6 will be updated
---> Package glibc-common.x86_64 0:2.12-1.132.el6_5.1 will be an update
---> Package kernel-uek-headers.x86_64 0:2.6.32-400.34.5.el6uek will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Installing:
oracle-rdbms-server-11gR2-preinstall x86_64 1.0-9.el6 ol6_latest 17 k
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 ol6_latest 93 k
compat-libcap1 x86_64 1.10-1 ol6_latest 17 k
compat-libstdc++-33 x86_64 3.2.3-69.el6 ol6_latest 183 k
cpp x86_64 4.4.7-4.el6 ol6_latest 3.7 M
gcc x86_64 4.4.7-4.el6 ol6_latest 10 M
gcc-c++ x86_64 4.4.7-4.el6 ol6_latest 4.7 M
glibc-devel x86_64 2.12-1.132.el6_5.1 ol6_latest 977 k
glibc-headers x86_64 2.12-1.132.el6_5.1 ol6_latest 608 k
kernel-uek-headers x86_64 2.6.32-400.34.5.el6uek ol6_latest 737 k
ksh x86_64 20120801-10.el6_5.4 ol6_latest 756 k
libaio-devel x86_64 0.3.107-10.el6 ol6_latest 13 k
libstdc++-devel x86_64 4.4.7-4.el6 ol6_latest 1.6 M
mpfr x86_64 2.4.1-6.el6 ol6_latest 156 k
ppl x86_64 0.10.2-11.el6 ol6_latest 1.3 M
Updating for dependencies:
glibc x86_64 2.12-1.132.el6_5.1 ol6_latest 3.8 M
glibc-common x86_64 2.12-1.132.el6_5.1 ol6_latest 14 M
libgcc x86_64 4.4.7-4.el6 ol6_latest 100 k
libgomp x86_64 4.4.7-4.el6 ol6_latest 118 k
libstdc++ x86_64 4.4.7-4.el6 ol6_latest 292 k
Transaction Summary
=================================================================================================
Install 15 Package(s)
Upgrade 5 Package(s)
Total download size: 43 M
Is this ok [y/N]: y
Downloading Packages:
(1/20): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
(2/20): compat-libcap1-1.10-1.x86_64.rpm | 17 kB 00:00
(3/20): compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm | 183 kB 00:00
(4/20): cpp-4.4.7-4.el6.x86_64.rpm | 3.7 MB 00:08
(5/20): gcc-4.4.7-4.el6.x86_64.rpm | 10 MB 00:26
(6/20): gcc-c++-4.4.7-4.el6.x86_64.rpm | 4.7 MB 00:19
(7/20): glibc-2.12-1.132.el6_5.1.x86_64.rpm | 3.8 MB 00:08
(8/20): glibc-common-2.12-1.132.el6_5.1.x86_64.rpm | 14 MB 00:32
(9/20): glibc-devel-2.12-1.132.el6_5.1.x86_64.rpm | 977 kB 00:01
(10/20): glibc-headers-2.12-1.132.el6_5.1.x86_64.rpm | 608 kB 00:00
(11/20): kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64.rpm | 737 kB 00:01
(12/20): ksh-20120801-10.el6_5.4.x86_64.rpm | 756 kB 00:01
(13/20): libaio-devel-0.3.107-10.el6.x86_64.rpm | 13 kB 00:00
(14/20): libgcc-4.4.7-4.el6.x86_64.rpm | 100 kB 00:00
(15/20): libgomp-4.4.7-4.el6.x86_64.rpm | 118 kB 00:00
(16/20): libstdc++-4.4.7-4.el6.x86_64.rpm | 292 kB 00:00
(17/20): libstdc++-devel-4.4.7-4.el6.x86_64.rpm | 1.6 MB 00:03
(18/20): mpfr-2.4.1-6.el6.x86_64.rpm | 156 kB 00:00
(19/20): oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64.rpm | 17 kB 00:00
(20/20): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:02
------------------------------------------------------------------------------------------------------------
Total 396 kB/s | 43 MB 01:51
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid : Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
Package: 6:oraclelinux-release-6Server-3.0.2.x86_64 (@anaconda-OracleLinuxServer-201206261930.x86_64/6.3)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc-4.4.7-4.el6.x86_64 1/25
Updating : glibc-2.12-1.132.el6_5.1.x86_64 2/25
Updating : glibc-common-2.12-1.132.el6_5.1.x86_64 3/25
Updating : libstdc++-4.4.7-4.el6.x86_64 4/25
Installing : libstdc++-devel-4.4.7-4.el6.x86_64 5/25
Installing : mpfr-2.4.1-6.el6.x86_64 6/25
Installing : cpp-4.4.7-4.el6.x86_64 7/25
Installing : ppl-0.10.2-11.el6.x86_64 8/25
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 9/25
Installing : compat-libcap1-1.10-1.x86_64 10/25
Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64 11/25
Installing : ksh-20120801-10.el6_5.4.x86_64 12/25
Updating : libgomp-4.4.7-4.el6.x86_64 13/25
Installing : kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64 14/25
Installing : glibc-headers-2.12-1.132.el6_5.1.x86_64 15/25
Installing : glibc-devel-2.12-1.132.el6_5.1.x86_64 16/25
Installing : gcc-4.4.7-4.el6.x86_64 17/25
Installing : gcc-c++-4.4.7-4.el6.x86_64 18/25
Installing : libaio-devel-0.3.107-10.el6.x86_64 19/25
Installing : oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64 20/25
Cleanup : libstdc++-4.4.6-4.el6.x86_64 21/25
Cleanup : libgomp-4.4.6-4.el6.x86_64 22/25
Cleanup : glibc-common-2.12-1.80.el6.x86_64 23/25
Cleanup : glibc-2.12-1.80.el6.x86_64 24/25
Cleanup : libgcc-4.4.6-4.el6.x86_64 25/25
Verifying : glibc-headers-2.12-1.132.el6_5.1.x86_64 1/25
Verifying : libaio-devel-0.3.107-10.el6.x86_64 2/25
Verifying : gcc-4.4.7-4.el6.x86_64 3/25
Verifying : libstdc++-4.4.7-4.el6.x86_64 4/25
Verifying : compat-libcap1-1.10-1.x86_64 5/25
Verifying : libstdc++-devel-4.4.7-4.el6.x86_64 6/25
Verifying : cpp-4.4.7-4.el6.x86_64 7/25
Verifying : kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64 8/25
Verifying : compat-libstdc++-33-3.2.3-69.el6.x86_64 9/25
Verifying : mpfr-2.4.1-6.el6.x86_64 10/25
Verifying : glibc-common-2.12-1.132.el6_5.1.x86_64 11/25
Verifying : gcc-c++-4.4.7-4.el6.x86_64 12/25
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 13/25
Verifying : ksh-20120801-10.el6_5.4.x86_64 14/25
Verifying : libgomp-4.4.7-4.el6.x86_64 15/25
Verifying : oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64 16/25
Verifying : glibc-devel-2.12-1.132.el6_5.1.x86_64 17/25
Verifying : ppl-0.10.2-11.el6.x86_64 18/25
Verifying : glibc-2.12-1.132.el6_5.1.x86_64 19/25
Verifying : libgcc-4.4.7-4.el6.x86_64 20/25
Verifying : libstdc++-4.4.6-4.el6.x86_64 21/25
Verifying : glibc-common-2.12-1.80.el6.x86_64 22/25
Verifying : glibc-2.12-1.80.el6.x86_64 23/25
Verifying : libgomp-4.4.6-4.el6.x86_64 24/25
Verifying : libgcc-4.4.6-4.el6.x86_64 25/25
Installed:
oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-9.el6
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 compat-libcap1.x86_64 0:1.10-1
gcc.x86_64 0:4.4.7-4.el6 gcc-c++.x86_64 0:4.4.7-4.el6
kernel-uek-headers.x86_64 0:2.6.32-400.34.5.el6uek ksh.x86_64 0:20120801-10.el6_5.4
mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6
compat-libstdc++-33.x86_64 0:3.2.3-69.el6 cpp.x86_64 0:4.4.7-4.el6
glibc-devel.x86_64 0:2.12-1.132.el6_5.1 glibc-headers.x86_64 0:2.12-1.132.el6_5.1
libaio-devel.x86_64 0:0.3.107-10.el6 libstdc++-devel.x86_64 0:4.4.7-4.el6
Dependency Updated:
glibc.x86_64 0:2.12-1.132.el6_5.1 glibc-common.x86_64 0:2.12-1.132.el6_5.1 libgcc.x86_64 0:4.4.7-4.el6
libgomp.x86_64 0:4.4.7-4.el6 libstdc++.x86_64 0:4.4.7-4.el6
Complete!
f、校验结果
[root@oel63 ~]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/results/
[root@oel63 results]# ls
orakernel.log
[root@oel63 results]# more orakernel.log
Adding group oinstall with gid 54321
Adding group dba
Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle
Changing ownership of /home/oracle to oracle:oinstall
Please set password for oracle user
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
Creating oracle user passed
Verifying kernel parameters as per Oracle recommendations...
Adding fs.file-max = 6815744
Adding kernel.sem = 250 32000 100 128
Adding kernel.shmmni = 4096
kernel.shmall is higher than preinstall config.
kernel.shmall = 4294967296
kernel.shmmax = 4398046511104
Changing kernel.shmmax to match preinstall config
Adding net.core.rmem_default = 262144
Adding net.core.rmem_max = 4194304
Adding net.core.wmem_default = 262144
Adding net.core.wmem_max = 1048576
Adding fs.aio-max-nr = 1048576
Adding net.ipv4.ip_local_port_range = 9000 65500
Setting kernel parameters as per oracle recommendations...
Altered file /etc/sysctl.conf
Original file backed up at /etc/sysctl.conf.orabackup
Verifying & setting of kernel parameters passed
Setting user limits using /etc/security/limits.conf
Verifying oracle user OS limits as per Oracle recommendations...
Adding oracle soft nofile 1024
Adding oracle hard nofile 65536
.............
Setting kernel boot parameters as per Oracle recommendations...
Boot parameters will be effected on next reboot
Altered file /boot/grub/grub.conf
Original file backed up at /boot/grub/grub.conf.orabackup
Verifying & setting of boot parameters passed
Disabling Transparent Hugepages.
Refer Oracle Note:1557478.1
Disabling defrag.
Refer Oracle Note:1557478.1
Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/May-16-2014-14-53-37
#最后一句给出了相关的备份信息
#下面是查看备份文件
[root@oel63 results]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/backup
[root@oel63 backup]# ls
May-16-2014-14-53-37
[root@oel63 backup]# cd May-16-2014-14-53-37/
[root@oel63 May-16-2014-14-53-37]# ls
grub.conf limits.conf orakernel.log sysctl.conf
#校验Oracle用户,注,需要为Oracle用户修改密码,此处省略
[root@oel63 ~]# cat /etc/passwd |grep oracle
oracle:x:54321:54321::/home/oracle:/bin/bash
[root@oel63 ~]# cat /etc/group |grep dba
dba:x:54322:oracle
[root@oel63 ~]# cat /etc/group |grep oinstall
oinstall:x:54321:
4、参考链接:
How I Simplified Oracle Database 12c and 11g Installations on Oracle Linux 6
How I Simplified Oracle Database Installation on Oracle Linux 5
Oracle 11g 在RedHat Linux 5.8_x64平台的安装手册 http://www.linuxidc.com/Linux/2014-07/104745.htm
Linux-6-64下安装Oracle 12C笔记 http://www.linuxidc.com/Linux/2013-07/86805.htm
在CentOS 6.4下安装Oracle 11gR2(x64) http://www.linuxidc.com/Linux/2014-02/97374.htm
Oracle 11gR2 在VMWare虚拟机中安装步骤 http://www.linuxidc.com/Linux/2013-09/89579p2.htm
Debian 下 安装 Oracle 11g XE R2 http://www.linuxidc.com/Linux/2014-03/98881.htm
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
=====================================================================
在机器上用yum安装软件时居然遇到找不到GPG密钥
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
就在网上收解决办法,结果看到这篇文章
Oracle Database 11g Release 2 Installation on RHEL/CentOS 6.x/5.x/4.x(http://www.tecmint.com/oracle-database-11g-release-2-installation-in-linux/)
按照他的输入命令wget https://public-yum.oracle.com/public-yum-ol6.repo结果出错,然后我直接到public-yum.oracle.com这个网站进去看到这个http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6一点出来个和/etc/yum.repos.d这个目录下差不多的东西,我就直接在这个目录下建个文件RPM-GPG-KEY-oracle将哪个复制进去保存退出。在用yum是就不会出现这个错误了
我系统是centos6.4
http://www.linuxidc.com/Linux/2014-09/106127.htm
//找不到key
http://blog.chinaunix.net/uid-29391625-id-4994108.html
见下文
改用户密码 password oracle 111111
===================================================================
基于Linux安装过Oracle的童鞋们都应该清楚,安装Oracle的确是一件比较费时费力的差事,因为仅仅是前期的rpm包,内核参数,创建用户等等这些个步骤都让那些新手不免眼花缭乱,一不留神,就导致最终的安装过程中报错而不得不从头来过。现在基于Oracle Linux,Oracle仅仅需要通过安装oracle-rdbms-server-11gR2-preinstall RPM包即可全部搞定其余未安装的RPM包,解决之间的依赖关系,配置内核参数等等。客官,正在基于Oracle Linux 安装Oralce 11g?那就接着往下看。
1、oracle-rdbms-server-11gR2-preinstall RPM 软件包的功能
a、 Automatically downloading and installing any additional software packages and specific package versions needed for installing Oracle Grid Infrastructure and Oracle Database 12 c Release 1 (12.1) or 11g Release 2 (11.2.0.3), with package dependencies resolved via yum or up2date capabilities.
b、Creating the user oracle and the groups oinstall (for OraInventory) and dba (for OSDBA), which are used during database installation. (For security purposes, this user has no password by default and cannot log in remotely. To enable remote login, please set a password using the passwd tool.)
c、Modifying kernel parameters in /etc/sysctl.conf to change settings for shared memory, semaphores, the maximum number of file descriptors, and so on.
d、Setting hard and soft shell resource limits in /etc/security/limits.conf, such as the locked-in memory address space, the number of open files, the number of processes, and core file size.
e、Setting numa=off in the kernel for x86_64 machines.
2、操作步骤
a、确保网络畅通,即可连接到Internet。
b、已经安装了yum包管理工具。
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校验内核修改日志及原文件备份情况
-- Author: Leshami
-- Blog : http://wwww.linuxidc.com
3、实战演习
a、检查网络环境,确保网络畅通
[root@oel63 ~]# cat /etc/issue
Oracle Linux Server release 6.3
Kernel \r on an \m
[root@oel63 ~]# ping www.baidu.com
PING www.a.shifen.com (115.239.211.110) 56(84) bytes of data.
64 bytes from 115.239.211.110: icmp_seq=1 ttl=54 time=39.2 ms
64 bytes from 115.239.211.110: icmp_seq=2 ttl=54 time=42.2 ms
b、检查yum是否已安装
[root@oel63 ~]# rpm -qa | grep yum
yum-utils-1.1.30-14.el6.noarch
PackageKit-yum-plugin-0.5.8-20.0.1.el6.x86_64
yum-rhn-plugin-0.9.1-40.0.1.el6.noarch
yum-plugin-security-1.1.30-14.el6.noarch
yum-3.2.29-30.0.1.el6.noarch
PackageKit-yum-0.5.8-20.0.1.el6.x86_64
yum-metadata-parser-1.1.2-16.el6.x86_64
c、切换到目录 /etc/yum.repos.d/
[root@oel63 ~]# cd /etc/yum.repos.d/
d、获取配置文件并进行相应修改
[root@oel63 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
--2014-05-16 14:41:51-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>] 4,233 --.-K/s in 0.001s
2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
total 8.0K
-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
#本环境为Oracle Linux 6.3,因此修改了以下2个部分。即将需要安装的部分的enabled的值置为1
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包
[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
Loaded plugins: refresh-packagekit, security
ol6_UEK_base | 1.2 kB 00:00
ol6_UEK_base/primary | 1.0 MB 00:01
ol6_UEK_base 36/36
ol6_UEK_latest | 1.2 kB 00:00
ol6_latest | 1.4 kB 00:00
ol6_u3_base | 1.4 kB 00:00
ol6_u3_base/primary | 2.7 MB 00:11
ol6_u3_base 8452/8452
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-9.el6 will be installed
--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libstdc++ = 4.4.7-4.el6 for package: gcc-c++-4.4.7-4.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.132.el6_5.1 will be installed
--> Processing Dependency: glibc = 2.12-1.132.el6_5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.132.el6_5.1 for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.132.el6_5.1.x86_64
---> Package ksh.x86_64 0:20120801-10.el6_5.4 will be installed
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package glibc.x86_64 0:2.12-1.80.el6 will be updated
--> Processing Dependency: glibc = 2.12-1.80.el6 for package: glibc-common-2.12-1.80.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.132.el6_5.1 will be an update
---> Package glibc-headers.x86_64 0:2.12-1.132.el6_5.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.132.el6_5.1.x86_64
---> Package libgcc.x86_64 0:4.4.6-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be an update
---> Package libgomp.x86_64 0:4.4.6-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be an update
---> Package libstdc++.x86_64 0:4.4.6-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be an update
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.80.el6 will be updated
---> Package glibc-common.x86_64 0:2.12-1.132.el6_5.1 will be an update
---> Package kernel-uek-headers.x86_64 0:2.6.32-400.34.5.el6uek will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Installing:
oracle-rdbms-server-11gR2-preinstall x86_64 1.0-9.el6 ol6_latest 17 k
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 ol6_latest 93 k
compat-libcap1 x86_64 1.10-1 ol6_latest 17 k
compat-libstdc++-33 x86_64 3.2.3-69.el6 ol6_latest 183 k
cpp x86_64 4.4.7-4.el6 ol6_latest 3.7 M
gcc x86_64 4.4.7-4.el6 ol6_latest 10 M
gcc-c++ x86_64 4.4.7-4.el6 ol6_latest 4.7 M
glibc-devel x86_64 2.12-1.132.el6_5.1 ol6_latest 977 k
glibc-headers x86_64 2.12-1.132.el6_5.1 ol6_latest 608 k
kernel-uek-headers x86_64 2.6.32-400.34.5.el6uek ol6_latest 737 k
ksh x86_64 20120801-10.el6_5.4 ol6_latest 756 k
libaio-devel x86_64 0.3.107-10.el6 ol6_latest 13 k
libstdc++-devel x86_64 4.4.7-4.el6 ol6_latest 1.6 M
mpfr x86_64 2.4.1-6.el6 ol6_latest 156 k
ppl x86_64 0.10.2-11.el6 ol6_latest 1.3 M
Updating for dependencies:
glibc x86_64 2.12-1.132.el6_5.1 ol6_latest 3.8 M
glibc-common x86_64 2.12-1.132.el6_5.1 ol6_latest 14 M
libgcc x86_64 4.4.7-4.el6 ol6_latest 100 k
libgomp x86_64 4.4.7-4.el6 ol6_latest 118 k
libstdc++ x86_64 4.4.7-4.el6 ol6_latest 292 k
Transaction Summary
=================================================================================================
Install 15 Package(s)
Upgrade 5 Package(s)
Total download size: 43 M
Is this ok [y/N]: y
Downloading Packages:
(1/20): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00
(2/20): compat-libcap1-1.10-1.x86_64.rpm | 17 kB 00:00
(3/20): compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm | 183 kB 00:00
(4/20): cpp-4.4.7-4.el6.x86_64.rpm | 3.7 MB 00:08
(5/20): gcc-4.4.7-4.el6.x86_64.rpm | 10 MB 00:26
(6/20): gcc-c++-4.4.7-4.el6.x86_64.rpm | 4.7 MB 00:19
(7/20): glibc-2.12-1.132.el6_5.1.x86_64.rpm | 3.8 MB 00:08
(8/20): glibc-common-2.12-1.132.el6_5.1.x86_64.rpm | 14 MB 00:32
(9/20): glibc-devel-2.12-1.132.el6_5.1.x86_64.rpm | 977 kB 00:01
(10/20): glibc-headers-2.12-1.132.el6_5.1.x86_64.rpm | 608 kB 00:00
(11/20): kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64.rpm | 737 kB 00:01
(12/20): ksh-20120801-10.el6_5.4.x86_64.rpm | 756 kB 00:01
(13/20): libaio-devel-0.3.107-10.el6.x86_64.rpm | 13 kB 00:00
(14/20): libgcc-4.4.7-4.el6.x86_64.rpm | 100 kB 00:00
(15/20): libgomp-4.4.7-4.el6.x86_64.rpm | 118 kB 00:00
(16/20): libstdc++-4.4.7-4.el6.x86_64.rpm | 292 kB 00:00
(17/20): libstdc++-devel-4.4.7-4.el6.x86_64.rpm | 1.6 MB 00:03
(18/20): mpfr-2.4.1-6.el6.x86_64.rpm | 156 kB 00:00
(19/20): oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64.rpm | 17 kB 00:00
(20/20): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:02
------------------------------------------------------------------------------------------------------------
Total 396 kB/s | 43 MB 01:51
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid : Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
Package: 6:oraclelinux-release-6Server-3.0.2.x86_64 (@anaconda-OracleLinuxServer-201206261930.x86_64/6.3)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc-4.4.7-4.el6.x86_64 1/25
Updating : glibc-2.12-1.132.el6_5.1.x86_64 2/25
Updating : glibc-common-2.12-1.132.el6_5.1.x86_64 3/25
Updating : libstdc++-4.4.7-4.el6.x86_64 4/25
Installing : libstdc++-devel-4.4.7-4.el6.x86_64 5/25
Installing : mpfr-2.4.1-6.el6.x86_64 6/25
Installing : cpp-4.4.7-4.el6.x86_64 7/25
Installing : ppl-0.10.2-11.el6.x86_64 8/25
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 9/25
Installing : compat-libcap1-1.10-1.x86_64 10/25
Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64 11/25
Installing : ksh-20120801-10.el6_5.4.x86_64 12/25
Updating : libgomp-4.4.7-4.el6.x86_64 13/25
Installing : kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64 14/25
Installing : glibc-headers-2.12-1.132.el6_5.1.x86_64 15/25
Installing : glibc-devel-2.12-1.132.el6_5.1.x86_64 16/25
Installing : gcc-4.4.7-4.el6.x86_64 17/25
Installing : gcc-c++-4.4.7-4.el6.x86_64 18/25
Installing : libaio-devel-0.3.107-10.el6.x86_64 19/25
Installing : oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64 20/25
Cleanup : libstdc++-4.4.6-4.el6.x86_64 21/25
Cleanup : libgomp-4.4.6-4.el6.x86_64 22/25
Cleanup : glibc-common-2.12-1.80.el6.x86_64 23/25
Cleanup : glibc-2.12-1.80.el6.x86_64 24/25
Cleanup : libgcc-4.4.6-4.el6.x86_64 25/25
Verifying : glibc-headers-2.12-1.132.el6_5.1.x86_64 1/25
Verifying : libaio-devel-0.3.107-10.el6.x86_64 2/25
Verifying : gcc-4.4.7-4.el6.x86_64 3/25
Verifying : libstdc++-4.4.7-4.el6.x86_64 4/25
Verifying : compat-libcap1-1.10-1.x86_64 5/25
Verifying : libstdc++-devel-4.4.7-4.el6.x86_64 6/25
Verifying : cpp-4.4.7-4.el6.x86_64 7/25
Verifying : kernel-uek-headers-2.6.32-400.34.5.el6uek.x86_64 8/25
Verifying : compat-libstdc++-33-3.2.3-69.el6.x86_64 9/25
Verifying : mpfr-2.4.1-6.el6.x86_64 10/25
Verifying : glibc-common-2.12-1.132.el6_5.1.x86_64 11/25
Verifying : gcc-c++-4.4.7-4.el6.x86_64 12/25
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 13/25
Verifying : ksh-20120801-10.el6_5.4.x86_64 14/25
Verifying : libgomp-4.4.7-4.el6.x86_64 15/25
Verifying : oracle-rdbms-server-11gR2-preinstall-1.0-9.el6.x86_64 16/25
Verifying : glibc-devel-2.12-1.132.el6_5.1.x86_64 17/25
Verifying : ppl-0.10.2-11.el6.x86_64 18/25
Verifying : glibc-2.12-1.132.el6_5.1.x86_64 19/25
Verifying : libgcc-4.4.7-4.el6.x86_64 20/25
Verifying : libstdc++-4.4.6-4.el6.x86_64 21/25
Verifying : glibc-common-2.12-1.80.el6.x86_64 22/25
Verifying : glibc-2.12-1.80.el6.x86_64 23/25
Verifying : libgomp-4.4.6-4.el6.x86_64 24/25
Verifying : libgcc-4.4.6-4.el6.x86_64 25/25
Installed:
oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-9.el6
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6 compat-libcap1.x86_64 0:1.10-1
gcc.x86_64 0:4.4.7-4.el6 gcc-c++.x86_64 0:4.4.7-4.el6
kernel-uek-headers.x86_64 0:2.6.32-400.34.5.el6uek ksh.x86_64 0:20120801-10.el6_5.4
mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6
compat-libstdc++-33.x86_64 0:3.2.3-69.el6 cpp.x86_64 0:4.4.7-4.el6
glibc-devel.x86_64 0:2.12-1.132.el6_5.1 glibc-headers.x86_64 0:2.12-1.132.el6_5.1
libaio-devel.x86_64 0:0.3.107-10.el6 libstdc++-devel.x86_64 0:4.4.7-4.el6
Dependency Updated:
glibc.x86_64 0:2.12-1.132.el6_5.1 glibc-common.x86_64 0:2.12-1.132.el6_5.1 libgcc.x86_64 0:4.4.7-4.el6
libgomp.x86_64 0:4.4.7-4.el6 libstdc++.x86_64 0:4.4.7-4.el6
Complete!
f、校验结果
[root@oel63 ~]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/results/
[root@oel63 results]# ls
orakernel.log
[root@oel63 results]# more orakernel.log
Adding group oinstall with gid 54321
Adding group dba
Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and home directory /home/oracle
Changing ownership of /home/oracle to oracle:oinstall
Please set password for oracle user
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
Creating oracle user passed
Verifying kernel parameters as per Oracle recommendations...
Adding fs.file-max = 6815744
Adding kernel.sem = 250 32000 100 128
Adding kernel.shmmni = 4096
kernel.shmall is higher than preinstall config.
kernel.shmall = 4294967296
kernel.shmmax = 4398046511104
Changing kernel.shmmax to match preinstall config
Adding net.core.rmem_default = 262144
Adding net.core.rmem_max = 4194304
Adding net.core.wmem_default = 262144
Adding net.core.wmem_max = 1048576
Adding fs.aio-max-nr = 1048576
Adding net.ipv4.ip_local_port_range = 9000 65500
Setting kernel parameters as per oracle recommendations...
Altered file /etc/sysctl.conf
Original file backed up at /etc/sysctl.conf.orabackup
Verifying & setting of kernel parameters passed
Setting user limits using /etc/security/limits.conf
Verifying oracle user OS limits as per Oracle recommendations...
Adding oracle soft nofile 1024
Adding oracle hard nofile 65536
.............
Setting kernel boot parameters as per Oracle recommendations...
Boot parameters will be effected on next reboot
Altered file /boot/grub/grub.conf
Original file backed up at /boot/grub/grub.conf.orabackup
Verifying & setting of boot parameters passed
Disabling Transparent Hugepages.
Refer Oracle Note:1557478.1
Disabling defrag.
Refer Oracle Note:1557478.1
Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/May-16-2014-14-53-37
#最后一句给出了相关的备份信息
#下面是查看备份文件
[root@oel63 results]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/backup
[root@oel63 backup]# ls
May-16-2014-14-53-37
[root@oel63 backup]# cd May-16-2014-14-53-37/
[root@oel63 May-16-2014-14-53-37]# ls
grub.conf limits.conf orakernel.log sysctl.conf
#校验Oracle用户,注,需要为Oracle用户修改密码,此处省略
[root@oel63 ~]# cat /etc/passwd |grep oracle
oracle:x:54321:54321::/home/oracle:/bin/bash
[root@oel63 ~]# cat /etc/group |grep dba
dba:x:54322:oracle
[root@oel63 ~]# cat /etc/group |grep oinstall
oinstall:x:54321:
4、参考链接:
How I Simplified Oracle Database 12c and 11g Installations on Oracle Linux 6
How I Simplified Oracle Database Installation on Oracle Linux 5
Oracle 11g 在RedHat Linux 5.8_x64平台的安装手册 http://www.linuxidc.com/Linux/2014-07/104745.htm
Linux-6-64下安装Oracle 12C笔记 http://www.linuxidc.com/Linux/2013-07/86805.htm
在CentOS 6.4下安装Oracle 11gR2(x64) http://www.linuxidc.com/Linux/2014-02/97374.htm
Oracle 11gR2 在VMWare虚拟机中安装步骤 http://www.linuxidc.com/Linux/2013-09/89579p2.htm
Debian 下 安装 Oracle 11g XE R2 http://www.linuxidc.com/Linux/2014-03/98881.htm
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
=====================================================================
在机器上用yum安装软件时居然遇到找不到GPG密钥
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
就在网上收解决办法,结果看到这篇文章
Oracle Database 11g Release 2 Installation on RHEL/CentOS 6.x/5.x/4.x(http://www.tecmint.com/oracle-database-11g-release-2-installation-in-linux/)
按照他的输入命令wget https://public-yum.oracle.com/public-yum-ol6.repo结果出错,然后我直接到public-yum.oracle.com这个网站进去看到这个http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6一点出来个和/etc/yum.repos.d这个目录下差不多的东西,我就直接在这个目录下建个文件RPM-GPG-KEY-oracle将哪个复制进去保存退出。在用yum是就不会出现这个错误了
我系统是centos6.4
相关推荐
"Oracle Linux更新Yum源详解" Oracle Linux 是一个基于 Red Hat Enterprise Linux 源代码的操作系统,具有高性能、可靠性和安全性。Yum(Yellow dog Updater, Modified)是一个命令行的包管理器,用于管理 RPM ...
"Oracle安装教程之Linux更换yum源" 在 Linux 环境中安装 Oracle 数据库之前,需要更换 yum 源,以便安装 Oracle 所需的依赖项。本文将指导您如何更换 yum 源,包括查看原有 yum 源、下载阿里云 yum 源、备份原有...
Oracle for Linux(11g&12c) 本文档主要介绍了Oracle 11g和12c在Linux上的安装过程,并提供了详细的安装步骤和依赖包安装方法。 一、安装依赖包 在安装 Oracle 之前,需要安装一些依赖包。这些依赖包包括 ...
`yum`工具是Linux中的包管理器,用于安装、更新和卸载软件。`tar`命令用于处理`.tar`文件,`gunzip`和`gzip`处理`.gz`文件,`unzip`解压缩`.zip`文件。例如,`tar -xvf file.tar`解压`.tar`文件,`gzip -6 file.tar...
Linux 下 Oracle Client 的安装 Linux 下 Oracle Client 的安装是指在 Linux 操作系统中安装 Oracle 客户端的过程。该过程需要在 Linux 服务器上安装 Oracle 客户端,以便连接 Oracle 数据库服务器。 一、 Linux ...
在虚拟机上安装linux系统Red Hat Enterprise Linux 6.5 oracle11g的安装包: linux_11gR2_database_1of2.zip linux_11gR2_database_2of2.zip 1、使用工具SSH Secure Shell Client将oralce的安装包上传到/root目录...
在Linux环境下安装Oracle数据库通常涉及通过`yum`工具来获取并安装所需的软件包。这种方式不仅适用于Red Hat企业版(Red Hat Enterprise Linux,RHEL)及其衍生系统如CentOS,还能够简化安装过程中的依赖管理。本文...
### Oracle Linux 11.2.0.4 相关知识点 #### 一、Oracle Linux 简介 Oracle Linux 是由 Oracle 公司提供的一个基于开源 Red Hat Enterprise Linux (RHEL) 的企业级操作系统。它旨在为各种规模的企业提供高性能、...
2. **安装RPM包**:使用`yum`或`rpm`命令安装所需的Oracle软件包,包括客户端、服务器端、开发库等。 3. **配置环境变量**:设置`ORACLE_HOME`、`PATH`、`LD_LIBRARY_PATH`等环境变量,以便系统能找到Oracle相关的...
### Oracle 11g在Linux 64位系统上的安装指南 #### 一、Oracle 11g简介 Oracle Database 11g是甲骨文公司(Oracle Corporation)推出的一款功能强大且高度可靠的企业级数据库管理系统。Oracle 11g在前代版本的基础...
在Linux系统中,Oracle数据库的安装通常涉及到一系列的依赖包,尤其在离线环境中,确保所有依赖包都齐全显得尤为重要。本教程将详细介绍如何在CentOS 6上离线安装Oracle的所有依赖包。 首先,Oracle数据库对操作...
- 预安装依赖:通过`yum -y install`安装一系列必要的软件包,如bind-utils、libaio-devel等,这些是安装Oracle数据库的前提条件。 - 安装`oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm`:同样使用`rpm -...
配置YUM源也是关键步骤,以便安装操作系统和Oracle数据库软件所需的额外包。 在创建用户和组方面,需要为Oracle数据库的操作创建专用用户和组,比如创建grid和oracle用户,以及设置这些用户的口令。 安装Oracle ...
在IT领域,Linux和Oracle是两个非常重要的组成部分。Oracle是一家知名的数据库公司,其数据库系统广泛应用于企业级应用,而Linux作为开源操作系统,以其稳定性和安全性备受青睐。在Linux上安装Oracle客户端是许多IT...
### Oracle Linux服务端安装教程(每步详解) #### 一、安装前的环境准备 **1. 内核检查** 确保Linux系统的内核版本至少为2.4.9-e.25或更高版本。可以通过以下两种方式来查看当前内核版本: - `uname -r` - `cat...
在本文中,我们将深入探讨如何在Oracle Linux 6.5.0操作系统上安装Oracle 11g R2数据库。Oracle Linux是Red Hat Enterprise Linux (RHEL)的一个克隆版本,它提供了一个稳定、高性能的平台来运行Oracle数据库。在安装...
包含了至少大部分的oracle 11g静默方式在linux上安装时所缺失没yum的rpm包,包含i386,i686,x86_64,共分为4个压缩包,名单如下: compat-libstdc++-33-3.2.3-61.x86_64.rpm elfutils-libelf-devel-0.97.1-5.i386.rpm ...
2. **安装依赖库**:使用Linux包管理工具(如yum或apt-get)安装Oracle所需的基础库文件,例如`libaio`、`compat-libstdc++`等。 3. **创建Oracle用户和组**:为Oracle服务设置专用的用户和组,增强安全性。 4. **...
Linux 下基于 Docker 安装 Oracle Linux 作为一个流行的开源操作系统,广泛应用于服务器和云计算领域,而 Oracle 是一个功能强大且广泛应用的关系数据库管理系统。然而,将 Oracle 安装在 Linux 上可能会遇到一些...