实战安装oracle11g on solaris11

    为了研究vaga大牛的系列文章决定安装个solaris11并在其上安装oracle 11g,由于之前从没接触过solaris,于是安装过程中遇到很多问题,下面逐一记录以便日后查看。

    1.安装solaris

     1.1安装solaris字符界面

      首先从oracle官网下载solaris-text镜像,大小500M,安装过程很顺利,基本是一路F2功能键下去(相当于next
     1.2
安装solaris图形界面
     
登陆solaris,然后执行pkg install solaris-desktop,这里用到的默认软件包repositoryURLhttp://pkg.oracle.com/solaris/release/,MOS上有一篇文章介绍了如何修改默认的软件包repository将其指向Oracle Solaris 11 supported repository (https://pkg.oracle.com/solaris/support),不过我按照其操作时提示该URL已失效!

    2. 创建oracle用户
    root@solaris:~# groupadd oinstall
    root@solaris:~# groupadd dba
    root@solaris:~# groupadd oper
    root@solaris:~# useradd -g oinstall -G dba,oper oracle

    3.创建oracle目录
     root@solaris:~# mkdir -p /u01/app
     root@solaris:~# chown -R oracle:oinstall /u01/app

    4.修改系统参数
     4.1修改内核参数  

    root@solaris:~# projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" user.oracle
    root@solaris:~# # projmod -sK "project.max-sem-nsems=(priv,512,deny)" user.oracle
    root@solaris:~# # projmod -sK "project.max-sem-ids=(priv,128,deny)" user.oracle
    root@solaris:~# # projmod -sK "project.max-shm-ids=(priv,128,deny)" user.oracle

     4.2修改网络参数
    root@solaris:~# # ipadm set-prop -p smallest_anon_port=9000 tcp
    root@solaris:~# # ipadm set-prop -p largest_anon_port=65500 tcp
    root@solaris:~# # ipadm set-prop -p smallest_anon_port=9000 udp
    root@solaris:~# # ipadm set-prop -p largest_anon_port=65500 udp 
 

    5.设置oracle环境变量
    -bash-4.1$ cat .bash_profile
    ORACLE_BASE=/u01/app
    ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2.0/db_1
    ORACLE_SID=wilson
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$CRS_HOME/lib
    PATH=$PATH:/usr/local/bin:$ORACLE_HOME/bin:$CRS_HOME/bin
 
    export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH


  6.
运行runInstall
 
到这一步基本就和常规的oracle安装没啥区别了。

  7.安装过程中的错误

 7.1 [INS-13001] Environment does meet minimum requirements. Are you sure you want to continue?
   
解决方法:下载oracle补丁10098816,并安装

    7.2 Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Some requirement checks failed. You must fulfill these requirements before continuing with the installation,at which time they will be rechecked.
   
解决方法:安装SUNWxwplt 软件包,并设置DISPLAY参数,并以root用户执行”xhost +“命令

    7.3 Exception in thread “main” java.lang.UnsatisfiedLinkError:
… libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
   
解决方法:安装SUNWmfrun软件包
 
   7.4
在运行runinstall界面的预安装检查中提示内核参数"project.max-shm-memory"设置不当,即使运行runfixup.sh后依然报错
  解决方法:重启系统(没玩过solaris还真不知道,这里不像linux系统用sysctl -p就可以了,哈哈)

     Ok,这里总算是有惊无险的把oracle11g成功安装在solaris11上,非常感谢这位博主的文章,我以上大部分内容都是参照这里http://www.forzw.com/archives/579

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

转载于:http://blog.itpub.net/20801486/viewspace-755033/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
2013年最新版的强悍Unix版本Solaris 11.1系统文件,功能十分强大,不愧是真正血统的Unix系统! Oracle Announces Availability of Oracle Solaris 11.1 and Oracle Solaris Cluster 4.1 Delivers Oracle Database and Java Enhancements, Expanded Mission Critical Cloud Management Capabilities and Advanced Platform Features Redwood Shores, Calif – October 26, 2012 News Facts Oracle today announced general availability of Oracle Solaris 11.1 and Oracle Solaris Cluster 4.1. Oracle Solaris 11 is the first cloud OS that allows customers to build large-scale enterprise-class Infrastructure as a Service (IaaS), Platform as a Service (PaaS) and Software as a Service (SaaS) clouds on a wide range of SPARC and x86 servers and Oracle engineered systems. Oracle Solaris Cluster 4.1 extends high availability and disaster recovery capabilities of Oracle Solaris and includes unique virtual cluster features supporting highly efficient application consolidation with best-in-class availability. Oracle Solaris 11 is already widely in production with thousands of customers with mission critical deployments across industries such as financial services, communications, healthcare, retail, public sector and media and entertainment. Read customer success stories about Oracle Solaris here. Oracle Solaris 11 is also gaining strong momentum among enterprise application vendors with hundreds of applications already qualified for Oracle Solaris Ready status through the Oracle PartnerNetwork (OPN). OPN members can develop, sell and implement their solutions on Oracle Solaris 11 and take advantage of specialized Oracle Solaris resources to expand their market reach. Customers and partners can quickly and safely upgrade to Oracle Solaris 11.1 using the built-in update tools and software repositories available with Oracle Solaris 11. Oracle will host a webcast on November 7, 2012 at 8 a.m. Pacific time on Oracle Solaris 11.1 and Oracle Solaris Cluster 4.1, featuring Markus Flierl, vice president, Oracle Solaris Engineering, Core Technology and Bill Nesheim, vice president, Oracle Solaris Engineering, Platform Software. Register here. This event will also include an interactive chat with core developers of Oracle Solaris and Oracle Solaris Cluster. New and Enhanced Features in Oracle Solaris 11.1 Oracle Solaris 11.1 increases the performance, availability and I/O throughput of the latest Oracle Database technology. A new, optimized shared memory interface between the Oracle Database and Oracle Solaris 11.1 provides 8x faster database startup and shutdown, as well as online resizing of the Oracle Database System Global Area (SGA). Oracle Solaris 11.1 introduces unique new capabilities for optimizing Oracle Database performance. Oracle Solaris 11.1 exposes Oracle Solaris DTrace I/O interfaces that allow an Oracle Database administrator to identify I/O outliers and subsequently isolate network or storage bottlenecks. A new Oracle Solaris DTrace plug-in for Oracle Java Mission Control to enable customers to profile Java applications on Oracle Solaris production systems. New cloud management features add to Oracle Solaris 11’s zero overhead built-in virtualization capabilities across system, network and storage resources, including expanded support for Software Defined Networks (SDN) with Edge Virtual Bridging enhancements, to maximize network resource utilization and manage bandwidth in cloud environments. New built-in memory predictor monitors application memory use and provides optimized memory page sizes and resource location to speed overall application performance. Support for an unprecedented 32 TB of RAM and thousands of CPUs unlocks the full potential of Oracle’s latest server systems. Oracle Solaris Cluster 4.1 Highlights New Oracle Solaris 10 Zone Clusters allow customers to consolidate mission critical Oracle Solaris 10 applications on Oracle Solaris 11 cloud environments. Expanded disaster recovery operations using Oracle’s Sun ZFS Storage Appliance services along with Oracle Solaris Cluster 4.1 to coordinate failover of applications and data to a remote disaster recovery site. Faster application recovery with improved storage failure detection and resource dependencies management. New labeled security capability in Oracle Solaris Zone Clusters provides military grade application separation in highly consolidated mission-critical deployments using Oracle Solaris 11 Trusted Extensions. Integrated Oracle Deployments and Support Oracle Enterprise Manager Ops Center provides comprehensive cloud management capabilities for Oracle Solaris 11, including self-service provisioning of Oracle Solaris 11 Zones. Ops Center’s integrated systems management delivers enterprise scale cloud performance. Oracle Enterprise Manager Ops Center is available to Oracle Solaris customers at no additional cost under the Ops Center Everywhere Program. Oracle Solaris Studio delivers the latest in compiler optimizations, multithread performance and powerful analysis tools for native development, and optimized application performance and reliability on Oracle Solaris 11.1 systems. Oracle Solaris 11 guarantees binary compatibility with previous Oracle Solaris versions through the Oracle Solaris Binary Application Guarantee Program, which provides customers a seamless upgrade path and the industry’s best investment protection. Oracle Solaris Legacy Containers allows older Oracle Solaris environments to be brought forward onto latest generation hardware to provide power, cooling and footprint consolidation savings. OPN members can find Oracle Solaris tools and resources in the Oracle Solaris Knowledge Zone, including Oracle Solaris Ready, Oracle Solaris 11 Specialization and Oracle Solaris Development Initiative. The Oracle Solaris Remote Lab now provides a secure cloud environment for OPN members to test and validate their applications with Oracle Solaris 11 in SPARC and x86 virtual environments. Supporting Quotes “Oracle recommends Oracle Solaris 11 for all UNIX®-based Oracle implementations. Oracle Solaris 11.1 delivers over 300 new performance and feature enhancements and is engineered together with Oracle Database, middleware, applications to increase performance, streamline management and automate support for Oracle deployments,” said John Fowler, executive vice president, Systems, Oracle. “The combination of the secure, highly available capabilities of Oracle Solaris Cluster 4.1 and the built-in virtualization of Oracle Solaris 11.1 helps customers bring their most mission-critical applications into a cost effective, agile cloud environment and delivers extreme availability for enterprise applications.” “Clients are looking for ways to reduce the complexity of systems management while enabling Platform as a Service (PaaS) & Software as a Service (SaaS) clouds,” says Lee Diamante, solutions architect, Systems Computing Solutions at Forsythe. “The value of Oracle Solaris 11 is that it maintains all the enterprise-class features expected with a mission-critical OS, while bringing in new, innovative technologies. Forsythe has a long and rich history of delivering customer solutions on Oracle Solaris systems. This is why we are excited about the Solaris 11.1 release.” “Oracle is making it much easier for partners like Informatica to gain access to their software with the new testing environments; shrinking the time to measurable results and value,” said Julie Lockner, vice president, ILM, Informatica. “With the release of Oracle Solaris 11.1 Informatica customers now have access to mission critical deployments across major industries, with an environment of high performance and high availability. With all the new feature enhancements, we look forward to making the Informatica Platform certified on the Oracle Solaris 11 product family.”
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值