Home Database Mysql Tutorial linux下oracle 10g安装

linux下oracle 10g安装

Jun 07, 2016 pm 03:07 PM
linux oracle Install Enter

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 一,基本配置: 1.以root登录,挂载linux iso文件 [root@oracle ~]# hostname oracle.junjie.com [root@oracle ~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=oracle

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入

    一,基本配置:

    1.以root登录,挂载linux iso文件

    [root@oracle ~]# hostname

    oracle.junjie.com

    [root@oracle ~]# cat /etc/sysconfig/network

    NETWORKING=yes

    NETWORKING_IPV6=no

    HOSTNAME=oracle.junjie.com

    [root@oracle ~]# ifconfig eth0

    eth0      Link encap:Ethernet  HWaddr 00:0C:29:65:FC:1D

    inet addr:192.168.101.88  Bcast:192.168.101.255  Mask:255.255.255.0

    [root@oracle ~]# mkdir /mnt/cdrom/

    [root@oracle ~]# mount /dev/cdrom /mnt/cdrom/

    mount: block device /dev/cdrom is write-protected, mounting read-only

    2.  检查包是否安装

    [root@oracle ~]# cd /mnt/cdrom/Server/

    libXp-1.0.0-8.1.el5.i386.rpm

    binutils-2.17.50.0.6-12.el5.i386.rpm

    compat-db-4.2.52-5.1.i386.rpm

    compat-libstdc++-296-2.96-138.i386.rpm

    control-center-2.16.0-16.el5.i386.rpm

    gcc-4.1.2-46.el5.i386.rpm

    gcc-c++-4.1.2-46.el5.i386.rpm

    glibc-2.5-42.i386.rpm

    glibc-common-2.5-42.i386.rpm

    libstdc++-4.1.2-46.el5.i386.rpm

    libstdc++-devel-4.1.2-46.el5.i386.rpm

    make-3.81-3.el5.i386.rpm

    pdksh-5.2.14-36.el5.i386.rpm

    sysstat-7.0.2-3.el5.i386.rpm

    setarch-2.0-1.1.i386.rpm

    [root@oracle Server]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

    [root@oracle Server]# rpm -ivh binutils-2.17.50.0.6-12.el5.i386.rpm

    [root@oracle Server]# rpm -ivh compat-db-4.2.52-5.1.i386.rpm

    [root@oracle Server]# rpm -ivh compat-libstdc++-296-2.96-138.i386.rpm

    [root@oracle Server]# rpm -ivh control-center-2.16.0-16.el5.i386.rpm

    [root@oracle Server]# rpm -ivh gcc-4.1.2-46.el5.i386.rpm

    [root@oracle Server]# rpm -ivh gcc-c++-4.1.2-46.el5.i386.rpm

    [root@oracle Server]# rpm -ivh glibc-2.5-42.i386.rpm

    [root@oracle Server]# rpm -ivh glibc-common-2.5-42.i386.rpm

    [root@oracle Server]# rpm -ivh libstdc++-4.1.2-46.el5.i386.rpm

    [root@oracle Server]# rpm -ivh libstdc++-devel-4.1.2-46.el5.i386.rpm

    [root@oracle Server]# rpm -ivh make-3.81-3.el5.i386.rpm

    [root@oracle Server]# rpm -ivh pdksh-5.2.14-36.el5.i386.rpm

    [root@oracle Server]# rpm -ivh sysstat-7.0.2-3.el5.i386.rpm

    [root@oracle Server]# rpm -ivh setarch-2.0-1.1.i386.rpm

    3.修改/etc/hosts文件

    [root@oracle ~]# echo "192.168.101.88  oracle.junjie.com" 》/etc/hosts

    4.新建用户和组

    [root@oracle ~]# groupadd dba

    [root@oracle ~]# groupadd oinstall

    [root@oracle ~]# groupadd oper

    [root@oracle ~]# useradd -g oinstall -G dba,oper oracle

    [root@oracle ~]# echo 'zhu.110' |passwd --stdin oracle

    Changing password for user oracle.

    passwd: all authentication tokens updated successfully.

    5.添加文件

    [root@oracle ~]# vim /etc/sysctl.conf

    kernel.shmall = 2097152

    kernel.shmmax = 2147483648

    kernel.shmmni = 4096

    kernel.sem = 250 32000 100 128

    fs.file-max = 65536

    net.ipv4.ip_local_port_range = 1024 65000

    net.core.rmem_default = 1048576

    net.core.rmem_max = 1048576

    net.core.wmem_default = 262144

    net.core.wmem_max = 262144

    [root@oracle ~]# vim /etc/security/limits.conf

    oracle              soft    nproc   2047

    oracle              hard    nproc   16384

    oracle              soft    nofile  1024

    oracle              hard    nofile  65536

    [root@oracle ~]# vim /etc/pam.d/login

    session    required     /lib/security/pam_limits.so

    session    required     pam_limits.so

    [root@oracle ~]# vim /etc/profile

    if [ $USER = "oracle" ]; then

    if [ $SHELL = "/bin/ksh" ]; then

    ulimit -p 16384

    ulimit -n 65536

    else

    ulimit -u 16384 -n 65536

    fi

    fi

    6. 新建文件,修改权限

    [root@oracle ~]# mkdir /u01

    [root@oracle ~]# mkdir -pv /u01/app/oracle

    mkdir: created directory `/u01/app'

    mkdir: created directory `/u01/app/oracle'

    [root@oracle ~]# chown -R oracle:oinstall /u01/app/oracle/

    [root@oracle ~]# chmod -R 775 /u01/app/oracle/

    [root@oracle ~]# mkdir /u01/flash_recovery_area

    [root@oracle ~]# chown oracle:oinstall /u01/flash_recovery_area/

    [root@oracle ~]# chmod 755 /u01/flash_recovery_area/

    二。安装oracle

    2.1.添加以下几行

    [root@oracle ~]# su - oracle

    [oracle@oracle ~]$ vim .bash_profile

    export ORACLE_BASE=/u01/app/oracle

    export ORACLE_HOME=/u01/app/oracle/product/10.2.0

    export ORACLE_SID=xjzhujunjie

    [oracle@oracle ~]$ . .bash_profile

    [oracle@oracle ~]$ env | grep ORA

    ORACLE_SID=xjzhujunjie

    ORACLE_BASE=/u01/app/oracle

    ORACLE_HOME=/u01/app/oracle/product/10.2.0

    2.2更换光盘

    [root@oracle ~]# umount /mnt/cdrom/

    我使用的光盘是:(ora102forlinux.iso)

    [root@oracle ~]# mount /dev/cdrom /mnt/cdrom/

    mount: block device /dev/cdrom is write-protected, mounting read-only

    [root@oracle ~]# ll /mnt/cdrom/

    total 2

    dr-xr-xr-x 1 root root 2048 Jul  2  2005 database

    [root@oracle ~]#

    2.3       测试图形界面($)

    测试图形界面($)出现以下为正常,

    若不成功则:#xhost local:oracle(后到VM中测试)

linux下oracle 10g安装

2.4       测试图形界面($)

linux下oracle 10g安装

2.5 运行以下命令,进行安装

linux下oracle 10g安装

超详细图解安装,如下:

linux下oracle 10g安装

[1] [2] [3] [4] 

linux下oracle 10g安装


linux下oracle 10g安装

Oracle优化的几点经验
Oracle表空间和数据文件管理
Oracle Instant Client的安装和使用
oracle将表名和字段名变为大写
小表缓存到内存简析
ORACLE分组统计
Oracle中的kfed和kfod
Oracle 11g windows备份脚本
oracle远程登录解决办法
oracle 11g的ORA-28001处理

linux下oracle 10g安装编辑推荐

? [安装配置]成功的例子- php oci8 oracle
? [安装配置]在同一台机器上装了双实例,出现的问题
? [安装配置]Oracle启动停止命令
? [备份恢复]Oracle10g的新特性flashback drop
? [备份恢复]Oracle数据库文件恢复与备份思路
? [开发技术]Oracle中表的四种连接方式讲解
? [性能调优]浅谈Oracle性能优化可能出现的问题
? [开发技术]Oracle数据库中表的四种连接方式讲解
? [性能调优]Oracle性能调整的十大要点
? [性能调优]数据库设计规范化的五个要求

linux下oracle 10g安装相关产品和培训

linux下oracle 10g安装文章评论

 友情推荐链接

?Asp源码 PHP源码
?CGI源码 JSP源码
?建站书籍教程
?服务器软件 .net源码
?建站工具软件

?IDC资讯大全
?机房品质万里行
?IDC托管必备知识
?网站推广优化
?全国IDC报价

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Clair Obscur: Expedition 33 - How To Get Perfect Chroma Catalysts
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1677
14
PHP Tutorial
1278
29
C# Tutorial
1257
24
Linux Architecture: Unveiling the 5 Basic Components Linux Architecture: Unveiling the 5 Basic Components Apr 20, 2025 am 12:04 AM

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

Oracle's Role in the Business World Oracle's Role in the Business World Apr 23, 2025 am 12:01 AM

Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.

How to check the warehouse address of git How to check the warehouse address of git Apr 17, 2025 pm 01:54 PM

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

How to run java code in notepad How to run java code in notepad Apr 16, 2025 pm 07:39 PM

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

git software installation git software installation Apr 17, 2025 am 11:57 AM

Installing Git software includes the following steps: Download the installation package and run the installation package to verify the installation configuration Git installation Git Bash (Windows only)

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

MongoDB vs. Oracle: Choosing the Right Database for Your Needs MongoDB vs. Oracle: Choosing the Right Database for Your Needs Apr 22, 2025 am 12:10 AM

MongoDB is suitable for unstructured data and high scalability requirements, while Oracle is suitable for scenarios that require strict data consistency. 1.MongoDB flexibly stores data in different structures, suitable for social media and the Internet of Things. 2. Oracle structured data model ensures data integrity and is suitable for financial transactions. 3.MongoDB scales horizontally through shards, and Oracle scales vertically through RAC. 4.MongoDB has low maintenance costs, while Oracle has high maintenance costs but is fully supported.

How to set important Git configuration global properties How to set important Git configuration global properties Apr 17, 2025 pm 12:21 PM

There are many ways to customize a development environment, but the global Git configuration file is one that is most likely to be used for custom settings such as usernames, emails, preferred text editors, and remote branches. Here are the key things you need to know about global Git configuration files.

See all articles