完整步骤:https://blog.csdn.net/wushuoyouting/article/details/117200461
1、环境准备
1)centos7图形化界面(预留60G空间,1G内存,联网)
2)oracle安装包
3)字体
2、配置yum源(oracle和阿里源)
修改/etc/sysconfig/network-scripts/ifctf-ens33文件中的
BOOTPROTO=static
ONBOOT=yes
IPADDR=
GATEWAY=(查看虚拟机的“编辑”里面的“虚拟网络编辑器”中查看)
DNS1=跟GATEWAY一致
oracle数据源:
https://public-yum.oracle.com/getting-started.html#installing-software-from-oracle-linux-yum-server
阿里源:
curl -o epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
curl -o base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
第二部分:
安装先导文件:yum -y install oracle-rdbms-server-11gR2-preinstall.x86_64
启动监听:lsnrctl start
启动已经安装的数据库orcl。
操作用户oracle
启动监听,才能进行远程连接
[oracle@localhost ~]# lsnrctl start
启动数据库过程如下:
[oracle@localhost ~]# sqlplus /nolog
使用dba权限连接Oralce
SQL> connect / as sysdba
启动数据库
SQL> startup
确认启动结果:
ORACLE instance started.
Total System Global Area 534462464 bytes
Fixed Size 2215064 bytes
Variable Size 373293928 bytes
Database Buffers 150994944 bytes
Redo Buffers 7958528 bytes
Database mounted.
Database opened.
————————————————
版权声明:本文为CSDN博主「「已注销」」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wushuoyouting/article/details/117200461