【Abstract】 objective: to install the 64-bit Oracle10g environment: rhel5.20.bit operating system [STEP]: 1. Install the RHEL operating system, download and upload MEDIA 2. Create a software installation environment 3. Install a dependency package 4. Check and modify system parameters 5. Install Oracle software 6. Create a database instance 1. Install the RHEL operating system, for more information about downloading and uploading the RHEL installation process, see [preface]
Objective: To install 64-bIT Oracle10g
Environment: RHEL 5.2 64-bit Operating System
[STEP ]:
1. Install the RHEL operating system, download and upload the media
2. Create a software installation environment
3. Install the dependency package
4. Check and modify system parameters
5. Install Oracle software
6. Create a database instance
1. Install the RHEL operating system, download and upload the media
For details about the RHEL installation process, refer to my other article. After installing and uploading the media, follow these steps:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> [root @ Fantasy install] # uname-
Linux Fantasy 2.6.18-92. el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[Root @ Fantasy install] # ls-l
Total 783592
-Rw-r -- 1 root 801603584 Oct 14 2009 10201_database_linux_x86_64.cpio
[Root @ Fantasy install] # cpio-idmv 10201_database_linux_x86_64.cpio
After decompression:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> drwxr-xr-x 6 94110 42424 4096 Oct 23 2005 database
-Rw-r -- 1 root 801603584 Oct 14 2009 10201_database_linux_x86_64.cpio
2. Create a software installation environment
2.1 create an Oracle account and directory:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> [root @ Fantasy ~] # Groupadd oinstall
[Root @ Fantasy ~] # Groupadd dba
[Root @ Fantasy ~] # Useradd-g oinstall-G dba oracle
[Root @ Fantasy ~] # Passwd oracle
Changing password for user oracle.
New UNIX password:
Bad password: it is based on a dictionary word
Retype new UNIX password:
Passwd: all authentication tokens updated successfully. [root @ Fantasy opt] # id oracle
Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba)
[Root @ Fantasy ~] # Mkdir-p/opt/oracle/10g/db_1
[Root @ Fantasy ~] # Cd/opt
[Root @ Fantasy opt] # ls-lrt
Total 4
Drwxr-xr-x 3 root 4096 May 15 oracle
[Root @ Fantasy opt] # chown-R oracle: oinstall oracle/
4. Check and modify system parameters
4.1 check the memory and swap partition size. If the memory is greater than 1 GB, swap partition is generally twice the memory
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> [root @ Fantasy/] # grep MemTotal/proc/meminfo
MemTotal: 1027060 kB
[Root @ Fantasy/] # grep SwapTotal/proc/meminfo
SwapTotal: 2097144 kB
[Root @ Fantasy/] #
4.2 modify the kernel parameters, modify the file:/etc/sysctl. conf, and add the following content:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> 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
Run/sbin/sysctl-p to make the modification take effect,
4.3 check whether the/etc/pam. d/login file has the following options (if not, add them ):
Session required/lib/security/pam_limits.so
Pam_limits.so is a PAM (plug-in Authentication module, Pluggable Authentication Modules) in linux ),
The configuration file is/etc/sysctl. conf, which is used to assign User Permissions after logon.
4.4 modify the file/etc/security/limits. conf and add the following content:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
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.