Oracle 10g for Linux

Source: Internet
Author: User
Tags dba

1:root User execution: Df-k/tmp
Free space is greater than 400M can

2:cat/etc/issue command to view Linux versions
3:uname-r command to view the kernel

4: Check the relevant packages

The command is: RPM-Q related package

5: Build two groups

/usr/sbin/groupadd Oinstall
/usr/sbin/groupadd DBA

6: Build Users

/USR/SBIN/USERADD-G oinstall-g dba Oracle

7:PASSWD Oracle to set a password for it

8:vi/etc/sysctl.conf (Modify this file) is as follows:

kernel.shm=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=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144

Save exit.

9:/sbin/sysctl-p
Make the changed content effective

10: Execution vi/etc/security/limits.conf
Add the following content:
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536

11: Execution Vi/etc/pam.d/login
Add the following content:
Session required/lib/security/pam_limits.so

12: Execution Vi/etc/profile
Join

if [$USER = "Oracle"];then
if [$SHELL = "/bin/ksh"];then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi

13: Create the installation point as follows:

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

——————-The following are Oracle users ————-
New windows, using Oracle User
Su Oracle
Perform:
CD ~
VI. bash_profile

Add the following:
Umask 022
Temp=/tmp
Tmpdir=/tmp
Export TEMP TMPDIR
Oracle_base=/u01/app/oracle/oracle
Oracle_home=/u01/app/oracle/oracle/product/10.2.0/db_1
Oracle_sid=orcl
Export Oracle_base Oracle_sid Oracle_home
Path=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/oracle/product/10.2.0/db_ 1/bin:/usr/x11r6/bin
Export PATH

Execute command: Make changes effective
source. bash_profile

———————————————

Log in with the Oracle user, enter the unpacked folder, and execute the runinstaller installation command.

When you execute the second script, prompt: Enter the full pathname of the local bin Directory:[/usr/local/bin]: When you enter directly

After the installation is complete, execute in the Oracle user's Terminal: ps-a
If there is a lot of oracle, it means the installation is successful

Lsnrctl Start monitoring (logged in as an Oracle user)
Emctl start Dbconsole start Enterprise Manager

Then download and install SQL plus9.0
cd/u01/app/oracle/product/10.2.0/db_1/bin/

./sqlplus/as SYSDBA


This article is from the "11791340" blog, please be sure to keep this source http://11801340.blog.51cto.com/11791340/1794629

Oracle 10g for Linux

Related Article

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.