In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Installation environment: RHEL 6.4x86x64
Oracle 11.2.0.1 R2
System requirements:
Memory: > 1G
Swap space: generally twice the size of memory (memory size * 2)
Hard disk: more than 5G
Check command
Memory
# grep MenTotal / proc/meminfo
Swap space
# grep SwapTotal / proc/meminfo
Hard disk space
# df-ah
Install dependent packages
Check: rpm-qa | package under grep
Binutils
Compat-libstdc++-33
Elfutils-libelf
Elfutils-libelf-devel
Elfutils-libelf-devel-static
Gcc
Gcc-c++
Glibc
Glibc-common
Glibc-devel
Glibc-headers
Kernel-headers
Ksh
Libaio
Libaio-devel
Libgcc
Libgomp
Libstdc++
Libstdc++-devel
Make
Sysstat
UnixODBC
UnixODBC-devel
Create Oracle users and groups
Create Oracle installation group oinstall, database administrator group, Oracle user oracle
# / usr/sbin/groupadd oinstall
# / usr/sbin/groupadd dba
# / usr/sbin/useradd-g oinstall-G dba oracle (primary group oinstall, other groups: dba)
# passwd oracle
Modify kernel parameters
Modify the / etc/sysctl.conf file by adding the following parameters
Fs.aio-max-nr = 1048576
Fs.file-max = 6815744
Kernel.shmall = 2097152
Kernel.shmmax = 536870912
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 262144
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048586
Execute the following command to make the modified parameters take effect (no reboot)
# sysctl-p
Modify user restrictions
Modify the / etc/security/limits.conf file by adding the following parameters
Oracle soft nproc 2047
Oracle hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Modify user authentication options
Modify the / etc/pam.d/login file by adding the following parameters
Session required pam_limits.so
Modify user profile
Modify the / etc/profile file to add the following parameters
If [$USER = "oracle"]; then
If [$SHELL = "/ bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Create an installation directory
# mkdir-p / u01/oraInventory
# chown-R oracle:oinstall / u01 /
# chmod-R 775 / u01 /
Modify user bash shell
$vi .bash _ profile
Add the following
Export ORACLE_BASE=/u01
Export ORACLE_HOME=$ORACLE_BASE/oracle
Export ORACLE_SID=oracleSid
Export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
Execute after completion
# su-oracle
# env | grep ORA to check whether the user's oracle environment variable is completed
Log out of root users and log in to oracle users
Note: this is very important, root user installation will report an error, must be installed with oracle user
Install Oracle 11g
Upload the installation package and decompress it
# unzip linux.x64_11gR2_database_1of2.zip
# unzip linux.x64_11gR2_database_1of2.zip
#. / runInstaller
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
R download https://cran.r-project.org/Rstudio download https://www.rstudio.com/
© 2024 shulou.com SLNews company. All rights reserved.