Home > Database > Mysql Tutorial > body text

Linux环境使用TAR命令快速部署安装Oracle

WBOY
Release: 2016-06-07 16:55:37
Original
1104 people have browsed it

Linux环境使用tar命令可以实现快速部署和安装Oracle的目的,当然,前提是您手中已经有了一份被您精心调优后的数据库tar包,此后,

Linux环境使用tar命令可以实现快速部署和安装Oracle的目的,当然,前提是您手中已经有了一份被您精心调优后的数据库tar包,此后,,您就可以使用解tar的方式在其他的服务器上进行快速部署安装了。
下面展现一下这个“快速”的过程(斟酌一下哪些步骤还可以简化?)。

----------------------------------------------------------
1.安装必须的系统包
[root@secDB Server]# cd /media/RHEL_5.3\ x86_64\ DVD/Server/
rpm -ivh setarch-2*
rpm -ivh make-3*
rpm -ivh glibc-2*
rpm -ivh libaio-0*
rpm -ivh compat-libstdc++-33-3*
rpm -ivh compat-gcc-34-3*
rpm -ivh compat-gcc-34-c++-3*
rpm -ivh libXp-1*
rpm -ivh openmotif-2*
rpm -ivh compat-db-4*

----------------------------------------------------------
2.修改sysctl.conf文件并使用“sysctl -p”命令使之生效
# vi /etc/sysctl.conf
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144

# /sbin/sysctl -p

----------------------------------------------------------

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template