共计 5826 个字符,预计需要花费 15 分钟才能阅读完成。
本篇内容主要讲解“ORALCLEE 安装和部署的详细过程”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让丸趣 TV 小编来带大家学习“ORALCLEE 安装和部署的详细过程”吧!
一、前期:
关闭 iptables 和 selinux
1 1、操作系统:
[root@localhost ~]# uname -r
2.6.32-279.el6.x86_64
Hanzheng
2
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3
(Santiago)
2、数据库 软件:
10201_database_linux_x86_64.cpio.gz
二、准备:
1 1、解包:
[root@localhost Desktop]# mv
10201_database_linux_x86_64.cpio.gz /
[root@localhost Desktop]# cd /
[root@localhost /]# gunzip
10201_database_linux_x86_64.cpio.gz
[root@localhost /]# cpio -idmv
10201_database_linux_x86_64.cpio
2、O O racleg 10g 对 平台 的要求
[root@localhost install]# cd /database/install/
[root@localhost install]# grep Linux= oraparam.ini
Hanzheng
3
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,as
ianux-2
3、O O racleg 10g 对 空间 要求
[root@localhost install]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 29G 13G 15G 46% /
tmpfs 1000M 100K 1000M 1% /dev/shm
/dev/sda1 194M 32M 153M 18% /boot
/dev/sr0 3.5G 3.5G 0 100% /media/RHEL_6.3
x86_64 Disc 1
4 4、O O racleg 10g 对 内存 要求
[root@localhost install]# free -m
total used free shared
buffers cached
Mem: 1998 1920 78 0
23 1591
-/+ buffers/cache: 306 1692
Swap: 1999 0 1999
Hanzheng
4
5、依赖包 检查
[root@localhost install]#
for i in binutils compat-gcc-34 compat-libstdc++-296
control-center \
gcc gcc-c++ glibc glibc-common glibc-devel libaio
libgcc \
libstdc++ libstdc++-devel libXp make openmotif22
setarch
do
rpm -q $i /dev/null || F= $F $i
done ;echo $F;unset F
输出缺少的包:
compat-gcc-34 compat-libstdc++-296 openmotif22 setarch
[root@localhost install]# yum -y install compat-gcc-34
compat-libstdc++-296 openmotif22 setarch
# setarch 这个包在 rhel6 没有了,因此不用理会
Yum 的简单配置如下:
Hanzheng
5
[root@localhost ~]# cat /etc/yum.repos.d/rhel-source.repo
[han-server]
name=server
baseurl=file:///mnt
enabled=1
gpgcheck=0
6 6、主机名和 和 P IP 的 规划
[root@localhost install]# hostname oracle.com
[root@localhost install]# vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=oracle.com
[root@localhost install]# ifconfig | grep inet
inet addr:192.168.1.250 Bcast:192.168.1.255
Mask:255.255.255.0
inet addr:127.0.0.1 Mask:255.0.0.0
Hanzheng
6
[root@localhost install]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.1.250 oracle.com
7、操作系统资源限制
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
[root@localhost install]# vim /etc/sysctl.conf
Hanzheng
7
[root@localhost install]# sysctl -p
8、用户 创建
[root@localhost install]# groupadd -g 1000 dba
[root@localhost install]# groupadd -g 1001 oinstall
[root@localhost install]# useradd -u 1001 -g oinstall -G dba
oracle
[root@localhost install]# echo oracle | passwd –stdin
oracle
Changing password for user oracle.
passwd: all authentication tokens updated successfully.
9、用户 变量设置
[root@localhost install]# vim /home/oracle/.bash_profile
export ORACLE_BASE=/u01/oracle
Hanzheng
8
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export ORACLE_SID=ora10g
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
[root@localhost install]# source /home/oracle/.bash_profile
10、创建 必要 目录
[root@localhost install]# mkdir -p /u01/oracle
[root@localhost install]# chown oracle:oinstall -R /u01/
11、用户 资源 限制
[root@localhost install]# vim /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
三、开始安装:
[root@localhost install]# chown oracle:oinstall -R
Hanzheng
9
/database/
[root@localhost /]# su – oracle
[oracle@oracle ~]$ /database/runInstaller
1 1、图形安装 软件
Xstart 远程调用图形
Hanzheng
10
Hanzheng
11
Hanzheng
12
相关笔记如下:
—–
10.2.0.1
12c 11g 10g 9i
10.1 10.2.0.1 10.2.0.5
11.2.0.4
12.2.0.1
12.1 12.2
9.1 9.2
.gz
.zip
www.oracle.com —- 注册帐号 —- hanzheng@163.com
language–
download—11g2
ocp 8000 选择题 答案 051 052 053 1000
ocm 35000 操作题 答案
10g————linux 5 ———- linux 6
包 .cpio 解压格式
cpio -idmv 10201_database_linux_x86_64.cpio
——————————————————————————-
1—iptable selinux
[root@localhost H-oracle]# iptables -F
[root@localhost H-oracle]# service iptables save
[root@localhost H-oracle]# service iptables stop
[root@localhost H-oracle]# chkconfig iptables off
[root@localhost H-oracle]# getenforce
Permissive —disabled
Enforcing
[root@localhost H-oracle]# setenforce 0
[root@localhost H-oracle]# vim /etc/selinux/config
—SELINUX=disabled
2—IP 必须静态
[root@localhost H-oracle]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE= eth0
—BOOTPROTO= static
HWADDR= 00:0C:29:28:EB:F6
NM_CONTROLLED= yes
—- gt
TYPE= Ethernet
UUID= 72c450f9-0760-4f24-8968-3f113c5ae301
—IPADDR=172.16.100.251
—NETMASK=255.255.255.0
—GATEWAY=172.16.100.254
[root@localhost H-oracle]# service network restart
3— 主机名字
[root@localhost H-oracle]# hostname han
[root@localhost H-oracle]# vim /etc/sysconfig/network
[root@localhost H-oracle]# cat /etc/sysconfig/network
NETWORKING=yes
—HOSTNAME=han
4 – ip 和 主机名绑定
root@localhost H-oracle]# vim /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
—172.16.100.251 han
5–YUM
[rhel6]
name=wudong
baseurl=file:///mnt
enabled=1
gpgcheck=0
~
[root@han yum.repos.d]# yum clean al
[root@han yum.repos.d]# yum repolist
=====================================================================================
Oracle Linux —
l
———————-
(1)硬件检查
mem swap /tmp
(2)软件
yum
(3)创建用户 组
oinstall
dba
oper
oracle
nobody
(4)内核参数
/etc/sysctl.conf
sysctl -p
(5)shell
soft hard
/etc/security/limits.conf
(6)创建目录
mkdir -p /u01/app/oracle
chown oracle:oinstall -R /u01/app/oracle
chmod 775 -R /u01
第一版本那年发布的?
9i 10g 12c
第一员工是谁?
scott tiger
11g 哪一年出来的
10G —- support.oracle.com
ORACLE_BASE /haha
ORACLE_HOME /haha/wuwu
ORACLE_SID ora10g
qq cf lol dnf
d:\tencent\QQ
d:\tencent\CF
d:\tencent\lol
到此,相信大家对“ORALCLEE 安装和部署的详细过程”有了更深的了解,不妨来实际操作一番吧!这里是丸趣 TV 网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!