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--
Description of the function of parameters and options for silently installing oracle database under linux
Https://www.imzcy.cn/1631.html
Description: 1. The operating system version is Redhat6.7, IP: 192.168.56.20, hostname: slient.
two。 The database version is 11.2.0.4
One: check
1. Memory (at least 1G)
Grep MemTotal / proc/meminfo
2.SWAP partition
If the memory is less than 2 gigabytes, the SWAP partition is set to 1.5 times the memory.
If the memory is between 2G and 8G, the SWAP is set to memory size.
If the memory is more than 8 gigabytes, the SWAP is set to 0.75 times the memory size.
View the SWAP partition:
Grep SwapTotal / proc/meminfo
3.TMP space
At least 400m is required
View TMP space
Df-k / tmp
4. View the system patch package
Rpm-Q binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel pdksh libgcc libstdc++ libstdc++-devel libaio libaio-devel make sysstat
Binutils-2.20.51.0.2-5.43.el6.x86_64
Package compat-libcap1 is not installed
Package compat-libstdc++-33 is not installed
Package gcc is not installed
Package gcc-c++ is not installed
Glibc-2.12-1.166.el6.x86_64
Glibc-devel-2.12-1.166.el6.x86_64
Package pdksh is not installed
Libgcc-4.4.7-16.el6.x86_64
Libstdc++-4.4.7-16.el6.x86_64
Package libstdc++-devel is not installed
Libaio-0.3.107-10.el6.x86_64
Package libaio-devel is not installed
Make-3.81-20.el6.x86_64
Sysstat-9.0.4-27.el6.x86_64
Note: pdksh is not installed and can be ignored. Ksh is installed.
Hang it on the CD and install the uninstalled package, as follows:
[root@slient] # df-h
Filesystem Size Used Avail Use% Mounted on
/ dev/sda3 35G 2.9g 31G 9% /
Tmpfs 940M 76K 940M 1% / dev/shm
/ dev/sda1 477M 41m 411m 9% / boot
/ dev/sr0 3.6G 3.6G 0100% / media/RHEL-6.7 Server.x86_64
[root@slient ~] #
[root@slient ~] # cd / mnt
[root@slient mnt] # mount / dev/sr0 / mnt
Mount: block device / dev/sr0 is write-protected, mounting read-only
-- configure the yum source:
Vi yum.repo
[base]
Name=base
Baseurl= file:/// mnt / Server
Enabled=1
Gpgcheck=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[HighAvailability]
Name=HighAvailability
Baseurl= file:/// mnt / HighAvailability
Enabled=1
Gpgcheck=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[ResilientStorage]
Name=ResilientStorage
Baseurl= file:/// mnt / ResilientStorage
Enabled=1
Gpgcheck=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[LoadBalancer]
Name=LoadBalancer
Baseurl= file:/// mnt / LoadBalancer
Enabled=1
Gpgcheck=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-install uninstalled packages:
Yum install-y compat-libcap1*
Yum install-y compat-libstdc++-33*
Yum install-y gcc*
Yum install-y libstdc++-devel*
Yum install-y libaio-devel*
5. Verify that the firewall and selinux are turned off
-View selinux status: sestatus
How to turn off SELinux:
Change the SELINUX= "" in the / etc/selinux/config file to disabled, and then restart.
If you do not want to restart the system, use the command setenforce 0
-View iptables status: service iptables status
Turn off the firewall
1) after restart, it will take effect permanently:
Enable: chkconfig iptables on
Turn off: chkconfig iptables off
2) effective immediately and expire after restart:
Enable: service iptables start
Turn off: service iptables stop
6. Add related users and groups
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
Passwd oracle
7. Modify the configuration file
/ etc/security/limits.conf file, add as follows:
Vi / etc/security/limits.conf
2047 oracle hard nproc
1024 oracle hard nofile
10240's / ^ #. * $/ / g'
Sed-I * .rsp INSTALL_DB_SWONLY
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.