如何获得一个Oracle 23c免费开发者版

获取23c开发者版

简单介绍可参考这里。

获取数据库可以参考这篇文章Introducing Oracle Database 23c Free – Developer Release或这里。

Docker Image

这是最快的方法。在OCI上创建一个计算实例,然后就可以拉取image使用了。

docker的安装和配置不赘述了。

拉取image:

$ docker pull container-registry.oracle.com/database/free
Using default tag: latest
Trying to pull repository container-registry.oracle.com/database/free ...
latest: Pulling from container-registry.oracle.com/database/free
031aed3cb40e: Pull complete
064e6354b87b: Pull complete
e0e26966d0d9: Pull complete
0d1f063a4da2: Pull complete
Digest: sha256:474f570148ef37d1152ccff3361109fb8b92e0eab523cef32efe273e5abcbb94
Status: Downloaded newer image for container-registry.oracle.com/database/free:latest
container-registry.oracle.com/database/free:latest

image大约11G:

$ docker images
REPOSITORY                                    TAG                 IMAGE ID            CREATED             SIZE
container-registry.oracle.com/database/free   latest              d45af382bf76        5 weeks ago         10.6GB

然后启动数据库,第一次时间长点,但感觉比企业版要快很多:

$ docker run container-registry.oracle.com/database/free:latest
Starting Oracle Net Listener.
Oracle Net Listener started.
Starting Oracle Database instance FREE.
Oracle Database instance FREE started.The Oracle base remains unchanged with value /opt/oracle
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
PDB$SEED(2):Opening pdb with Resource Manager plan: DEFAULT_PLAN
FREEPDB1(3):SUPLOG: Initialize PDB SUPLOG SGA, old value 0x0, new value 0x18
FREEPDB1(3):Autotune of undo retention is turned on.
FREEPDB1(3):Undo initialization recovery: Parallel FPTR failed: start:245860668 end:245860669 diff:1 ms (0.0 seconds)
FREEPDB1(3):[162] Successfully onlined Undo Tablespace 2.
FREEPDB1(3):SUPLOG: Set PDB SUPLOG SGA at PDB OPEN, old 0x18, new 0x0 (no suplog)
2023-09-08T09:00:33.615993+00:00
FREEPDB1(3):Opening pdb with Resource Manager plan: DEFAULT_PLAN
Completed: Pluggable database FREEPDB1 opened read write
Completed: ALTER DATABASE OPEN
2023-09-08T09:00:34.918003+00:00
===========================================================
Dumping current patch information
===========================================================
No patches have been applied
===========================================================

正式启动一次:

$ docker run -d --name ORCLCDB container-registry.oracle.com/database/free:latest
8c8facd08dc24261c2b2092ff9ecb2a41189303eaa059e1d2a1034226a6da1db$ docker ps
CONTAINER ID        IMAGE                                                COMMAND                  CREATED             STATUS                             PORTS               NAMES
8c8facd08dc2        container-registry.oracle.com/database/free:latest   "/bin/bash -c $ORACL…"   35 seconds ago      Up 34 seconds (health: starting)   1521/tcp            ORCLCDB$ docker ps
CONTAINER ID        IMAGE                                                COMMAND                  CREATED              STATUS                        PORTS               NAMES
8c8facd08dc2        container-registry.oracle.com/database/free:latest   "/bin/bash -c $ORACL…"   About a minute ago   Up About a minute (healthy)   1521/tcp            ORCLCDB

这一次启动只需不到1分钟:

2023-09-08T09:04:05.032218930Z Starting Oracle Net Listener.
2023-09-08T09:04:05.176991996Z Oracle Net Listener started.
2023-09-08T09:04:05.177014108Z Starting Oracle Database instance FREE.
2023-09-08T09:04:40.229143588Z Oracle Database instance FREE started.
2023-09-08T09:04:40.229164627Z
2023-09-08T09:04:40.273314674Z The Oracle base remains unchanged with value /opt/oracle
2023-09-08T09:04:40.458092335Z #########################
2023-09-08T09:04:40.458114517Z DATABASE IS READY TO USE!
2023-09-08T09:04:40.458119405Z #########################

登录数据库:

$ docker exec -it ORCLCDB sqlplus / as sysdbaSQL*Plus: Release 23.0.0.0.0 - Developer-Release on Fri Sep 8 09:09:14 2023
Version 23.2.0.0.0Copyright (c) 1982, 2023, Oracle.  All rights reserved.Connected to:
Oracle Database 23c Free, Release 23.0.0.0.0 - Developer-Release
Version 23.2.0.0.0SQL> show pdbsCON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------2 PDB$SEED                       READ ONLY  NO3 FREEPDB1                       READ WRITE NO
SQL> exit
Disconnected from Oracle Database 23c Free, Release 23.0.0.0.0 - Developer-Release
Version 23.2.0.0.0

Vagrant Box

如果要离线用,Vagrant Box是一个不错的选择。

简介看这里。

和其它版本的Oracle不同,开发者版不需要预先下载安装介质,其实也没得可下。因此网速就很重要。

安装日志如下:

$ vagrant up
Bringing machine 'oracle23c-free-vagrant' up with 'virtualbox' provider...
==> oracle23c-free-vagrant: Importing base box 'oraclelinux/8'...
==> oracle23c-free-vagrant: Matching MAC address for NAT networking...
==> oracle23c-free-vagrant: Checking if box 'oraclelinux/8' version '8.8.485' is up to date...
==> oracle23c-free-vagrant: Setting the name of the VM: oracle23c-free-vagrant
==> oracle23c-free-vagrant: Clearing any previously set network interfaces...
==> oracle23c-free-vagrant: Preparing network interfaces based on configuration...oracle23c-free-vagrant: Adapter 1: nat
==> oracle23c-free-vagrant: Forwarding ports...oracle23c-free-vagrant: 1522 (guest) => 1522 (host) (adapter 1)oracle23c-free-vagrant: 22 (guest) => 2222 (host) (adapter 1)
==> oracle23c-free-vagrant: Running 'pre-boot' VM customizations...
==> oracle23c-free-vagrant: Booting VM...
==> oracle23c-free-vagrant: Waiting for machine to boot. This may take a few minutes...oracle23c-free-vagrant: SSH address: 127.0.0.1:2222oracle23c-free-vagrant: SSH username: vagrantoracle23c-free-vagrant: SSH auth method: private keyoracle23c-free-vagrant:oracle23c-free-vagrant: Vagrant insecure key detected. Vagrant will automatically replaceoracle23c-free-vagrant: this with a newly generated keypair for better security.
...
==> oracle23c-free-vagrant: Machine booted and ready!
==> oracle23c-free-vagrant: Checking for guest additions in VM...
==> oracle23c-free-vagrant: Setting hostname...
==> oracle23c-free-vagrant: Mounting shared folders...
...oracle23c-free-vagrant: INSTALLER: Started uporacle23c-free-vagrant: Oracle Linux 8 BaseOS Latest (x86_64)           9.1 MB/s |  62 MB     00:06oracle23c-free-vagrant: Oracle Linux 8 Application Stream (x86_64)       10 MB/s |  48 MB     00:04oracle23c-free-vagrant: Latest Unbreakable Enterprise Kernel Release 7  7.5 MB/s |  19 MB     00:02oracle23c-free-vagrant: Last metadata expiration check: 0:00:04 ago on Fri 08 Sep 2023 09:26:17 AM UTC.oracle23c-free-vagrant: Dependencies resolved.oracle23c-free-vagrant: =========================================================================================================oracle23c-free-vagrant:  Package                    Arch    Version                                      Repository          Sizeoracle23c-free-vagrant: =========================================================================================================oracle23c-free-vagrant: Installing:oracle23c-free-vagrant:  kernel-uek-core            x86_64  5.15.0-104.119.4.2.el8uek                    ol8_UEKR7           54 Moracle23c-free-vagrant:  kernel-uek-devel           x86_64  5.15.0-104.119.4.2.el8uek                    ol8_UEKR7           20 Moracle23c-free-vagrant: Upgrading:oracle23c-free-vagrant:  NetworkManager             x86_64  1:1.40.16-4.0.1.el8_8                        ol8_baseos_latest  2.3 Moracle23c-free-vagrant:  NetworkManager-libnm       x86_64  1:1.40.16-4.0.1.el8_8                        ol8_baseos_latest  1.9 Moracle23c-free-vagrant:  binutils                   x86_64  2.30-119.0.2.el8                             ol8_baseos_latest  5.9 M
...oracle23c-free-vagrant: Downloading Packages:oracle23c-free-vagrant: (1/68): grub2-tools-efi-2.02-148.0.3.el8_8.1.x8 465 kB/s | 481 kB     00:01oracle23c-free-vagrant: (2/68): NetworkManager-1.40.16-4.0.1.el8_8.x86_ 2.3 MB/s | 2.3 MB     00:00oracle23c-free-vagrant: (3/68): NetworkManager-libnm-1.40.16-4.0.1.el8_ 6.1 MB/s | 1.9 MB     00:00oracle23c-free-vagrant: (4/68): binutils-2.30-119.0.2.el8.x86_64.rpm    4.0 MB/s | 5.9 MB     00:01oracle23c-free-vagrant: (5/68): kernel-uek-devel-5.15.0-104.119.4.2.el8 4.7 MB/s |  20 MB     00:04
...oracle23c-free-vagrant: Complete!oracle23c-free-vagrant: INSTALLER: System updated
...oracle23c-free-vagrant: Installed:oracle23c-free-vagrant:   oraclelinux-developer-release-el8-1.0-7.el8.x86_64oracle23c-free-vagrant:oracle23c-free-vagrant: Complete!
...oracle23c-free-vagrant: Complete!oracle23c-free-vagrant: INSTALLER: Oracle preinstall and openssl completeoracle23c-free-vagrant: INSTALLER: Environment variables setoracle23c-free-vagrant: INSTALLER: Downloading Oracle Database softwareoracle23c-free-vagrant: Last metadata expiration check: 0:03:36 ago on Fri 08 Sep 2023 05:30:37 PM +08.oracle23c-free-vagrant: Dependencies resolved.oracle23c-free-vagrant: ================================================================================oracle23c-free-vagrant:  Package                       Arch        Version      Repository         Sizeoracle23c-free-vagrant: ================================================================================oracle23c-free-vagrant: Installing:oracle23c-free-vagrant:  oracle-database-free-23c      x86_64      1.0-1        @commandline      1.6 Goracle23c-free-vagrant:oracle23c-free-vagrant: Transaction Summaryoracle23c-free-vagrant: ================================================================================oracle23c-free-vagrant: Install  1 Packageoracle23c-free-vagrant:oracle23c-free-vagrant: Total size: 1.6 Goracle23c-free-vagrant: Installed size: 5.2 Goracle23c-free-vagrant: Downloading Packages:oracle23c-free-vagrant: Running transaction checkoracle23c-free-vagrant: Transaction check succeeded.oracle23c-free-vagrant: Running transaction testoracle23c-free-vagrant: Transaction test succeeded.oracle23c-free-vagrant: Running transactionoracle23c-free-vagrant:   Preparing        :                                                        1/1oracle23c-free-vagrant:   Running scriptlet: oracle-database-free-23c-1.0-1.x86_64                  1/1oracle23c-free-vagrant:   Installing       : oracle-database-free-23c-1.0-1.x86_64                  1/1oracle23c-free-vagrant:   Running scriptlet: oracle-database-free-23c-1.0-1.x86_64                  1/1oracle23c-free-vagrant: [INFO] Executing post installation scripts...oracle23c-free-vagrant: [INFO] Oracle home installed successfully and ready to be configured.oracle23c-free-vagrant: To configure Oracle Database Free, optionally modify the parameters in '/etc/sysconfig/oracle-free-23c.conf' and then run '/etc/init.d/oracle-free-23c configure' as root.oracle23c-free-vagrant:oracle23c-free-vagrant:   Verifying        : oracle-database-free-23c-1.0-1.x86_64                  1/1oracle23c-free-vagrant:oracle23c-free-vagrant: Installed:oracle23c-free-vagrant:   oracle-database-free-23c-1.0-1.x86_64oracle23c-free-vagrant:oracle23c-free-vagrant: Complete!oracle23c-free-vagrant: INSTALLER: Oracle software installedoracle23c-free-vagrant: Configuring Oracle Listener.oracle23c-free-vagrant: Listener configuration succeeded.oracle23c-free-vagrant: Configuring Oracle Database FREE.oracle23c-free-vagrant: Enter SYS user password:oracle23c-free-vagrant: ***************oracle23c-free-vagrant: Enter SYSTEM user password:oracle23c-free-vagrant: **************oracle23c-free-vagrant: Enter PDBADMIN User Password:oracle23c-free-vagrant: ***************oracle23c-free-vagrant: Prepare for db operationoracle23c-free-vagrant: 7% completeoracle23c-free-vagrant: Copying database filesoracle23c-free-vagrant: 29% completeoracle23c-free-vagrant: Creating and starting Oracle instanceoracle23c-free-vagrant: 30% completeoracle23c-free-vagrant: 33% completeoracle23c-free-vagrant: 36% completeoracle23c-free-vagrant: 39% completeoracle23c-free-vagrant: 43% completeoracle23c-free-vagrant: Completing Database Creationoracle23c-free-vagrant: 47% completeoracle23c-free-vagrant: 49% completeoracle23c-free-vagrant: 50% completeoracle23c-free-vagrant: Creating Pluggable Databasesoracle23c-free-vagrant: 54% completeoracle23c-free-vagrant: 71% completeoracle23c-free-vagrant: Executing Post Configuration Actionsoracle23c-free-vagrant: 93% completeoracle23c-free-vagrant: Running Custom Scriptsoracle23c-free-vagrant: 100% completeoracle23c-free-vagrant: Database creation complete. For details check the logfiles at:oracle23c-free-vagrant:  /opt/oracle/cfgtoollogs/dbca/FREE.oracle23c-free-vagrant: Database Information:oracle23c-free-vagrant: Global Database Name:FREEoracle23c-free-vagrant: System Identifier(SID):FREEoracle23c-free-vagrant: Look at the log file "/opt/oracle/cfgtoollogs/dbca/FREE/FREE.log" for further details.oracle23c-free-vagrant:oracle23c-free-vagrant: Connect to Oracle Database using one of the connect strings:oracle23c-free-vagrant:      Pluggable database: localhost.localdomain:1522/FREEPDB1oracle23c-free-vagrant:      Multitenant container database: localhost.localdomain:1522oracle23c-free-vagrant: INSTALLER: Database createdoracle23c-free-vagrant: oracle-free-23c.service is not a native service, redirecting to systemd-sysv-install.oracle23c-free-vagrant: Executing: /usr/lib/systemd/systemd-sysv-install enable oracle-free-23coracle23c-free-vagrant: INSTALLER: Created and enabled oracle-free-23c systemd serviceoracle23c-free-vagrant: INSTALLER: setPassword.sh file set uporacle23c-free-vagrant: INSTALLER: Running user-defined post-setup scriptsoracle23c-free-vagrant: INSTALLER: Done running user-defined post-setup scriptsoracle23c-free-vagrant: ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: uqNAuvC8dPI=1oracle23c-free-vagrant: INSTALLER: Installation complete, database ready to use!

耗时半小时:

real    29m36.329s
user    0m0.015s
sys     0m0.016s

初始安装11.1GB,比企业版小一些。

留个影:
在这里插入图片描述

登录正常:

[oracle@localhost ~]$ sqlplus / as sysdbaSQL*Plus: Release 23.0.0.0.0 - Developer-Release on Fri Sep 8 17:57:12 2023
Version 23.2.0.0.0Copyright (c) 1982, 2023, Oracle.  All rights reserved.Connected to:
Oracle Database 23c Free, Release 23.0.0.0.0 - Developer-Release
Version 23.2.0.0.0SQL> show pdbsCON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------2 PDB$SEED                       READ ONLY  NO3 FREEPDB1                       READ WRITE NO
SQL> exit
Disconnected from Oracle Database 23c Free, Release 23.0.0.0.0 - Developer-Release
Version 23.2.0.0.0

VM Image

需要安装Virtual Box,其实上一个Vagrant Box也是需要的。下载页面见这里。

大小约7G,因为是图形界面的,可能会比Vagrant Box要慢一点点。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/76108.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

html实现邮件模版布局-flex布局table布局-demo

邮件模版布局 flex - 布局简单方便 兼容性差 table - 优点 就是兼容性好&#xff0c;其他没有优点 注&#xff1a;使用图片需要png最好&#xff0c;使用svg图google邮箱会出现不能使用的情况 效果图 flex布局 <!DOCTYPE html> <html lang"en" xmlns:th&qu…

sql server事务隔离别 、 mysql 事务隔离级别、并发性问题

隔离级别和锁 SQL中 mysql 、Oracle 、sql server 等数据库 都是客户端和服务器架构的软件&#xff0c;对于同一个服务器来说&#xff0c;可以有若干个客户端与之连接&#xff0c;每个客户端与服务器连接上之后&#xff0c;就可以称为一个 【会话&#xff08;session&#xff0…

Linkstech多核并行仿真丨光伏发电系统模型及IEEE 39 bus模型多核并行实测

新能源场站和区域电网作为复杂且具有动态特性的大规模电力系统&#xff0c;需要实时仿真测试来验证其性能、稳定性和响应能力。在这种背景下&#xff0c;多核并行仿真运算显得尤为重要。多核并行仿真能够同时处理电力系统的复杂模型&#xff0c;加速仿真过程&#xff0c;实现接…

YOLOV7改进-具有隐式知识学习的Efficient解耦头

[解耦头][https://github.com/z1069614715/objectdetection_script/blob/master/yolo-improve/yolov7-DecoupledHead.py] 1、复制这些到yolo.py 2、到这 3、复制下半部分到yolo.py 4、替换这里 5、最后的加到上面的这里 6、添加 7、添加 8、V5大概一个点的提升 9、解…

Android Jetpack 中Hilt的使用

Hilt 是 Android 的依赖项注入库&#xff0c;可减少在项目中执行手动依赖项注入的样板代码。执行 手动依赖项注入 要求您手动构造每个类及其依赖项&#xff0c;并借助容器重复使用和管理依赖项。 Hilt 通过为项目中的每个 Android 类提供容器并自动管理其生命周期&#xff0c;…

uni-app(微信小程序)图片旋转放缩,文字绘制、海报绘制

总结一下&#xff1a; 要进行海报绘制离不开canvas&#xff0c;我们是先进行图片&#xff0c;文字的拖拽、旋转等操作 最后再对canvas进行绘制&#xff0c;完成海报绘制。 背景区域设置为 position: relative&#xff0c;方便图片在当前区域中拖动等处理。添加图片&#xff0…

基于 Web HID API 的HID透传测试工具(纯前端)

前言 最近在搞HID透传 《STM32 USB使用记录&#xff1a;HID类设备&#xff08;后篇&#xff09;》 。 市面上的各种测试工具都或多或少存在问题&#xff0c;所以就自己写一个工具进行测试。目前来说纯前端方案编写这个工具应该是最方便的&#xff0c;这里放上相关代码。 项目…

数据库实现学生管理系统

1.QT将数据库分为三个层次&#xff1a; 1> 数据库驱动层&#xff1a;QSqlDriver、QSqlDriverCreator、QSqlDriverCreatorBase、QSqlDriverPlugin 2> sql接口层&#xff1a;QSqlDatabase、QSqlQuery、QSqlRecord、QSqlError 3> 用户接口层&#xff1a;提供一些模型QSql…

linux非root安装特定版本的cuda

由于一些代码实现&#xff08;cuda写的外部扩展包&#xff09;对cuda版本要求比较高&#xff0c;因此&#xff0c;我在实验室linux系统下默认的cuda版本上&#xff0c;没办法编译扩展包。需要重新安装特定版本的cuda。 一. 首先&#xff0c;需要查看系统版本&#xff1a; lsb…

LabVIEW利用人工神经网络辅助进行结冰检测

LabVIEW利用人工神经网络辅助进行结冰检测 结冰对各个领域构成重大威胁&#xff0c;包括但不限于航空航天和风力涡轮机行业。在起飞过程中&#xff0c;飞机机翼上轻微积冰会导致升力降低25%。研究报告称&#xff0c;涡轮叶片上的冰堆积可在19个月的运行时间内造成29MWh的功率损…

【微服务部署】四、Jenkins一键打包部署NodeJS(Vue)前端项目步骤详解

本文介绍使用Jenkins一键将NodeJS&#xff08;Vue&#xff09;前端项目打包并上传到生产环境服务器&#xff0c;这里使用的是直接打包静态页面&#xff0c;发送到远程服务器Nginx配置目录的方式&#xff0c;首先确保服务器环境配置好&#xff0c;安装Nginx&#xff0c;运行目录…

解决Ubuntu无法安装pycairo和PyGObject

环境&#xff1a;虚拟机Ubuntu20.04&#xff0c;vscode无法安装pycairo和PyGObject 虚拟机Ubuntu20.04&#xff0c;vscode中运行Anaconda搭建的vens 的Python3.8.10 首先在vscode中点击ctrlshiftp&#xff0c;选择Python3.8.10的环境&#xff0c;自动激活Python 最近在搞无人…

第 362 场 LeetCode 周赛题解

A 与车相交的点 数据范围小直接暴力枚举 class Solution { public:int numberOfPoints(vector <vector<int>> &nums) {unordered_set<int> vis;for (auto &p: nums)for (int i p[0]; i < p[1]; i)vis.insert(i);return vis.size();} };B 判断能否…

普中 51 单片机点亮LED灯

普中 51 单片机 &#xff08;STC89C52RC&#xff09; LED / IO 将LED1进行闪烁操作 为啥要进行延时操作&#xff1f;依据人的肉眼余晖效应&#xff0c; 延时时间不能太短&#xff0c;否则就无法观察到 LED 闪烁 #include "reg52.h" typedef unsigned int u16; //对…

React中父子组件参数传递讲解

文章目录 结合案例&#xff1a;github搜索案例1.父容器代码2.搜索Search子模块代码3.展示Lisi子模块代码 父子参数传递分析1.子(Search)传父(App)2.父(App)传子(List) 结合案例&#xff1a;github搜索案例 案例结果展示如下图 1.父容器代码 import React, { Component } fr…

【GO语言基础】前言

系列文章目录 【Go语言学习】ide安装与配置 【GO语言基础】前言 【GO语言基础】变量常量 【GO语言基础】数据类型 文章目录 系列文章目录一、基础知识包和函数函数声明语法简洁性 括号成对出现GO常用DOS命令命名规则项目目录结构注释 总结 一、基础知识 包和函数 //声明本代…

Python中使用item()方法遍历字典的例子

前言 嗨喽&#xff0c;大家好呀~这里是爱看美女的茜茜呐 这篇文章主要介绍了Python中使用item()方法遍历字典的例子, for…in这种是Python中最常用的遍历字典的方法了,需要的朋友可以参考下 Python字典的遍历方法有好几种&#xff0c;其中一种是for…in&#xff0c;这个我就…

记录docker 部署nessus

1、开启容器 docker run -itd --nameramisec_nessus -p 8834:8834 ramisec/nessus 2、登录 &#xff1a;注意是https https://ip8843 3、修改admin密码 #进入容器 docker exec -it ramisec_nessus /bin/bash#列出用户名 /opt/nessus/sbin/nessuscli lsuser#修改密码&a…

sqlserver union和union all 的区别

1.首先在数据库编辑1-40数字&#xff1b; 2.查询Num<30的数据&#xff0c;查询Num>20 and Num<40的数据&#xff0c;使用union all合并&#xff1b; 发现30-20的数字重复了&#xff0c;可见union all 不去重&#xff1b; 3.查询Num<30的数据&#xff0c;查询Num…

Promise 解决 Vue 中父子组件的加载问题!

前言 关于Promie我这里就不多解释了&#xff0c;不懂得可以看看官方文档。下面文章重点介绍项目中遇到的问题解决方法。 需求 组件b初始化某个用到的库&#xff0c;只有在初始化完成后才能调用其API&#xff0c;不然会报错。a页面负责调用。 // a.vue <template><d…