转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> SyBase >> 正文
oracle 10G 安装 for Linux86         ★★★★

oracle 10G 安装 for Linux86

作者:闵涛 文章来源:闵涛的学习笔记 点击数:1964 更新时间:2009/4/22 23:07:59

Configuring Linux for the Installation of Oracle Database 10g

In this lesson, you learn how to configure Linux and prepare for the installation of Oracle Database 10g.

This lesson covers the following topics:

Overview Prerequisites Checking the Hardware Requirements Configuring the Kernel and Creating the oracle User

Place the cursor on this icon to display all the screenshots in the lesson. You can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated with that step.

Back to List

The lesson prepares the Linux operating system for the installation of Oracle Database 10g.

Back to Topic List

Before starting this lesson, you should have:

1.

Installed an Oracle Database 10g certified version of Linux on a platform certified for that version of Linux. To see the latest certification information, use Metalink and select Certify & Availability. You can also use OTN.

 

Back to Topic List

The system on which you install Linux must meet the following requirements:

512 MB of physical random access memory (RAM)

1 GB of swap space (or twice the size of RAM)

Swap space between one and two times the size of RAM (on systems with 2 GB or more of RAM)

400 MB of disk space in the /tmp directory

2.1 GB of disk space for the Oracle software and Sample Schema Database

Back to Topic List

To configure the system, follow these steps (written for Bourne, Korn, and bash shells):

1.

Open a terminal window and log in as the root user.

 

2.

The following local UNIX groups and user must exist on the system:

Groups: oinstall and dba
User: oracle

Optionally, the oper group can be created.

Group: oper

We now create the three groups oinstall, dba, and oper:

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd oper 

Move your mouse over this icon to see the image

 

3.

Create the operating system user oracle:

/usr/sbin/useradd -g oinstall -G dba,oper oracle

Move your mouse over this icon to see the image

4.

Enter the following command to set the password of the oracle user:

/usr/bin/passwd oracle

Move your mouse over this icon to see the image

 

5.

With an editor of your choosing, open /home/oracle/.bash_profile. If you are using another shell, please add the entries to the appropriate file.

umask 022

PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib 
        
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH

export PATH LD_LIBRARY_PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID

Move your mouse over this icon to see the image

 

6.

Create the directory for the software installation and assign ownership to oracle:oinstall. In the example, you use /u01/app/oracle.

mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app
chmod -R 775 /u01/app

Move your mouse over this icon to see the image

 

7.

Set required kernel parameters:


Parameter                       Value
----------------------------    -----------------
kernel.semmsl                   250
kernel.semmns                   3200
kernel.semopm                   100
kernel.semmni                   128
kernel.shmall                   2097152
kernel.shmmax                   2147483648
kernel.shmmni                   4096
fs.file-max                     65536
net.ipv4.ip_local_port_range    1024 65000

Open the /etc/sysctl.conf file in any text editor and add lines similar to the following:

kernel.sem = 250 32000 100 128
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

With specified values for these parameters in the /etc/sysctl.conf file, the values persist when you reboot the system.

Move your mouse over this icon to see the image

 

8.

The kernel changes made previously take effect with each reboot.

Issue this command to set the kernel parameters:

/sbin/sysctl -p

Move your mouse over this icon to see the image

 

9.

Log in as operating system user oracle. You must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software installed.

 

Installing Oracle Database 10g on Linux

In this lesson, you learn how to install Oracle Database 10g on Linux.

[1] [2] [3]  下一页


[办公软件]如何让没有安装PowerPoint的计算机播放演示文稿  [办公软件]打开Office文档就提示安装的原因及解决方案
[网络安全]安装防火墙的十二个注意事项  [Sql Server]Win2003中安装Sql2000出现日志错误的解决办法
[Sql Server]SqlServer安装或删除出现挂起提示的解决方案  [Web开发]VS2005安装了SP1后发布项目存在的问题之解决方案
[Web开发]如何用.net打包自动安装数据库下篇  [Web开发]如何用.net打包自动安装数据库上篇
[网页制作]网页三剑客8.0版安装序列号(注册码)  [办公软件]Office 2008介绍—For Mac—Office 2008下载提供安…
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台