11gr2 Linux数据库安装指南 (11gr2 linux)

Title: 11gR2 Linux Database Installation Guide

Introduction

Database installation can be a daunting task, especially for those who are new to the process. Thankfully, Oracle provides detled instructions on how to install their 11gR2 Linux database. In this article, we will provide a step-by-step guide on how to install the 11gR2 Linux database.

Step 1: System Requirements

Before installing the database, it is important to ensure that your system meets the minimum requirements. The requirements are as follows:

– A minimum of 2GB of RAM

– 1GB of disk space for the software

– 2GB of disk space for the database files

– Linux x86 or x86-64 operating system

Step 2: Download the Installation Files

The next step is to download the installation files from the Oracle website. To do this, go to the following link: https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Once the download is complete, navigate to the directory where the files were downloaded.

Step 3: Extract the Installation Files

Next, extract the installation files. To do this, run the following command in the terminal:

$ unzip linux_11gR2_database_1of2.zip

$ unzip linux_11gR2_database_2of2.zip

This will extract the files to a directory called “database”.

Step 4: Install Required Packages

Before proceeding with the installation, you will need to install some required packages. To do this, run the following command in the terminal:

$ sudo yum install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libo libo-devel libgcc libstdc++ libstdc++-devel make sysstat

Step 5: Modify Kernel Parameters

Next, you will need to modify some kernel parameters. To do this, open the /etc/sysctl.conf file and add the following lines:

fs.file-max = 6815744

kernel.sem = 250 32023 100 128

kernel.shmmni = 4096

kernel.shmall = 1073741824

kernel.shmmax = 4398046511104

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

Then, run the following command in the terminal to apply the changes:

$ sudo sysctl -p

Step 6: Create the Oracle User

Next, you will need to create the Oracle user. To do this, run the following command in the terminal:

$ sudo useradd -m -d /home/oracle -s /bin/bash oracle

Then, set the password for the Oracle user by running the following command:

$ sudo passwd oracle

Step 7: Edit the Environment Variables for the Oracle User

Now you will need to edit the environment variables for the Oracle user. To do this, open the .bash_profile file in the Oracle user’s home directory and add the following lines:

export ORACLE_SID=orcl

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export PATH=$PATH:$ORACLE_HOME/bin

Then run the following command to apply the changes:

$ source .bash_profile

Step 8: Run the Installer

It is now time to run the installer. To do this, navigate to the directory where the installation files were extracted and run the following command:

$ ./runInstaller

Follow the prompts to complete the installation.

Step 9: Configure the Database

Once the installation is complete, you will need to configure the database. To do this, run the following command in the terminal:

$ $ORACLE_HOME/bin/dbca

Conclusion

Installing the 11gR2 Linux database can be a time-consuming task, but by following the steps outlined in this article, you should be able to complete it successfully. Remember to take your time and ensure that all of the required packages and kernel parameters are properly configured. Happy installing!

相关问题拓展阅读:

  • linux 怎么卸载oracle 11g r2安装的包

linux 怎么卸载oracle 11g r2安装的包

1、使用SQL*PLUS停止数据库。

$ sqlplus /nolog

SQL> connect / as sysdba

SQL> shutdown

SQL> exit

2、停止Listener

$ lsnrctl stop

3、停止HTTP服乎纯务

# service httpd stop

4、用su或者重新登录到root(如想重新安装可以保留oracle用户,省得输入环境变量了)

5、将安装目录删除

# rm -rf /u01/app/oracle/

6、将/usr/bin下的文件删除

# rm /usr/local/bin/dbhome

# rm /usr/local/bin/oraenv

# rm /usr/local/bin/coraenv

7、将/etc/oratab删除

# rm /etc/oratab

8、将/etc/oraInst.loc删除

# rm /etc/oraInst.loc

9、将oracle用户删除(若要重新安装,可以不删除)

# userdel –r oracle

10、将用户组删除(若要重新安装,可以不删除)

# groupdel oinstall

# groupdel dba

11、将启动服务删除

# chkconfig –del dbora

11gr2 linux的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于11gr2 linux,11gr2 Linux数据库安装指南,linux 怎么卸载oracle 11g r2安装的包的信息别忘了在本站进行查找喔。

香港服务器首选树叶云,2H2G首月10元开通。
树叶云(shuyeidc.com)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

文章来源网络,作者:管理,如若转载,请注明出处:https://shuyeidc.com/wp/209552.html<

(0)
管理的头像管理
上一篇2025-04-09 12:45
下一篇 2025-04-09 12:47

相关推荐

  • 站群服务器IP段怎么选最安全,有哪些注意事项

    选择站群服务器IP段的安全核心在于IP地址的独立性、机房的路由策略以及服务商的合规资质,一个可靠的IP段必须来自持牌自营机房,具备独立C段和清洗能力,才能避免被关联风险,为什么IP段选择决定站群安全搜索引擎对IP关联的识别算法近年来越来越精细,同一C段或广播域的IP,爬虫通过反向DNS、路由跳数等特征很容易判断……

    2026-07-26
    0
  • 企业上云到底有什么实际好处,企业上云怎么选云服务商

    企业上云最大的实际好处,是把传统的机房运维包袱转化为可按需购买的专业服务,让企业成本更可控、业务更敏捷、安全更合规,成本重构:从买硬件到买服务传统企业自建机房,一次性投入大量资金购买服务器和网络设备,还得预留资源应对业务高峰,平时这些资源可能闲置浪费,上云之后,计算资源变成像水电一样按量付费的运营支出,告别资源……

    2026-07-26
    0
  • 流量清洗的工作原理到底是什么,有什么作用?

    流量清洗本质上是实时识别并过滤攻击流量,只将干净流量放行至目标服务器,是DDoS防护体系中的核心环节,为什么需要流量清洗近年来,DDoS攻击的规模和频率持续攀升,据行业报告,攻击带宽已轻松突破T级,攻击手法从单一的流量型攻击向应用层攻击演变,传统的防火墙或入侵检测系统在面对海量攻击流量时,往往自身先被耗尽,导致……

    2026-07-26
    0
  • CNNIC IP 联盟成员需要什么资质?,申请条件是什么?

    CNNIC IP联盟成员资质是互联网服务商直接从事IP地址分配与管理的官方权威身份,它意味着该服务商拥有独立、稳定的IP资源来源,是选择IDC服务时不可忽视的核心资质之一,什么是CNNIC IP联盟成员:拆解这项资质的真实含义CNNIC(中国互联网络信息中心)是国家级互联网地址资源管理机构,负责IP地址、AS号……

    2026-07-26
    0
  • 站群服务器怎么选才不会被 K 站,有哪些注意事项?

    站群服务器选不好,再好的内容也白费,核心在于IP绝对独立、环境完全隔离、运营全面合规,三者缺一不可,为什么站群服务器容易被K站搜索引擎对站群行为的打击,本质是为了打击低质量、批量复制、缺乏独立价值的站点,当多个站点共享同一IP段、相同服务器环境甚至同一套程序时,搜索引擎很容易将这些站点归为同一运营主体,进而判断……

    2026-07-26
    0

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注