CentOS4.4 install Oracle10g to create an account and configure Linux Kernel Parameters

Source: Internet
Author: User
We recommend a very good CentOS4.4 installation of the oracle10g system, which is of great learning value. Here I will mainly explain how to install the oracle10g system, including how to install orac

We recommend a very good CentOS 4.4 installation of the oracle 10g system, which is of great learning value. Here I will mainly explain how to install the oracle 10g system, including introducing the installation of orac

We recommend a very good CentOS 4.4 installation of the Oracle 10g system, which is of great learning value. Here I will mainly explain the application of installing the oracle 10g system, including introduction to installing the oracle 10g knowledge. CentOS4.4 install oracle 10g R2 note installation memory and hard disk space requirements memory 512 MB, SWAP1GB, Oracle 10g2. 5G, database 1.2 GB, tmp400M.

1. Create an oracle 10g group and User Account
Usrsbingroupadd oinstall
Usrsbingroupadd dba
Usrsbinuseradd-m-g oinstall-G dba oracle
Id oracle
Passwd oracle

2. Create a directory (as needed)
Mkdir-p personu01apporacle
Mkdir-p personu02oradata
Chown-R oracleoinstall personu01apporacle personu02oradata
Chmod-R 775 personu01apporacle personu02oradata

3. Configure Linux Kernel Parameters for oracle 10 GB
Vi etcsysctl. conf # Add or modify
# Add for oraclekernel. shmall = 2097152kernel. shmmax = 2147483648kernel. shmmni = 4096
# Semaphores semmsl, semmns, semopm, semmnikernel. sem = 250 32000 100 1024 128fs. file-max = 65536net. ipv4.ip _ local_port_range = 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Sbinsysctl-p

4. oracle 10 Gb user environment variables
Su-oraclevi. bash_profile, add
Export ORACLE_BASE = personu01apporacle
Export ORACLE_HOME = personu01apporacleproduct10.2.0
Export ORACLE_SID = orcl
Export PATH = $ PATH $ ORACLE_HOMEbin
Bash_profile

5. oracle 10g Software Download
1). Go to xWindows
2) In addition, if the Linux version is incorrect, you also need to modify cat etcRedHat-release. The following provides an available reference.
Red Hat Enterprise Linux AS release 3 (Taroon) # note that 10gR2 supports AS4
3). Download the software
Open the http download software,

6. oracle 10g Software Installation
Oracle 10g software decompress the relevant compressed package, cd .. runInstaller # If the Xlib connection to 0.0 refused by server error occurs, run xhost +. If it is not locally installed, you may also need to specify DISPLAY = IP0.0 & export DISPLAY according to instructions during installation. When selecting a character set, you can select Unicode standard UTF-8 al32utf8 and Create database with sample schemas; in addition, in the Specify database schema passwords field, select Use the same password for all the accounts (as needed) # In the case of usrliblibstdc ++. so.5 No such file or directory error, you can install compat-libstdcxxx.rpm

7. oracle 10 Gb database creation
# Dbac follow the prompts to operate. In addition, in the Database file localtions, select the second item, specify the folder location, select Enable Archiving in the next dialog box, and select
Select Sample Schemas

8. Start Enterprise Manager dbconsole
Emctl start dbconsole # start emctl status dbconsole # view the status # If the error message is displayed, the following command is run. personu01apporacleproduct10.1.0db _ 1oc4jj2eeOC4J_DBConsole_localhost.localdomain_orcl10g not found. # Make sure that the ORACLE_SID variable used for installation is the same as that used for system ORACLE_SID. bash_profile has already been set to enable httpip5500emusersystempassword before installation. # use IE to log on to 10 Gb em in windows. The button is a box like a mouth. # solution: Open IE, select Tools-Internet option-general, select language, only Chinese by default, select Add, join English (United States) , Adjust the order and move "English (U.S.)" to the top. Open httpip1158em again.

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.