In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Install the software packages required by oracle (according to the official oracle documentation)
Can be used
# yum-y install binutils* compat-lib* gcc-* glibc-* ksh libgcc-* libstdc++-* libaio-* make-* sysstat*
For installation.
Create user groups and users (root)
# groupadd oinstall# groupadd dba# useradd-g oinstall-G dba oracle# passwd oracle
Configure linux kernel parameters (root)
# vi / etc/sysctl.conf... Fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2147483648kernel.shmmax = 68719476736kernel.shmmni = 4096kernel.sem = 25032000100 128net.ipv4.ip_local_port_range = 900065500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586...#sysctl-p
4. Modify user parameters (root)
# vi / etc/security/limits.conf...oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536...
5. Create a directory
Mkdir-p / u01/app/
Chown-R oracle:oinstall / u01/app/
Chmod-R 775 / u01/app/
VI. Setting environment variables
Vi .bash _ profileexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/11.2/db_1export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/jdk/bin:$PATHexport ORACLE_SID=testexport LANG= "en_US.UTF-8" export NLS_LANG=american_AMERICA.UTF8export NLS_DATE_FORMAT= "YYYY-MM-DD HH24:MI:SS"
VII. Decompression
# unzip linux.x64_11gR2_database_1of2.zip # unzip linux.x64_11gR2_database_2of2.zip
Eighth, cut to the oracle user, install, will report an error Could not execute auto check for display colors using command / usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed
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
© 2024 shulou.com SLNews company. All rights reserved.