Install Oracle10XE in Linux

Source: Internet
Author: User
Install Oracle10g1 in RedHat5.2. System Requirements: Memory: At least 512 mb, 1 GB recommended; Hard Disk: at least 60 GB server; (generally, the hardware can meet the requirements) Software

Install Oracle 10g1 in RedHat 5.2. System Requirements: Memory: At least 512 mb, 1 GB recommended; Hard Disk: at least 60 GB server; (generally, the hardware can meet the requirements) Software

Install Oracle 10g in RedHat 5.2

1. system requirements:
Memory: At least 512 mb. 1 GB is recommended;
Hard Disk: the server must be at least 60 GB;
(Generally, the hardware meets the requirements)
Software packages: glibc-2.3.2, libaio-0.3.96
Swap space:
RAM: 0 ~ 256 MB, SWAP: 3 times RAM size
RAM: 256 ~ 512 MB, SWAP: 2 times RAM size
RAM:> = 512 MB, SWAP: 1024 MB

Install dependent software packages
Rpm-ivh libaio-0.3.96.i386.rpm
Rpm-ivh glibc-2.3.2.i386.rpm
In fact, to install these two software packages, you need to install other software. I have recorded the specific software in the installed brain;

Create an Oracle group and User Account
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd dba
#/Usr/sbin/useradd-m-g oinstall-G dba oracle
# Id oracle
Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba)
Set the password for the oracle account:
Passwd oracle

Create directory
Run the following command as the root user:
Mkdir-p/u01/app/oracle
Mkdir-p/u02/oradata
Chown-R oracle: oinstall/u01/app/oracle/u02/oradata
Chmod-R 775/u01/app/oracle/u02/oradata

Configure Linux Kernel Parameters
Log on as the root user and run the following command.
Cat>/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
EOF

/Sbin/sysctl-p

Run the following command as the root user to verify the settings:
/Sbin/sysctl-a | grep shm
/Sbin/sysctl-a | grep sem
/Sbin/sysctl-a | grep file-max
/Sbin/sysctl-a | grep ip_local_port_range
Shown as follows:
#/Sbin/sysctl-a | grep shm
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shm-use-bigpages = 0
#/Sbin/sysctl-a | grep sem
Kernel. sem = 250 32000 100 128
#/Sbin/sysctl-a | grep file-max
Fs. file-max = 65536
#/Sbin/sysctl-a | grep ip_local_port_range
Net. ipv4.ip _ local_port_range = 1024 65000

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.