在Solaris9 下安装oracle 9ias

weixin_38053515 2004-05-28 06:45:28

这是我在Solaris9上安装Oracle 9IAS的笔记,
我在这里只是安装了J2EE 和Web cache平台  
ORACLE9IAS安装文档
准备工作:

1.从网上下载IAS

以root在本地主机上建立目录

#mkdir ias
#chmod 777 ias

#chmod 777 unpack_.sh
-------------------------------------------------
2. 建立oracle用户/组

以root用户登录
#groupadd dba
#groupadd oinstall
#mkdir /oracle/product/9.2
#useradd -g oinstall -G dba -d /oracle/product/9.2 -m oracle
#passwd oracle
#chown -R oracleinstall /oracle
-----------------------------------------------------
3. 检查主机名配置
以root登录
#cat  hosts
--此文件里每一行格式应为
<IP>;        <空格>;        <完整主机名>;        <空格>;        <别名>;

如我的/etc/hosts文件如下:
127.0.0.1         localhost                        (确保此行在第一行)
10.110.11.2         host01.x.x.cn         host03                (此行是我加上的,10.110.11.2为机器的IP)

-----------------------------------------------------

-----------------------------------------------------------

4. 检查内核参数
以root登录
a) #cd /etc
b) #vi system.conf加入以下几行
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=256
set semsys:seminfo_semmni=100
c) 保存文件并重启机器,验证内核参数。
------------------------------------------------
5. 编辑services,删除LDAP
a) 以root登录
b) #cd /etc
c) vi services
d) 查找到包含389,636端口的行(4行),注释掉这些行
e) 保存文件
-------------------------------------------------
6. 给/sbin/fuser做链接
  以root登录
a) #cd /bin
b) ln -s /usr/sbin/fuser fuser

------------------------------------------------
7. 建立/tmp和/tmpdir目录
as root
a) #cd /
b) #mkdir /tmpdir
c) #chmod 777 /tmpdir
-----------------------------------------------
8. 设置环境变量TMP,TMPDIR
  as root
  a) #cd /etc
  b) #vi profile
  在文件的最后加入
        TMP = /tmp;export TMP
        TMPDIR=/tmpdir;export TMPDIR
        !
  c) 保存文件。
------------------------------------------------
9.ORACLE用户的环境
a) 以oracle用户登录
i) $vi .profile

ORACLE_BASE=/oracle;export ORACLE_BASE

ORACLE_HOME=$ORACLE_BASE/product/9.2;export ORACLE_HOME

ORACLE_SID= ias;export ORACLE_SID                                  # 此值根据用户要求而定

NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG               # 字符集根据用户要求而定

PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/bin:/usr/ccs/bin:/usr/local/bin;export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/libORACLE_HOME/network/lib:/usr/local/lib:/usr/lib;export LD_LIBRARY_PATH


保存文件。
---------------------------------------------------------
10.安装:
以oracle用户登录,在第一张盘中运行runInstaller,然后按提示一步步安装
  
#cd /ias/unpack/Disk1
#./runInstaller
1.)出现oracle wellcome窗口点next
2.)出现Inventory目录位置窗口点next
3.)在安装过程中弹出一个窗口,提示你另开一个终端窗口,执行如下操作。
$su root
#cd /tmp
#./orainstRoot.sh

回到提示窗口点继续

4.)出现文件定位窗口
来源:        固定不动
目标:
名称:Ora9ias_home
路径:/oracle/product/9.2        (和ORCLE_HOME设定相同

5.)出现可用的产品窗口
选定Oracle9i Application Server 9.0.2.0.1

6.)安装类型
选定J2EE 和 Web Cache


7.)组件配置
点NEXT

8.) oracle9ias infrastructure Use
选择否
点Next
9.)创建实例名和ias_admin口令
例程名:ias_instance3        (根据用户需求确定)
ias_admin passwd:kszx1111
确认:

10.)安装确认窗口
开始安装。

11)在安装过程中还会弹出一个提示:设置权限窗口

按提示开另一个窗口
#su
#cd /oracle/product/9.2
#./root.sh
[/usr/local/bin]回车

12.)配置工具窗口
13.)退出安装
------------------------------------------------------

11.启动和停止

启动

$/oracle/product/9.2/bin/emctl start        启动管理平台
$emctl status 查看状态

/oracle/product/9.2/dcm/bin/dcmctl start -ct ohs        启动http server               

/oracle/product/9.w/dcm/bin/dcmctl start -ct oc4j        启动oracle component for jav

dcmctl getstate -v        查处状态

/oracle/product/9.2/bin/webcachectl start                启动oracle 9ias web cache

停止

/oracle/product/9.2/bin/webcachectl stop                停止oracle 9ias web cache

/oracle/product/9.2/dcm/bin/dcmctl stop                        停止oracle component for jav

/oracle/product/9.2./bin/emctl stop                        停止http server

12.其它

可以在浏览器是输入IP address:1810、ip address:7777进行管理和配置。
...全文
27 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
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.”
非扫描、纯英文、PDF格式、带目录。 The Oracle Solaris DTrace feature revolutionizes the way you debug operating systems and applications. Using DTrace, you can dynamically instrument software and quickly answer virtually any question about its behavior. Now, for the first time, there's a comprehensive, authoritative guide to making the most of DTrace in any supported UNIX environment--from Oracle Solaris to OpenSolaris, Mac OS X, and FreeBSD. Written by key contributors to the DTrace community, DTrace teaches by example, presenting scores of commands and easy-to-adapt, downloadable D scripts. These concise examples generate answers to real and useful questions, and serve as a starting point for building more complex scripts. Using them, you can start making practical use of DTrace immediately, whether you're an administrator, developer, analyst, architect, or support professional. The authors fully explain the goals, techniques, and output associated with each script or command. Drawing on their extensive experience, they provide strategy suggestions, checklists, and functional diagrams, as well as a chapter of advanced tips and tricks. You'll learn how to Write effective scripts using DTrace's D language Use DTrace to thoroughly understand system performance Expose functional areas of the operating system, including I/O, filesystems, and protocols Use DTrace in the application and database development process Identify and fix security problems with DTrace Analyze the operating system kernel Integrate DTrace into source code Extend DTrace with other tools This book will help you make the most of DTrace to solve problems more quickly and efficiently, and build systems that work faster and more reliably.

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧