In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Oracle11g installation environment preparation
Using OEL6.5 x64 installation, the installation process is the same as Redhat, the installation process selects the desktop, development package, development library, and other default options.
Desktops > X Window System
Development > Additional Development
Development > Development Tools
After installation:
(1) close selinux
(2) close iptables
(3) restart
two。 Start installing the base package (put it into the CD, Or mount the ISO file) mount / dev/cdrom / mnt cd / mnt/cdrom/Server/Packages rpm-Uvh binutils-2*x86_64* rpm-Uvh glibc-2*x86_64* nss-softokn-freebl-3*x86_64* rpm-Uvh glibc-2*i686* nss-softokn-freebl-3*i686* rpm-Uvh compat-libstdc++-33*x86_64* rpm-Uvh glibc-common-2*x86_64* rpm-Uvh glibc-devel -2 "x86" 64 * rpm-Uvh glibc-devel-2*i686* rpm-Uvh glibc-headers-2*x86_64* rpm-Uvh elfutils-libelf-0*x86_64* rpm-Uvh elfutils-libelf-devel-0*x86_64* rpm-Uvh gcc-4*x86_64* rpm-Uvh gcc-c++-4*x86_64* rpm-Uvh ksh-*x86_64* rpm-Uvh libaio-0*x86_64* Rpm-Uvh libaio-devel-0*x86_64* rpm-Uvh libaio-0*i686* rpm-Uvh libaio-devel-0*i686* rpm-Uvh libgcc-4*x86_64* rpm-Uvh libgcc-4*i686* rpm-Uvh libstdc++-4*x86_64* rpm-Uvh libstdc++-4*i686* rpm-Uvh libstdc++-devel-4*x86_64* rpm-Uvh make-3.81*x86_64* rpm -Uvh numactl-devel-2*x86_64* rpm-Uvh sysstat-9*x86_64* rpm-Uvh compat-libstdc++-33*i686* rpm-Uvh compat-libcap* (1) confirm the installation of the following package # rpm-Q binutils compat-libstdc++-33 compat-gcc-34-c++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel make sysstat numactl-devel unixODBC unixODBC-devel openmotif22 openmotif compat-db libXp
Binutils-2.20.51.0.2-5.36.el6.x86_64
Compat-libstdc++-33-3.2.3-69.el6.x86_64
Compat-libstdc++-33-3.2.3-69.el6.i686
Package compat-gcc-34-c++ is not installed
Elfutils-libelf-0.152-1.el6.x86_64
Elfutils-libelf-devel-0.152-1.el6.x86_64
Gcc-4.4.7-4.el6.x86_64
Gcc-c++-4.4.7-4.el6.x86_64
Glibc-2.12-1.132.el6.x86_64
Glibc-2.12-1.132.el6.i686
Glibc-common-2.12-1.132.el6.x86_64
Glibc-devel-2.12-1.132.el6.x86_64
Glibc-devel-2.12-1.132.el6.i686
Glibc-headers-2.12-1.132.el6.x86_64
Kernel-headers-2.6.32-431.el6.x86_64
Ksh-20120801-10.el6.x86_64
Libaio-0.3.107-10.el6.x86_64
Libaio-0.3.107-10.el6.i686
Libaio-devel-0.3.107-10.el6.x86_64
Libaio-devel-0.3.107-10.el6.i686
Libgcc-4.4.7-4.el6.x86_64
Libgcc-4.4.7-4.el6.i686
Libgomp-4.4.7-4.el6.x86_64
Libstdc++-4.4.7-4.el6.x86_64
Libstdc++-4.4.7-4.el6.i686
Libstdc++-devel-4.4.7-4.el6.x86_64
Make-3.81-20.el6.x86_64
Sysstat-9.0.4-22.el6.x86_64
Numactl-devel-2.0.7-8.el6.x86_64
Package unixODBC is not installed
Package unixODBC-devel is not installed
Package openmotif22 is not installed
Package openmotif is not installed
Package compat-db is not installed
Package libXp is not installed
(2) install the related package # rpm-ivh compat-db-4.6.21-15.el6.x86_64.rpm compat-db42-4.2.52-15.el6.x86_64.rpm compat-db43-4.3.29-15.el6.x86_64.rpm # rpm-ivh compat-gcc-34-c++-3.4.6-19.el6.x86_64.rpm compat-gcc-34- 3.4.6-19.el6.x86_64.rpm # rpm-ivh unixODBC-2.2.14-12.el6_3.x86_64.rpm unixODBC-devel-2.2.14-12.el6_3.x86_64.rpm # rpm-ivh openmotif-2.3.3-6.1.el6_4.x86_64.rpm openmotif22-2.2.3-19.el6.x86_64.rpm libXp-1.0.0-15.1.el6.x86_64.rpm (3) replace the sqlplus tool
# wget http://utopia.knoware.nl/~hlub/uck/rlwrap/rlwrap-0.37.tar.gz
# tar zxvf rlwrap-0.37.tar.gz
# cd rlwrap-0.36
#. / configure
# make
# make check
# make install
3. Create oracle installation related user groups and user accounts 1) create oinstall,dba groups and oracle users (with root identity)
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
Passwd oracle
2) create an Oralce HOME directory
Mkdir-p / u01/app/oracle/product/11.2.0/db_1
Chmod-R 775 / u01/app
Chown-R oracle:oinstall / U01
4. Modify kernel support
# vi / etc/sysctl.conf
Fs.aio-max-nr = 1048576
Fs.file-max = 6815744
Kernel.shmall = 2097152
Kernel.shmmax = 2147483648
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 4194304
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048586
# sysctl-p
Kernel parameter configuration description:
Kernel.shmall = 2097152 # the total number of pages of shared memory available to the system. The default is 2097152.
Kernel.shmmax = 2147483648 # the maximum value of a single shared memory segment in bytes, in this case 2GB.
Kernel.shmmni = 4096 # maximum default number of shared memory segments
5. Modify file descriptor
Cat > > / etc/security/limits.conf > / etc/pam.d/login > / etc/profile > / home/oracle/.bash_profile > / etc/rc.local
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: 240
*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.