In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
I was busy at the end of the year. I haven't written a technical blog for a long time. Take advantage of my spare time to simply write some deployment notes.
As the company is used to using oracle10.0.5, deployment to customers also requires the use of this old version, but the installation package is not easy to find
Oracle 10g installation on centos6.5:
# vim / etc/hosts must modify the corresponding host name of ip
# zcat 10gxxx.cpio.gz | cpio-idmv decompress the oracle10g package of cpio.gz
# yum-y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat libXp* libXt* libXtst* libXp.i686 libXt.i686 libXtst.i686-- setopt=protected_multilib=false
# vim / etc/sysctl.conf
Kernel.shmmax = 68719476736 already exists, defining the maximum size of the shared memory segment in bytes. The default is 64g, depending on the memory. Kernel.shmall = 4294967296 already exists, indicating the total amount of shared memory (in pages) that the system can use at a time. The default value is 4G and usually does not need to be modified. Kernel.shmmni = 4096 is used to set the maximum number of system-wide shared memory segments. The default value for this parameter is 4096. There is usually no need to change. Kernel.sem = 32000 32000 128 indicates set semaphore net.ipv4.ip_local_port_range = 1024 65000 allowed port range net.core.rmem_default = 4194304 default receive window size net.core.rmem_max = 4194304 maximum size of receive window net.core.wmem _ default = 262144 default send window size net.core.wmem_max = 262144 The maximum size of the sending window vm.hugetlb _ shm_group = 501, where 501 is the dba group number It needs to be changed according to your actual situation.
# sysctl-p to make the configuration effective
# vim / etc/security/limits.conf set system resource limit, newly added
Oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536
# vim / etc/pam.d/login pam safe release, newly added
Session required / lib/security/pam_limits.sosession required pam_limits.so
# groupadd oinstall
# groupadd dba
# useradd-g oinstall-G dba oracle
# groupadd opar this user is not required to establish
# passwd oracle
# vim / etc/profile restricts the use of other users, newly added
If [$USER = "oracle"]; thenif [$SHELL = "/ bin/ksh"]; thenulimit-p 16384ulimit-n 65536elseulimit-u 16384-n 65536fifi
# vim / etc/redhat-release modifies the system label because 10g is too old to recognize 6.5g
Red Hat Enterprise Linux Server release 4 (Tikanga)
# mkdir-p / data/oracle creates an installation directory. It is best to separate the data and the oracle software disk to improve efficiency.
# chown-R oracle:oinstall / data/oracle changed to main and generic groups
# chmod-R 775 / data/oracle
# vim / home/oracle/.bash_profile configuration environment variables
# Oracle Settingsexport TMP=/tmp;export TMPDIR=$TMP;export ORACLE_BASE=/data/oracle;export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;export ORACLE_SID=orcl;export ORACLE_TERM=xterm;export PATH=/usr/sbin:$PATH;export PATH=$ORACLE_HOME/bin:$PATH;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
# source / home/oracle/.bash_profile to make the configuration effective
# mv / root/database / data/oracle/
# chown-R oracle:oinstall / data/oracle/database
Log in with an oracle user and remember to turn on X11 forwarding in xshell. If it is a ssh jumped from the jumping machine, add-X to open a window to forward it.
$export LC_ALL=en_US.UTF-8 sets the window to English
$export DISPLAY=localhost:10.0 has x11 forwarding port, and the corresponding xming creation number should be consistent.
$xhost + allows X11 access, without unable
Then open xming in windows and set the window number of 10
$/ u01/app/oracle/database/runInstaller logs in directly with the oracle user. If the window is slow, delete the oracle folder under / tmp.
Then it will jump out of the graphical installation window, and all that is left is a click of the mouse, which has no technical content.
After starting the installation, the progress bar will jump out of the collector emdb when the progress bar is about 83%. This has no effect, just click continue.
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.