红帽6.5oracle11g下载,rhel6.5 oracle11g 安装

系统:rhel6.5 server6 oracle11g

主机名解析 ip地址

因安转oracle需要图形故安装图形化

[

[email protected] ~]# yum groupinstall "X 窗口系统" "KDE 桌面" "桌面"

#根据自己系统是否是英文 yum grouplist 查看

[

[email protected] ~]# yum install pdksh-5.2.14-37.el5_8.1.x86_64.rpm

#系统不带需自行下载

[

[email protected] ~]# yum install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio liaio-devel libgcc libgomp libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC unixODBC-devel pdksh

[

[email protected] ~]# vim /etc/sysctl.conf #初学保持默认即可

[

[email protected] ~]# groupadd -g 500 oinstall

[

[email protected] ~]# groupadd -g 501 dba

[

[email protected] ~]# useradd -g oinstall -G dba oracle

[

[email protected] ~]# echo "redhat" |passwd --stdin oracle

[

[email protected] ~]# mkdir /opt/oracle

[

[email protected] ~]# chown -R oracle:oinstall /opt/oracle/

[

[email protected] ~]# chmod -R 755 /opt/oracle/

[

[email protected] ~]# vim ~oracle/.bash_profile #注意是oracle用户变量

umask 022

export ORACLE_BASE=/opt/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2/db_1

export ORACLE_SID=orcl

export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib

[[email protected] ~]# source ~oracle/.bash_profile

[[email protected] ~]# vim /etc/security/limits.conf #末尾添加

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

oracle hard stack 10240

[[email protected] ~]# vim /etc/profile #末尾添加

if [ $USER = "oracle" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

[[email protected] /]# unzip linux.x64_11gR2_database_1of2.zip

[[email protected] /]# unzip linux.x64_11gR2_database_2of2.zip

[[email protected] /]# cd database/

[[email protected] database]# ls

doc install response rpm runInstaller sshsetup stage welcome.html

进oracle 用户图形化界面:

点击 runlnstaller 进行安装

3cd56b76aa27c7fa9a8f8317c1b23082.png

61e29d1c58bac7b94cde108cce431855.png

d5f5648ac068c2e546326fb3cd353729.png

97b31104303957a5813117801b06a20a.png

6634cde2cb90d53e8e634f550c8ab060.png

7a0f1a2da7f7e41aca3ebbf69ab9200d.png

e2449ec4937186493e5fa400efcf5fe6.png

0a73c9d39b7e0b7677701a2574f71b5b.png

点击ignore all忽略所有就行

d1295bba32beb66dec76f7a839eecd8a.png

9dd77444d4298dffe93cd7ffb1eb132b.png

8351f583d257e415627abfc400cf5734.png

安装完成后,系统会提示你需要用root权限执行2个shell脚本。按照其提示的路径,打开一个新的客户端找到其所在的位置执行就行,记住是用root用户来执行的:

1980a9fa457432d1b49abf72bd3ccaa3.png

1在oracle用户的图形界面oracle用户中,新开启一个终端,输入命令dbca:

bbcc6d09be2040936940da374410b385.png

681ebf367981bf1997290d365c935e9a.png

68d6298e2ed00e6cb6fd33992e6810f4.png

30008e634d0a867f9a48168d84f3d09a.png

a860bbfaf4c3bd5fe96d1b5cccec50d5.png

c0f1d883f9ec36426ea80a72118d9f41.png

086f7f5db32bd4e581481a78d2cb4555.png

efa4ff51ec563e082241cd37881aacd2.png

810c2096fadfdd533c41f803c5e399b4.png

835c5fc5b30a7d965bfb731ba24cc148.png

d3034b252eac5403270dcf654e1e39d6.png

29b925d085f78e748e4beca6f546ef5b.png

配置监听及本地网络服务:

在oracle用户的图形界面oracle用户中,新开启一个终端,输入命令netca:

创建监听服务(这里指充当oracle服务器,让别的oracle客户端连接本oracle服务器)

9ade9345db7c15bb571841f235b49bb2.png

e6c312a63b2fc28f297fcbe91bbd22e9.png

f62be62e6905ea5f3b323753b11dff00.png

97a04f82157f641ab634dd330b0d84ec.png

15a4edc87d7a84a3bf2c5787a08beae2.png

6ff9f7e2ff2ab18598c15e5436341b9d.png

38637becba3c317b232f08335875833d.png

a20b979d13af5435b8888acd391b8042.png

53beacfd66513771a6f8700d8063290f.png

3cfdcb9a9c20c18db133319d651ca1ef.png

c6d1dcd7e6eb632dbe2b8e3c21367ef8.png

25fde5105cb02d0b65f420e614b9badf.png

3b93dace5ce70604635ac5be7fc86ad9.png

fd5be1a2a3c593caabd286285e46f07f.png

点击Change Login输入某个管理员密码点击Canel:

c1b72b6a405d69aaf85f89dbf8c6c4a3.png

bc60c557882b10250e82a595417c2d37.png

75534a8d87859e84a4172de24dbacefb.png

fbd03fe721117b65f4645da6bd2023e2.png

03d42256d290c1df3a16026357a7390f.png

[[email protected] ~]$ sqlplus systemSQL> SQLcreate table student(name varchar(20),age number(3)); SQL> insert into student values(‘Tom‘, 18);SQL> select * from student;SQL> desc student;SQL> exit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值